Friday, February 17, 2012

Currency Decimal Points

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 :-)


Tuesday, December 15, 2009

SAP ABAP - Getting Started

ABAP is considered by most to be difficult. This is entirely true, but dont get alarmed just let me explain. ABAP syntax is fairly easy however developing robust applications and making enhancements to the standard functionality of SAP brings about the difficult section of ABAP Programming. Adhering to laid out naming conventions, styles and techniques prove to be some what a challenge to the everyday programmer however with time these become a necessary tool for achieving the customers requirements.  Feja feja though will never let you down.