cancel
Showing results for 
Search instead for 
Did you mean: 

Currency reference for currency fields

venu_001
Participant
0 Kudos

Hi All,

I have a issue with reference currency,

1. i have currency amount field in view and next to that there is a currency field, how to refer currency to amount field in order to control decimals format based on currency.  ex. if crcy USD output should be with 2 decimals, if crcy jpy output should be with no decimals.

2. similarly i have same fields in alv output(webdyn pro), in this case how to refer to crcy?

Thanks,

Accepted Solutions (0)

Answers (1)

Answers (1)

ramakrishnappa
Active Contributor
0 Kudos

Hi Shiva,


Please use a dictionary structure to create context node. So that the currency reference fields are considered by framework


Let me explain in detail:

Do not create node attributes directly...


Create a structure ZST_TEST with fields AMT_FLD & WAERS. Now, for the field AMT_FLD define the reference field as below

reference structure: ZST_TEST ( i.e. same structure name )

reference fields : WAERS


So, the field AMT_FLD gets the reference of currency from the same structure.



Use this structure to create your context node.


Hope this helps you.


Regards,

Rama