SAP Reports / Programs | Service Station Retailing | Industry Solution Oil | Service Station Retailing(IS-OIL-DS-SSR) SAP IS

ROIRC_MRH_LIST2_F01 SAP ABAP INCLUDE - Include ROIRC_MRH_CHECK_F01







ROIRC_MRH_LIST2_F01 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 ROIRC_MRH_LIST2_F01 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 ROIRC_MRH_LIST2_F01. "Basic submit
SUBMIT ROIRC_MRH_LIST2_F01 AND RETURN. "Return to original report after report execution complete
SUBMIT ROIRC_MRH_LIST2_F01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include ROIRC_MRH_CHECK_F01


INCLUDES used within this REPORT ROIRC_MRH_LIST2_F01

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:

OIRA_LOCATION_HEADER call function 'OIRA_LOCATION_HEADER' exporting i_pblnr = pi_pblnr i_rnbt = pi_rnbt i_calpgm = l_repid i_calscr = l_dynnr importing e_subpgm = pe_ch_subpgm e_subscr = pe_subscr.

LVC_VARIANT_DEFAULT_GET call function 'LVC_VARIANT_DEFAULT_GET' exporting i_save = 'A' changing cs_variant = l_disvariant exceptions others = 1.

LVC_FIELDCATALOG_MERGE call function 'LVC_FIELDCATALOG_MERGE' exporting i_structure_name = 'ROIRC_DIPSTRUC' changing ct_fieldcat = l_fieldcat_tab exceptions inconsistent_interface = 1 program_error = 2 others = 3.

OIL_LAST_DAY_OF_MONTH call function 'OIL_LAST_DAY_OF_MONTH' exporting i_date = l_alv_line-datefrom importing e_last_day = l_alv_line-dateto.

OIL_LAST_DAY_OF_MONTH call function 'OIL_LAST_DAY_OF_MONTH' exporting i_date = l_alv_line-datefrom importing e_last_day = l_alv_line-dateto.

LVC_VARIANT_DEFAULT_GET call function 'LVC_VARIANT_DEFAULT_GET' exporting i_save = 'A' "System- and User-Specific Variants changing cs_variant = l_disvariant exceptions others = 1.

LVC_FIELDCATALOG_MERGE call function 'LVC_FIELDCATALOG_MERGE' exporting i_structure_name = pi_structure_name changing ct_fieldcat = l_fieldcat_tab exceptions inconsistent_interface = 1 program_error = 2 others = 3.

OIL_LAST_DAY_OF_MONTH call function 'OIL_LAST_DAY_OF_MONTH' exporting i_date = l_alv_line-datefrom importing e_last_day = l_alv_line-dateto.

OIL_LAST_DAY_OF_MONTH call function 'OIL_LAST_DAY_OF_MONTH' exporting i_date = l_alv_line-datefrom importing e_last_day = l_alv_line-dateto.

CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting date = l_date foreign_amount = l_temp_struc-kwert foreign_currency = l_temp_struc-konwa local_currency = price_def_line-konwa importing local_amount = l_result_struc-kwert exceptions error_message = 1 others = 2.

OIRB_GET_RELEVANT_PLANT_SLOC call function 'OIRB_GET_RELEVANT_PLANT_SLOC' exporting pi_pblnr = l_temp_struc-pblnr pi_rnbt = g_rnbt importing pe_werks = l_werks exceptions no_entries_found = 1 others = 2.

OIRC_QUANTITY_CONVERSION call function 'OIRC_QUANTITY_CONVERSION' exporting pi_matnr = l_temp_struc-matnr pi_menge = l_temp_struc-menge pi_meins_in = l_temp_struc-basme pi_meins_out = price_def_line-kmein pi_werks = l_werks pi_pblnr = l_temp_struc-pblnr pi_rnbt = g_rnbt pi_date = l_date pi_time = c_time_avr importing pe_menge = l_result_struc-menge exceptions unit_conversion_simple_error = 1 mara_read_error = 2 oil_conversion_error = 3 dimension_get_error = 4 others = 5.

OIL_LAST_DAY_OF_MONTH call function 'OIL_LAST_DAY_OF_MONTH' exporting i_date = sy-datum importing e_last_day = l_last_day_of_month.

OIL_LAST_DAY_OF_MONTH call function 'OIL_LAST_DAY_OF_MONTH' exporting i_date = l_alv_line-datefrom importing e_last_day = l_alv_line-dateto.

OIL_LAST_DAY_OF_MONTH call function 'OIL_LAST_DAY_OF_MONTH' exporting i_date = l_alv_line-datefrom importing e_last_day = l_alv_line-dateto.



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 ROIRC_MRH_LIST2_F01 or its description.