cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP BRIM CI STANDARD FM for currency value to currency symbol convertor in adobe form

25277982
Explorer
0 Kudos
189

Hi All, Good Day! 

Kindly suggest me a BEST PRACTICE SAP BRIM CI STANDARD FM for currency value to currency symbol convertor in adobe form invoices, 

Through DFKKINVDOC_H source table selection input value as INVDOCNO fetch the value field value TOTAL_CURR get that converted into adobe form output as symbol 


Thanks,
Kunkumasudharshan Radhakrishnan
 
SAP Convergent Invoicing  SAP Convergent Charging SAP Contract Accounts Receivable and Payable SAP S/4HANA Cloud ABAP Environment SAP NetWeaver Application Server for ABAP SAP HANA service for SAP BTP SAP Integrated Business Planning for inventory 

Accepted Solutions (0)

Answers (2)

Answers (2)

Jaiswal_Shubham
Explorer
0 Kudos

Hello Kunkumasudharshan Radhakrishnan,

do you want to display the amount along with the currency symbol is that your requirement? If yes, then you can use scripting language on the amount field of adobe form layout and then write something like below. With this code your amount field will look from 100.00 -> $ 100.00 

 

 var currKey = this.parent.CurrKey.rawValue;
 
 if ( currKey == 'EUR' ){
      this.format.picture.value = "num{'€' z,zzz,zzz,zz9.99}", this.rawValue;
   }
 else if ( currKey == 'USD' ){
      this.format.picture.value = "num{'$' z,zzz,zzz,zz9.99}", this.rawValue;
 }
 else {
      this.format.picture.value = "num{z,zzz,zzz,zz9.99}", this.rawValue;
 }

 

 

Jaiswal_Shubham
Explorer
0 Kudos

Hello Kunkumasudharshan Radhakrishnan,

do you want to display the amount along with the currency symbol is that your requirement? If yes, then you can use scripting language on the amount field of adobe form layout and then write something like below. With this code your amount field will look from 100.00 -> $ 100.00 

 var currKey = this.parent.CurrKey.rawValue;
 
 if ( currKey == 'EUR' ){
      this.format.picture.value = "num{'€' z,zzz,zzz,zz9.99}", this.rawValue;
   }
 else if ( currKey == 'USD' ){
      this.format.picture.value = "num{'$' z,zzz,zzz,zz9.99}", this.rawValue;
 }
 else {
      this.format.picture.value = "num{z,zzz,zzz,zz9.99}", this.rawValue;
 }