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
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.
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:
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
PPPI_MCHP_CREATE - Generate Batch Records in the Background PPPI_MCHP_CREATE - Generate Batch Records in the Background PPPI_EBR_ARCHIVE - Archive Batch Records in the Background PPPI_EBR_ARCHIVE - Archive Batch Records in the Background PPPI_DEVI_CHECK_TOP - PPPIDEVICHECKTOP PPPI_DEVI_CHECK_PDF_F06 - PPPIDEVICHECKPDFF06