SAP Reports / Programs

PPPI_EBR_ARCHIVE SAP ABAP Report - Archive Batch Records in the Background







PPPI_EBR_ARCHIVE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The header records of the batch records have been generated...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_EBR_ARCHIVE 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_EBR_ARCHIVE. "Basic submit
SUBMIT PPPI_EBR_ARCHIVE AND RETURN. "Return to original report after report execution complete
SUBMIT PPPI_EBR_ARCHIVE 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: SELID = D .
Selection Text: WERKS = D .
Title: Archive Batch Records in the Background
Text Symbol: 001 = Archive 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 archived
Text Symbol: 007 = Batch record not archived
Text Symbol: CHA = Batch
Text Symbol: ERR = Non-Archived Batch Records (Errors Occurred)
Text Symbol: MAT = Material
Text Symbol: STA = Status
Text Symbol: SUC = Archived Batch Records
Text Symbol: WRK = Plant


INCLUDES used within this REPORT PPPI_EBR_ARCHIVE

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' EXPORTING i_selid = selid 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_BUF_VERS_READ CALL FUNCTION 'VB_CP_BUF_VERS_READ' EXPORTING i_mchp = l_mchp IMPORTING e_vers_act = l_vers.

VB_CP_VERSION_CONVERT_OLD_NEW CALL FUNCTION 'VB_CP_VERSION_CONVERT_OLD_NEW' EXPORTING i_vers = l_vers IMPORTING e_vers = l_vers EXCEPTIONS error_status = 1 copy_text_error = 2 copy_conn_error = 3 save_error = 4 OTHERS = 5.

VB_CP_BUFFER_CLEAR_AND_REFRESH CALL FUNCTION 'VB_CP_BUFFER_CLEAR_AND_REFRESH'.

STATUS_BUFFER_REFRESH CALL FUNCTION 'STATUS_BUFFER_REFRESH'.

SIGN_BUFFER_INITIALIZE CALL FUNCTION 'SIGN_BUFFER_INITIALIZE' EXPORTING object_imp = '40' i_clear_global = c_yes.

VB_CP_VERSION_ARCHIVE CALL FUNCTION 'VB_CP_VERSION_ARCHIVE' EXPORTING i_vers = l_vers i_flg_batch = c_yes TABLES t_mchp = l_mchp EXCEPTIONS no_authority = 1 prot_error = 2 cust_error = 3 error_devi = 4 stat_check_object_error = 5 arc_error = 6 error_status = 7 activity_not_allowed = 8 cancelled_by_user = 9 application_cancelled_by_user = 10 OTHERS = 11.

VB_CP_SAVE CALL FUNCTION 'VB_CP_SAVE' EXPORTING i_vers = l_vers EXCEPTIONS commit_text_error = 1 OTHERS = 2.

VB_CP_SAVE_EXTERNAL_BATCH CALL FUNCTION 'VB_CP_SAVE_EXTERNAL_BATCH' EXCEPTIONS error_archive_sheet = 1 OTHERS = 2.

VB_CP_DEQUEUE_BATCH_OBJECTS CALL FUNCTION 'VB_CP_DEQUEUE_BATCH_OBJECTS'.



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