SAP Reports / Programs | Cross-Application Components | European Monetary Union: Euro | Local Currency Changeover(CA-EUR-CNV) SAP CA

EWUSTDCR SAP ABAP INCLUDE - EMU Standard: Specific Conversion Routines







EWUSTDCR is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter EWUSTDCR into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT EWUSTDCR. "Basic submit
SUBMIT EWUSTDCR AND RETURN. "Return to original report after report execution complete
SUBMIT EWUSTDCR VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: EMU Standard: Specific Conversion Routines


INCLUDES used within this REPORT EWUSTDCR

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

KBPS_FIND_LEDGER CALL FUNCTION 'KBPS_FIND_LEDGER' EXPORTING CURRENCY = FP_EUROCODE "#EC * NEW_LEDGER = '1' PERIV = 'K1' IMPORTING LEDGER = FP_EUROLED "#EC * * OP_DECIM = TABLES BP_CUR = BP_CUR EXCEPTIONS NO_LEDGER = 1 OTHERS = 2.

CONVERT_TO_FOREIGN_CURRENCY * CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' * EXPORTING * DATE = '19990101' * foreign_currency = d_eurocode * LOCAL_AMOUNT = FIELD * LOCAL_CURRENCY = WAERSXX * type_of_rate = d_euroextyp * IMPORTING * FOREIGN_AMOUNT = FIELD.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = '19990101' FOREIGN_AMOUNT = '10000' FOREIGN_CURRENCY = FCUKEY LOCAL_CURRENCY = TCUKEY RATE = FIELD TYPE_OF_RATE = 'M' IMPORTING FOREIGN_FACTOR = OLDFACT_FFACT LOCAL_FACTOR = OLDFACT_TFACT EXCHANGE_RATEX = P16_UKURX EXCEPTIONS NO_RATE_FOUND = 1 OVERFLOW = 2 NO_FACTORS_FOUND = 3 NO_SPREAD_FOUND = 4 .

READ_EXCHANGE_RATE CALL FUNCTION 'READ_EXCHANGE_RATE' EXPORTING DATE = '19990101' FOREIGN_CURRENCY = 'EUR' "euro_code LOCAL_CURRENCY = TCUKEY "#EC * TYPE_OF_RATE = 'EURO' IMPORTING EXCHANGE_RATE = UKURS FOREIGN_FACTOR = CONFACT_FFACT LOCAL_FACTOR = CONFACT_TFACT EXCEPTIONS NO_RATE_FOUND = 1 NO_FACTORS_FOUND = 2 NO_SPREAD_FOUND = 3 .

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = '19990101' FOREIGN_AMOUNT = '10000' FOREIGN_CURRENCY = LP_FCUKEY LOCAL_CURRENCY = LP_TCUKEY RATE = LP_FIELD TYPE_OF_RATE = LP_KURST IMPORTING FOREIGN_FACTOR = OLDFACT_FFACT LOCAL_FACTOR = OLDFACT_TFACT EXCHANGE_RATEX = P16_UKURX EXCEPTIONS NO_RATE_FOUND = 1 OVERFLOW = 2 NO_FACTORS_FOUND = 3 NO_SPREAD_FOUND = 4 .

READ_EXCHANGE_RATE CALL FUNCTION 'READ_EXCHANGE_RATE' EXPORTING DATE = '19990101' FOREIGN_CURRENCY = LC_EUROCODE "euro_code LOCAL_CURRENCY = LP_TCUKEY "#EC * TYPE_OF_RATE = LC_EUROEXTYP IMPORTING EXCHANGE_RATE = UKURS FOREIGN_FACTOR = CONFACT_FFACT LOCAL_FACTOR = CONFACT_TFACT EXCEPTIONS NO_RATE_FOUND = 1 NO_FACTORS_FOUND = 2 NO_SPREAD_FOUND = 3 .



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name EWUSTDCR or its description.