RPU51FN0 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 RPU51FN0 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!
TR_OBJECTS_CHECK CALL FUNCTION 'TR_OBJECTS_CHECK' * IMPORTING * WE_ORDER = * WE_TASK = TABLES WT_KO200 = T_KO200 WT_E071K = T_E071K EXCEPTIONS OTHERS = 01.
TR_OBJECTS_INSERT CALL FUNCTION 'TR_OBJECTS_INSERT' * EXPORTING * WI_ORDER = ' ' * IMPORTING * WE_ORDER = * WE_TASK = TABLES WT_KO200 = T_KO200 WT_E071K = T_E071K EXCEPTIONS OTHERS = 01.
RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING MOLGA = MOLGA TRFAR = TRFART TRFGB = TRFGEB TRFKZ = TRFKZ BEGDA = CUR_BEGDA ENDDA = HIGH_DATE IMPORTING WAERS = CURKEY VALID_BEGDA = GET_CURR_BEGDA VALID_ENDDA = GET_CURR_ENDDA RETURN = GET_CURRENCY_RET TABLES CURRENCY_TABLE = I500C EXCEPTIONS MOLGA_NOT_IN_T001P = 1 NO_ENTRY_FOUND_IN_TABLE_T001 = 2 NO_ENTRY_FOUND_IN_TABLE_T500P = 3 NO_ENTRY_FOUND_IN_TABLE_T500C = 4 OTHERS = 5.
RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING MOLGA = MOLGA TRFAR = TRFART TRFGB = TRFGEB TRFKZ = TRFKZ BEGDA = GC_DATE ENDDA = GC_DATE IMPORTING WAERS = GC_CURRENCY VALID_BEGDA = GET_CURR_BEGDA VALID_ENDDA = GET_CURR_ENDDA RETURN = GET_CURRENCY_RET EXCEPTIONS MOLGA_NOT_IN_T001P = 1 NO_ENTRY_FOUND_IN_TABLE_T001 = 2 NO_ENTRY_FOUND_IN_TABLE_T500P = 3 NO_ENTRY_FOUND_IN_TABLE_T500C = 4 OTHERS = 5.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = P_CUR_TAB_BEGDA FOREIGN_AMOUNT = P_TAB_BETRG FOREIGN_CURRENCY = P_OLD_CUR LOCAL_CURRENCY = P_CUR_TAB_WAERS * RATE = 0 * TYPE_OF_RATE = 'M' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = LOCAL_AMOUNT = P_TAB_BETRG * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = EXCEPTIONS NO_RATE_FOUND = 1 OVERFLOW = 2 NO_FACTORS_FOUND = 3 NO_SPREAD_FOUND = 4 DERIVED_2_TIMES = 5 OTHERS = 6.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.