Skip to Content

Currency reference for currency fields

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?


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jan 30, 2014 at 03:22 AM

    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.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.