SAP Reports / Programs

PPBICOR8 SAP ABAP Report - Batch Conversion of Planned Orders into Production Orders







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


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





Text Symbol: 011 = Convers.
Text Symbol: 012 = Select creation date
Text Symbol: 013 = Days Back
Text Symbol: 014 = Days before
Text Symbol: 015 = No planned orders meeting the selection criteria were found
Text Symbol: 016 = Number of Orders Processed:
Text Symbol: 020 = Status selection/availabilty


INCLUDES used within this REPORT PPBICOR8

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:

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'.



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