PPBICOR8 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 used to convert planned orders into process orders in a batch procedure...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 PPBICOR8 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 committed
Selection Text: KAPFX = Plan.orders with plan.capacity
Selection Text: KEEP = Folder received acc. view
Selection Text: MAIL = Send Mail
Selection Text: NOCHK = Not Checked
Selection Text: NOCOM = Not committed
Selection Text: PARTCOM = Partly committed
Selection Text: PERTR_R = Relative Planned Opening Date
Selection Text: TEST = Test Run
Selection Text: USER = Person who created error fldr
Selection Text: KDAUF = D .
Selection Text: KDPOS = D .
Selection Text: MATNR = D .
Selection Text: PERTR = D .
Selection Text: PLGRP = D .
Selection Text: PLNUM = D .
Selection Text: PLWRK = D .
Selection Text: PSPEL = D .
Selection Text: PWWRK = D .
Selection Text: SERNR = D .
Selection Text: EMPF_DEF = Recipient (Alternative)
Selection Text: DISPOSRT = Error Folder per MRP Contr.
Selection Text: DISPO = MRP Controller
Selection Text: AUFTART = Order Type
Selection Text: AUFFX = Firmed Planned Orders
Title: Batch Conversion of Planned Orders into 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 Parameter
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 = 'COR7' 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 = 'COR7' 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.
PPBICOR8 - Batch Conversion of Planned Orders into Production Orders PPBICOR8 - Batch Conversion of Planned Orders into Production Orders 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