SAP Knowledge Base Article - Public

2666369 - Outgoing Check Form Template for United Kingdom Displays Dollars Instead of Pounds

Symptom

The Outgoing Check Form Template for United Kingdom Displays Dollars Instead of Pounds.

Environment

SAP Business ByDesign 1808

Reproducing the Issue

  1. Go to the Payment Management work center.
  2. Go to the Payment Monitor view.
  3. Search for an Outgoing Check for which system is using form template for country United Kingdom and language English.
  4. Open the Outgoing Check.
  5. Click View All.
  6. Click Preview > Check.
  7. In the PDF Preview, notice that system displays the outgoing check amount written in dollars, the dollar symbol $ and the word DOLLARS at the end of the written amount, even though the outgoing check currency is GBP (Pound sterling).

Cause

The default Outgoing Check Form Template for United Kingdom and language English was designed to use currency Dollar.

Resolution

You can edit the default Outgoing Check Form Template in Adobe LiveCycle Designer to substitute the dollar written amount, the dollar symbol $ and the word DOLALRS by Pounds.

  1. Download the default Outgoing Check form template for country United Kingdom and language English.
  2. Open the .xdp file in Adobe LiveCycle Designer.
  3. In the Design View tab, notice that dollar symbol ($) and DOLLARS field are text fields. Here you can opt to replace them by pound symbol (£) and word POUNDS, or even delete both text fields.
  4. Double-click the text box which is right below text field PAY TO THE ORDER OF
  5. Make sure that Script Editor is ticked in Window tab
  6. In the Script Editor, Show Events with Scripts
  7. Replace the current script by the below script:

FormChequeIssueRequest.bdyCheckStock.txtAmountInText::ready:form - (FormCalc, client)

// change to amount in text and remove "Dollars"

var NumInTextDollar = WordNum(decCheckAmount.rawValue,1)

var NumInText = Replace(NumInTextDollar, "Dollars")

//lower the initial character

var NumInText1 = Concat(Left(NumInText,1), Lower(Right(NumInText, Len(NumInText)-1)))

//define the decimal part

var DecimalPart = Right(decCheckAmount.formattedValue, Len(decCheckAmount.formattedValue) - AT(decCheckAmount.formattedValue, "."))

//if (DecimalPart <> 0) then

$.rawValue = Concat(NumInText1, "Pounds and ", DecimalPart, " Pence **************************************************************

***********************************************")

//endif

  1. Save the changes in Adobe LiveCyle Designer.
  2. Back in ByDesign, upload the updated form To Replace Existing Variant for From Template Outgoing Check, Country United Kingdom and Language English.
  3. Publish the new variant.

As a result, the Outgoing Check PDF Preview now shows amount written in Pounds.

Keywords

Outgoing Check Form Template; UK; GBP; Pounds; Pence; Adobe LiveCycle Designer; .xdp; Script; , KBA , outgoing check form template , uk , gbp , pounds , pence , adobe livecycle designer , .xdp , script , AP-PAY-OC-GLO , GLO - Cross-country Extensions , How To

Product

SAP Business ByDesign 1805 ; SAP Business ByDesign 1808