SAP Reports / Programs | Production Planning and Control | Production Planning for Process Industries | Process Data Documentation(PP-PI-PDO) SAP PP

PPPI_MCHP_DELETE SAP ABAP Report - Delete Batch Records in the Background







PPPI_MCHP_DELETE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The availability period for the batch record defined in Customizing has expired (see overall profile of the relevant material)...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_DELETE 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_DELETE. "Basic submit
SUBMIT PPPI_MCHP_DELETE AND RETURN. "Return to original report after report execution complete
SUBMIT PPPI_MCHP_DELETE 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: CHARG = D .
Selection Text: MATNR = D .
Selection Text: WERKS = D .
Title: Delete Batch Records in the Background
Text Symbol: 001 = Delete batch records in the background
Text Symbol: 002 = Page:
Text Symbol: 003 = Users:
Text Symbol: 004 = Date:
Text Symbol: 005 = Time:
Text Symbol: 006 = Batch record deleted
Text Symbol: 007 = Batch record not deleted
Text Symbol: CHA = Batch
Text Symbol: ERR = Undeleted batch records (errors occured)
Text Symbol: MAT = Material
Text Symbol: STA = Status
Text Symbol: SUC = Deleted batch records
Text Symbol: WRK = Plant


INCLUDES used within this REPORT PPPI_MCHP_DELETE

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_MCHP_READ CALL FUNCTION 'VB_CP_BUF_MCHP_READ' TABLES e_mchp = l_mchp i_sel_charg = charg i_sel_matnr = matnr i_sel_werk = werks EXCEPTIONS no_mchp = 1 OTHERS = 2.

VB_CP_EBR_DELETE CALL FUNCTION 'VB_CP_EBR_DELETE' EXPORTING i_mchp = l_mchp EXCEPTIONS error_valdat = 1 no_authority = 2 error_lock = 3 error_status = 4 error_sign = 5 error_conn = 6 error_text = 7 error_draw = 8 error_drat = 9 error_mchp = 10 error_mchpv = 11 error_mchpvs = 12 error_mchpvt = 13 OTHERS = 14.



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