SAP Reports / Programs

PPPI_MCHP_CREATE SAP ABAP Report - Generate Batch Records in the Background







PPPI_MCHP_CREATE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for At least one process order is available for the 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 PPPI_MCHP_CREATE 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 PPPI_MCHP_CREATE. "Basic submit
SUBMIT PPPI_MCHP_CREATE AND RETURN. "Return to original report after report execution complete
SUBMIT PPPI_MCHP_CREATE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Generate Batch Records in the Background
Selection Text: CHARG = D .
Selection Text: MATNR = D .
Selection Text: WERKS = D .
Title: Generate Batch Records in the Background
Text Symbol: 001 = Generate batch records in the background
Text Symbol: 002 = Page:
Text Symbol: 003 = Users:
Text Symbol: 004 = Date:
Text Symbol: 005 = Batch record for batch
Text Symbol: 006 = Material
Text Symbol: 007 = Plant
Text Symbol: 008 = was generated.
Text Symbol: 009 = was not generated.
Text Symbol: 010 = Only batches without orders found for your selection criteria
Text Symbol: 011 = Time:
Text Symbol: 012 = Batch record generated
Text Symbol: 013 = Batch record not generated
Text Symbol: ERR = Non-Generated Batch Records:
Text Symbol: STA = Status
Text Symbol: SUC = Generated Batch Records:


INCLUDES used within this REPORT PPPI_MCHP_CREATE

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:

VB_CP_BUF_READ_CREATE CALL FUNCTION 'VB_CP_BUF_READ_CREATE' EXPORTING i_selection_limit = vbcp_sel-select_limit i_check_exist_on_db = flg_yes TABLES e_mchp = l_mchp i_sel_charg = charg i_sel_matnr = matnr i_sel_werk = werks EXCEPTIONS no_batch_for_selection = 1 no_auth = 2 ebr_already_exists = 3 order_error = 4 enqueue_error = 5 scm_addon_error = 6 OTHERS = 7.

ENQUEUE_EMCHP CALL FUNCTION 'ENQUEUE_EMCHP' EXPORTING matnr = l_mchp-matnr charg = l_mchp-charg EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

VB_CP_EBR_CREATE CALL FUNCTION 'VB_CP_EBR_CREATE' EXPORTING i_mchp = l_mchp EXCEPTIONS error_status = 1 error_valdate = 2 prot_error = 3 aos_error = 4 OTHERS = 5.



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