SAP Reports / Programs | Production Planning and Control | Production Orders(PP-SFC) SAP PP

PPORPF02 SAP ABAP INCLUDE - documentation and ABAP source code







PPORPF02 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 PPORPF02 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 PPORPF02. "Basic submit
SUBMIT PPORPF02 AND RETURN. "Return to original report after report execution complete
SUBMIT PPORPF02 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 PPORPF02

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:

GRPG_FIND_GRPNR_WITH_MATNR CALL FUNCTION 'GRPG_FIND_GRPNR_WITH_MATNR' EXPORTING i_pspnr = pspel i_werks = werk i_matnr = material IMPORTING e_grpnr = l_pspel EXCEPTIONS wrong_input = 1 no_valid_grpnr_found = 2 OTHERS = 3.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = TEXT.

CN_WB_STORE_ELEMENT CALL FUNCTION 'CN_WB_STORE_ELEMENT' EXPORTING pspnr = pspel.

CN_WB_STORE_ELEMENT CALL FUNCTION 'CN_WB_STORE_ELEMENT' EXPORTING PSPNR = PSPEL.

MD_READ_PLANT CALL FUNCTION 'MD_READ_PLANT' EXPORTING EWERKS = WERK IMPORTING icm61w = ls_cm61w it399d = ls_t399d.

MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING SCHLUESSEL = MATKEY IMPORTING matdaten = ls_mt61d EXCEPTIONS MATERIAL_NOT_FOUND = 04 PLANT_NOT_FOUND = 08 ACCOUNT_NOT_FOUND = 12.

AUFBAUEN_MDPSX_ANZEIGEN CALL FUNCTION 'AUFBAUEN_MDPSX_ANZEIGEN' EXPORTING ecm61w = ls_cm61w ecm61x = ls_cm61x emt61d = ls_mt61d et399d = ls_t399d TABLES MDPSX = MDPSX EXCEPTIONS ERROR = 1 ERROR_MESSAGE = 2 OTHERS = 3.

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING TITEL = TEXT-TIT TXT1 = TEXT-TIT TXT2 = L_TEXT_2 TXT3 = TEXT-REA TXT4 = L_TEXT_1.

CO_TA_T418_READ CALL FUNCTION 'CO_TA_T418_READ' EXPORTING T418_POSTP = RESB_TAB-POSTP IMPORTING T418WA = T418 EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

CO_TA_LOCAL_CURRENCY_OF_PLANT CALL FUNCTION 'CO_TA_LOCAL_CURRENCY_OF_PLANT' EXPORTING werks_imp = mt61d_p-werks IMPORTING waers_exp = madata_tab-waers EXCEPTIONS not_found = 1 OTHERS = 2.



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