Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8581

Re: Purchase Requisition(ME51n)-Amount field in custom screen in item

$
0
0

First look in ABAP Keyword Documentation for Currency Fields, look for Handling in Screens.

  • When displaying a screen field of type CURR, the reference field for the currency key is searched for in the global data of the current ABAP program. The content of this field must be a valid currency code from the TCURC database table. If the reference field is not found or there is no entry in the TCURX database with the content of the field, the currency field is displayed by default with two decimal places.

 

The reference field is either defined in the relevant structure in ABAP Dictionary or was determined using the Screen Painter for the attributes of the screen field. It does not have to be present on the screen itself.

If possible, don't calculate currency conversion, but use a FM as CONVERT_TO_LOCAL_CURRENCY.

 

Regards,

Raymond


Viewing all articles
Browse latest Browse all 8581

Trending Articles