PPBICO40 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report is for converting planned orders into production orders in batch...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter PPBICO40 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: ERR_PROT = Errors only
Selection Text: EXPRESS = Express document
Selection Text: FULLCOM = Fully confirmed
Selection Text: KAPFX = Plan.orders with plan.capacity
Selection Text: KDAUF = D Sales order
Selection Text: KDPOS = D Sales order item
Selection Text: KEEP = Folder received acc. view
Selection Text: MAIL = Send mail
Selection Text: MATNR = D Material
Selection Text: NOCHK = Not checked
Selection Text: NOCOM = Not confirmed
Selection Text: PARTCOM = Partly confirmed
Selection Text: PERTR = D Planned opening date
Selection Text: PERTR_R = Relative planned opening date
Selection Text: PLGRP = D Production scheduler
Selection Text: PLNUM = D Planned order
Selection Text: PLWRK = D Planning plant
Selection Text: PSPEL = D WBS element
Selection Text: PWWRK = D Production plant
Selection Text: SERNR = D BOM explosion number
Selection Text: TEST = Test run
Selection Text: USER = Person who created error fldr
Selection Text: EMPF_DEF = Recipient (alternative)
Selection Text: DISPOSRT = Error folder per MRP contrllr
Selection Text: DISPO = MRP controller
Selection Text: AUFTART = Order type
Selection Text: AUFFX = Firmed planned orders
Title: Batch Conversion of Planned Orders to Production Orders
Text Symbol: 001 = Test log for planned order conversion
Text Symbol: 002 = Error log for planned order conversion
Text Symbol: 003 = Conversion log for planned orders
Text Symbol: 004 = Responsible user &1 is informed about incorrect conversion
Text Symbol: 005 = Notification could not take place
Text Symbol: 006 = MRP controller: &1, material: &2
Text Symbol: 007 = Planned order: &1, creation date: &2
Text Symbol: 008 = Output log
Text Symbol: 009 = Mail
Text Symbol: 010 = Selection criteria
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SWE_EVENT_CREATE CALL FUNCTION 'SWE_EVENT_CREATE' EXPORTING objtype = 'SELFITEMTO' objkey = '' event = 'MAPPE_ANGELEGT' IMPORTING event_id = wfnr TABLES event_container = container.
BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING client = sy-mandt group = group user = user keep = keep.
SWE_EVENT_CREATE CALL FUNCTION 'SWE_EVENT_CREATE' EXPORTING objtype = 'SELFITEMTO' objkey = '' event = 'MAPPE_ANGELEGT' IMPORTING event_id = wfnr TABLES event_container = container.
BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING tcode = 'CO40' TABLES dynprotab = bdcdata.
FORMAT_MESSAGE CALL FUNCTION 'FORMAT_MESSAGE' EXPORTING id = messtab-msgid lang = messtab-msgspra no = messtab-msgnr v1 = messtab-msgv1 v2 = messtab-msgv2 v3 = messtab-msgv3 v4 = messtab-msgv4 IMPORTING msg = messages-text EXCEPTIONS not_found = 01 OTHERS = 02.
BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.
BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING client = sy-mandt group = group user = user keep = keep.
BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING tcode = 'CO40' TABLES dynprotab = bdcdata.
BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
PPBICO40 - Batch Conversion of Planned Orders to Production Orders PPBICO40 - Batch Conversion of Planned Orders to Production Orders PPAVCSEL - documentation and ABAP source code PPARCHR1 - Production Order Reorg: Display Archive Data PPARCHR1 - Production Order Reorg: Display Archive Data PPARCHP1 - Production Order: Set Deletion Flag and Deletion Indicator