SAP Reports / Programs | Logistics - General | Logistics Basic Data | Material Master(LO-MD-MM) SAP LO

RWRF_ORGPRICE_MAINTAINF01 SAP ABAP INCLUDE - RWRFORGPRICEMAINTAINF01







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


INCLUDES used within this REPORT RWRF_ORGPRICE_MAINTAINF01

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:

WRF_DETERMINE_SITES CALL FUNCTION 'WRF_DETERMINE_SITES' EXPORTING i_matnr = g_matnr it_werks = grt_werks it_sitegroup = grt_filgr it_vkorg = grt_vkorg it_vtweg = grt_vtweg it_pltyp = grt_pltyp IMPORTING et_werks = lt_werks et_messages = lt_messages EXCEPTIONS no_data_found = 1 OTHERS = 2.

SALES_VALUE_READ CALL FUNCTION 'SALES_VALUE_READ' EXPORTING pi_i_svr = ls_pisvr pi_normal_price_valuation = gc_yes IMPORTING pe_i_svr = ls_pesvr * TABLES * PE_T_TAXK = EXCEPTIONS material_not_found = 1 no_bukrs_found = 2 no_sales_price_found = 3 org_structure_not_completed = 4 plant_not_found = 5 vkorg_not_found = 6 overflow_at_conversion = 7 conversion_not_found = 8 no_authority = 9 calculation_scheme_not_correct = 10 other_error = 11 OTHERS = 12.

SALES_VALUE_READ CALL FUNCTION 'SALES_VALUE_READ' EXPORTING pi_i_svr = ls_pisvr pi_normal_price_valuation = gc_yes IMPORTING pe_i_svr = ls_pesvr * TABLES * PE_T_TAXK = EXCEPTIONS material_not_found = 1 no_bukrs_found = 2 no_sales_price_found = 3 org_structure_not_completed = 4 plant_not_found = 5 vkorg_not_found = 6 overflow_at_conversion = 7 conversion_not_found = 8 no_authority = 9 calculation_scheme_not_correct = 10 other_error = 11 OTHERS = 12.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING client = sy-mandt date = sy-datum foreign_amount = pis_pesvr-bwert foreign_currency = pis_pesvr-kwaer local_currency = pis_orgprice-vwaer_bt IMPORTING local_amount = pc_gross_amount_lc EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING client = sy-mandt date = sy-datum foreign_amount = pis_pesvr-nwert foreign_currency = pis_pesvr-kwaer local_currency = pis_orgprice-vwaer_bt IMPORTING local_amount = pc_net_amount_lc EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.



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