FK21RE02 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 FK21RE02 into the relevant SAP transactions such as SE38 or SE80
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
KARL_MASTERDATA_GET CALL FUNCTION 'KARL_MASTERDATA_GET' EXPORTING I_OBJNR = L_OBJNR IMPORTING E_OWAER = OWAER EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
K_OBJECT_INFORMATION_GET CALL FUNCTION 'K_OBJECT_INFORMATION_GET' EXPORTING I_OBJNR = L_OBJNR I_GJAHR = L_GJAHR IMPORTING E_OWAER = OWAER EXCEPTIONS OBJECT_NOT_FOUND = 1 OBJECT_CURRENCY_INCONSISTENT = 2 ORGUNIT_ERROR = 3 OTHERS = 4.
K_KOKRS_CURRENCY_GET CALL FUNCTION 'K_KOKRS_CURRENCY_GET' EXPORTING I_KOKRS = KOKRS IMPORTING E_WAERS = KWAER EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
REPP_CURRENCY_DEFAULTS_READ CALL FUNCTION 'REPP_CURRENCY_DEFAULTS_READ' EXPORTING P_APPLID = I_APPLID "P_SAPPLID = "P_USER = SY-UNAME IMPORTING P_CURRENCY_TYPE = RWAER P_TARGET_CURRENCY = ZWAER EXCEPTIONS INVALID_PARAMETERS = 1 OTHERS = 2.
REPP_CURRCONV_DEFAULTS_READ CALL FUNCTION 'REPP_CURRCONV_DEFAULTS_READ' EXPORTING P_APPLID = I_APPLID "P_SAPPLID = "P_USER = SY-UNAME IMPORTING "p_target_currency = P_SOURCE_CURRENCY_TYPE = SOURCE P_CONV_TYPE = TYPE P_CONV_DATE = DATE EXCEPTIONS NO_TARGET_CURRENCY = 1 INVALID_PARAMETERS = 2 DEFAULTS_NOT_FOUND = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.