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

ROIRC_PRICE_REPORTING_F02 SAP ABAP INCLUDE - Data manipulation routines







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


Text pool values


Title: Data manipulation routines


INCLUDES used within this REPORT ROIRC_PRICE_REPORTING_F02

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:

OIRC_GET_PRCHHEAD call function 'OIRC_GET_PRCHHEAD' exporting i_chdocnum = g_rp_fill_struc-chdocnum importing e_prchhead = g_oircprchhead.

OIRB_GET_LOC_VALUES call function 'OIRB_GET_LOC_VALUES' exporting i_pblnr = g_respcomp_tab-comppblnr i_rnbt = g_rnbt importing e_oifspbl = l_oifspbl exceptions business_type_not_found = 1 business_location_not_found = 2 others = 3.

OIRB_GET_LOCATION_BRAND call function 'OIRB_GET_LOCATION_BRAND' exporting pi_pblnr = g_respcomp_tab-comppblnr pi_rnbt = g_rnbt importing pe_brand = g_brand exceptions no_entries_found = 0 others = 0.

ADDRESS_INTO_PRINTFORM call function 'ADDRESS_INTO_PRINTFORM' exporting address_type = '1' address_number = g_addr_sel-addrnumber number_of_lines = 10 importing address_short_form_s = l_address_short_form_s.

OIRC_PRICE_CONVERSION call function 'OIRC_PRICE_CONVERSION' exporting i_date = l_oirc_gmmh-mrdate i_matnr = l_matnr "858136 NM i_kbetr_actual = l_oirc_gmmh-kbetr i_konwa_actual = l_oirc_gmmh-konwa i_kpein_actual = l_oirc_gmmh-kpein i_kmein_actual = l_oirc_gmmh-kmein i_konwa_target = g_konwa i_kpein_target = g_kpein i_kmein_target = g_kmein importing e_kbetr_target = l_oirc_gmmh-kbetr exceptions uom_conversion_error = 1 currency_conversion_error = 2 others = 3.

OIRC_GET_PRCHHEAD call function 'OIRC_GET_PRCHHEAD' exporting i_chdocnum = g_list_data_tab-chdocnum importing e_prchhead = g_oircprchhead.

SUSR_USER_ADDRESS_GET call function 'SUSR_USER_ADDRESS_GET' exporting user_name = g_pricedetstruc-ernam "#EC DOM_EQUAL importing user_address = l_address exceptions user_name_not_exist = 1 others = 2.

ADDR_PERS_COMP_GET call function 'ADDR_PERS_COMP_GET' exporting address_pers_in_comp_selection = l_address_sel importing address_pers_in_comp_value = l_addr_val.

OIB_MATERIAL_UNIT_CONVERSION call function 'OIB_MATERIAL_UNIT_CONVERSION' exporting iv_matnr = pi_matnr iv_inuom = p_basme iv_outuom = p_dest_kmein iv_quantity = p_menge importing ev_quantity = l_output_meng exceptions error_material_read = 1 conversion_failed = 2 others = 3. "858136 NM

UNIT_CONVERSION_SIMPLE call function 'UNIT_CONVERSION_SIMPLE' exporting input = p_menge no_type_check = 'X' round_sign = 'X' unit_in = p_basme unit_out = p_dest_kmein importing output = l_output_meng exceptions others = 10.

OIRC_PRICE_CONVERSION call function 'OIRC_PRICE_CONVERSION' exporting i_date = p_mrdate i_matnr = pi_matnr "858136 NM i_kbetr_actual = p_kbetr i_konwa_actual = p_konwa i_kmein_actual = p_kmein i_kpein_actual = p_kpein i_konwa_target = p_dest_konwa i_kmein_target = p_dest_kmein i_kpein_target = p_dest_kpein importing e_kbetr_target = l_output_kbetr exceptions uom_conversion_error = 1 currency_conversion_error = 2 others = 3.

OIRC_PRICE_CONVERSION call function 'OIRC_PRICE_CONVERSION' exporting i_date = g_list_data_tab-mrdate "#EC DOM_EQUAL i_matnr = g_list_data_tab-matnr "858136 NM i_kbetr_actual = g_list_data_tab-kbetr i_konwa_actual = g_list_data_tab-konwa i_kmein_actual = g_list_data_tab-kmein i_kpein_actual = g_list_data_tab-kpein i_konwa_target = g_konwa i_kmein_target = g_kmein i_kpein_target = g_kpein importing e_kbetr_target = l_output_kbetr exceptions uom_conversion_error = 1 currency_conversion_error = 2 others = 3.

OIRC_PRICE_CONVERSION call function 'OIRC_PRICE_CONVERSION' exporting i_date = g_list_data_tab-mrdate "#EC DOM_EQUAL i_matnr = g_list_data_tab-matnr "858136 NM i_kbetr_actual = g_list_data_tab-xkbetr i_konwa_actual = g_list_data_tab-xkonwa i_kmein_actual = g_list_data_tab-xkmein i_kpein_actual = g_list_data_tab-xkpein i_konwa_target = g_konwa i_kmein_target = g_kmein i_kpein_target = g_kpein importing e_kbetr_target = l_output_kbetr exceptions uom_conversion_error = 1 currency_conversion_error = 2 others = 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 ROIRC_PRICE_REPORTING_F02 or its description.