SAP Reports / Programs

PPCOFA20 SAP ABAP Report - Orders for MRP Controller







PPCOFA20 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 PPCOFA20 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

CO22 - Orders for MRP Controller


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


Text pool values


Selection Text: S_MATNR = Material
Selection Text: S_GSTRS = Scheduled start date
Selection Text: S_GLTRS = Scheduled delivery date
Selection Text: S_FEVOR = Production scheduler
Selection Text: S_ERNAM = Person in charge
Selection Text: S_DISPO = MRP controller
Selection Text: S_AUART = Order type
Selection Text: P_SELID = Selection profile status
Title: Orders for MRP Controller
Text Symbol: 120 = Un
Text Symbol: 110 = Status
Text Symbol: 100 = MRP Cont.
Text Symbol: 090 = PrdSchd
Text Symbol: 080 = Description
Text Symbol: 070 = Material number
Text Symbol: 060 = Produced quantity
Text Symbol: 050 = Planned quantity
Text Symbol: 040 = Plant
Text Symbol: 030 = Delivery date
Text Symbol: 020 = Start date
Text Symbol: 010 = Order number


INCLUDES used within this REPORT PPCOFA20

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:

CO_F4_AUART CALL FUNCTION 'CO_F4_AUART' EXPORTING AKTYP = 'V' AUTYP_IMP = '10' * WERKS = ' ' IMPORTING AUART_EXP = S_AUART-LOW EXCEPTIONS OTHERS = 1.

CO_F4_AUART CALL FUNCTION 'CO_F4_AUART' EXPORTING AKTYP = 'V' AUTYP_IMP = '10' * WERKS = ' ' IMPORTING AUART_EXP = S_AUART-HIGH EXCEPTIONS OTHERS = 1.

STATUS_CHECK_BY_SELSCHEM CALL FUNCTION 'STATUS_CHECK_BY_SELSCHEM' EXPORTING OBJNR = CAUFVD-OBJNR SELID = P_SELID IMPORTING FULLFILL = FLG_STATUS_OK EXCEPTIONS NO_STAT_SCHEME = 01 NO_STAT_TAB = 02.

MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING SCHLUESSEL = MTCOM IMPORTING MATDATEN = MAKT RETURN = MTCOR TABLES SEQMAT01 = DUMMY EXCEPTIONS MATERIAL_NOT_FOUND = 1 PLANT_NOT_FOUND = 2 ACCOUNT_NOT_FOUND = 3.

CO_KO1_SET_HEADER CALL FUNCTION 'CO_KO1_SET_HEADER' EXPORTING CAUFVD_IMP = CAUFVD.

STATUS_MAINTAIN CALL FUNCTION 'STATUS_MAINTAIN' EXPORTING DISPLAY_ONLY = CONST_X FLG_NO_STSMA_CHANGE = CONST_X OBJNR = CAUFVD-OBJNR EXCEPTIONS OBJECT_NOT_FOUND = 01.



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