SAP Reports / Programs | Production Planning and Control | Repetitive Manufacturing(PP-REM) SAP PP

PPARBFRD SAP ABAP Report - Archiving Program for Evaluating an Archive File for PP_BKFLUSH







PPARBFRD is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report reads the document logs from backflushing in production saved in the archive file...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 PPARBFRD 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 PPARBFRD. "Basic submit
SUBMIT PPARBFRD AND RETURN. "Return to original report after report execution complete
SUBMIT PPARBFRD 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: PA_LIST = D .
Selection Text: PA_DETAI = Detailed Information
Title: Archiving Program for Evaluating an Archive File for PP_BKFLUSH
Text Symbol: 203 = Display Reporting Point Doc.
Text Symbol: 202 = Display Activity Document
Text Symbol: 201 = Display Postprocessing Document
Text Symbol: 200 = Display Material Document:
Text Symbol: 101 = Display Parameters
Text Symbol: 039 = Reproc.doc.
Text Symbol: 037 = Product. Activities
Text Symbol: 036 = Goods Issue
Text Symbol: 034 = RepPnt
Text Symbol: 033 = PostDte
Text Symbol: 032 = PU
Text Symbol: 031 = User Group
Text Symbol: 030 = S S=shift
Text Symbol: 029 = PDC no.
Text Symbol: 028 = Time
Text Symbol: 027 = User
Text Symbol: 026 = Qty
Text Symbol: 025 = OTyp operation type
Text Symbol: 022 = Reversed
Text Symbol: 021 = No.
Text Symbol: 019 = Date
Text Symbol: 018 = RPointDoc.
Text Symbol: 017 = ABckflCt
Text Symbol: 016 = Act.Bckfl
Text Symbol: 015 = Mat.Doc.
Text Symbol: 014 = Itm
Text Symbol: 013 = Doc. Log
Text Symbol: 012 = Kanban
Text Symbol: 011 = Make-to-Order Prod.
Text Symbol: 010 = Repetitive Mfg
Text Symbol: 009 = Productn Type
Text Symbol: 008 = Description
Text Symbol: 006 = Number of Objects:
Text Symbol: 005 = Number of
Text Symbol: 004 = Table





Text Symbol: 003 = Vers.
Text Symbol: 002 = Plant
Text Symbol: 001 = Material


INCLUDES used within this REPORT PPARBFRD

INCLUDE PPARBFCL.
INCLUDE PPARBFFO.


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:

ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING * ARCHIVE_DOCUMENT = '000000' * ARCHIVE_NAME = ' ' object = k_archive_object * MAINTAIN_INDEX = ' ' IMPORTING archive_handle = p_handle * TABLES * ARCHIVE_FILES = * SELECTED_FILES = EXCEPTIONS file_already_open = 1 file_io_error = 2 internal_error = 3 no_files_available = 4 object_not_found = 5 open_error = 6 not_authorized = 7 OTHERS = 8.

ARCHIVE_GET_CUSTOMIZING_DATA * CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' * EXPORTING * object = k_archive_object * IMPORTING * commit_count_for_delete_prg = pi_commit_cnt * maintain_index = pc_db_index * EXCEPTIONS * object_not_found = 1 * others = 2.

ARCHIVE_ADMIN_SAVE_INDEX * CALL FUNCTION 'ARCHIVE_ADMIN_SAVE_INDEX' * EXPORTING * object = k_archive_object * object_id = p_s_object_id * archivekey = p_s_arkey * object_offset = p_i_offset * EXCEPTIONS * others = 0.

ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING archive_handle = p_p_handle get_real_structure_name = 'X' automatic_conversion = 'X' IMPORTING record = arc_buffer-segment * record_cursor = record_flags = arc_buffer-flags record_structure = arc_buffer-rname * record_length = EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.

ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING archive_handle = p_handle * IMPORTING * ARCHIVE_CREATION_DATE = * ARCHIVE_CREATION_RELEASE = * ARCHIVE_CREATION_SYSTEM = * ARCHIVE_DOCUMENT = * ARCHIVE_NAME = * OBJECT = * ARCHIVE_CODE_PAGE = * ARCHIVE_NUMBER_FORMAT = * TABLES * USED_CLASSES = EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.

MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = l_mtcom IMPORTING matdaten = l_mt61d return = l_mtcor TABLES seqmat01 = l_dummy EXCEPTIONS material_not_found = 01 plant_not_found = 02.



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