Having been exposed to multi-national organisations whose business interests span across borders i have come across the requirement to report for different currencies in the correct format as required by the customers. SAP stores the extra-ordinary currencies in table TCURX ie currencies with no decimal points allowed according to the configuration. In most cases currencies are either correct to 2dp(Accounting Standards) or Non because of the value of the currency. Function module G_DECIMAL_PLACES_GET can be used to retrieve the settings allowed for the currency.
Example
*...assuming the ZWD is maintained as no decimal places on amount SAP will store the value correct to 2dp thus you must multiply by 100 before truncating the value, but do that dynamically its more fun :-)
Example
*...assuming the ZWD is maintained as no decimal places on amount SAP will store the value correct to 2dp thus you must multiply by 100 before truncating the value, but do that dynamically its more fun :-)
+prince isaac chikovore, Hi, is that help to create only 2 Decimal?
ReplyDeleteHi Evhen Barzak,
ReplyDeleteThat help will create a variable with the number of decimal points as maintained in the configuration table TCURX