HTROGI05 is a standard Executable ABAP Report 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 HTROGI05 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.
INCLUDE RPC2CD09.
INCLUDE RPPPXD10. "COMMON PART BUFFER PCL1/PCL2
No SAP DATABASE tables are accessed within this REPORT code!
WS_FILENAME_GET *CALL FUNCTION 'WS_FILENAME_GET' ** EXPORTING ** DEF_FILENAME = ' ' ** DEF_PATH = ' ' ** MASK = ' ' ** MODE = ' ' ** TITLE = ' ' * IMPORTING * FILENAME = p_filen ** RC = * EXCEPTIONS * INV_WINSYS = 1 * NO_BATCH = 2 * SELECTION_CANCEL = 3 * SELECTION_ERROR = 4 * OTHERS = 5 * .
RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = '47' begda = begdatum IMPORTING waers = h_curr.
RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = '47' begda = begdatum IMPORTING waers = o_curr.
CURRENCY_CONVERTING_FACTOR CALL FUNCTION 'CURRENCY_CONVERTING_FACTOR' EXPORTING currency = h_curr IMPORTING factor = h_fact.
RP_LAST_DAY_OF_MONTHS CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS' EXPORTING day_in = r_begda IMPORTING last_day_of_month = r_endda EXCEPTIONS day_in_no_date = 1 OTHERS = 2.
RP_LAST_DAY_OF_MONTHS CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS' EXPORTING day_in = r_begda_2 IMPORTING last_day_of_month = r_endda_2 EXCEPTIONS day_in_no_date = 1 OTHERS = 2.
RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = '47' begda = ipernr_hrk-begda IMPORTING waers = o_curr.
WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' * EXPORTING * DEF_FILENAME = ' ' * DEF_PATH = ' ' * MASK = ' ' * MODE = ' ' * TITLE = ' ' IMPORTING filename = p_filen * RC = EXCEPTIONS inv_winsys = 1 no_batch = 2 selection_cancel = 3 selection_error = 4 OTHERS = 5 .
EXCEL_OLE_STANDARD_DAT CALL FUNCTION 'EXCEL_OLE_STANDARD_DAT' EXPORTING file_name = p_filen TABLES data_tab = exceltab fieldnames = excelfieldnames EXCEPTIONS file_not_exist = 1 filename_expected = 2 communication_error = 3 ole_object_method_error = 4 ole_object_property_error = 5 invalid_pivot_fields = 6 download_problem = 7.
RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = '47' begda = rgdir-fpbeg IMPORTING waers = o_curr.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING client = sy-mandt date = p_datum foreign_amount = p_betrg foreign_currency = p_o_curr local_currency = p_h_curr IMPORTING local_amount = p_n_betrg.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.