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

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







PPA3BFRD 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 the backflush in production 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 PPA3BFRD 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 PPA3BFRD. "Basic submit
SUBMIT PPA3BFRD AND RETURN. "Return to original report after report execution complete
SUBMIT PPA3BFRD 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_DETAI = Detailed Information
Title: Archiving Program for Evaluating an Archive File for PP_BKFLUSH
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
Text Symbol: 018 = RPointDoc.
Text Symbol: 100 = Archiving Parameters
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


INCLUDES used within this REPORT PPA3BFRD

INCLUDE PPA3BFFO.


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.



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