Entering content frame

Procedure documentation Converting Currency Amounts Locate the document in its SAP Library structure

Currency amounts have to be converted from an SAP system format to a format that can be understood externally. In the SAP system, all currency amounts are stored with two decimal places. If a currency has a different number of decimal places, the currency amount has to be converted. You can use function module currency_amount_sap_to_idoc for this conversion; it performs a suitable currency amount conversion for IDocs.

We recommend that you encapsulate the code in a subroutine <Segment-Typ>_currency_sap_to_idoc.

 

Leaving content frame