RCSARCH3 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Evaluation of the archive status of the BOM archiving You use this report in order to keep an evaluation list of all data records placed in the archive during an archive run...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 RCSARCH3 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.
Title: Program for reading archived BOMs
Text Symbol: 024 = Material Number
Text Symbol: 023 = Sales Order Item
Text Symbol: 022 = Sales Order
Text Symbol: 021 = BOM Usage
Text Symbol: 020 = Plant
Text Symbol: 019 = Equipment Number
Text Symbol: 018 = Document Part
Text Symbol: 017 = Document Version
Text Symbol: 016 = Document Number
Text Symbol: 015 = Doc.Type
Text Symbol: 013 = BOM status
Text Symbol: 010 = Base Quantity
Text Symbol: 009 = BUn
Text Symbol: 008 = Last changed on
Text Symbol: 007 = Valid from
Text Symbol: 006 = Alternative BOM
Text Symbol: 005 = Bill of Material Number
Text Symbol: 004 = BOM Category
Text Symbol: 001 = No File Opened
Text Symbol: 050 = WBS Element
Text Symbol: 049 = Follow-Up Material
Text Symbol: 048 = Installation Point
Text Symbol: 047 = InherNode
Text Symbol: 046 = Comp. var.
Text Symbol: 045 = Item Group
Text Symbol: 044 = Mat. Var.
Text Symbol: 043 = Del. Flag
Text Symbol: 042 = Subitem Quantity
Text Symbol: 041 = Subitem Number
Text Symbol: 040 = Quantity
Text Symbol: 038 = UoM
Text Symbol: 037 = Item Number
Text Symbol: 036 = ItemCategory
Text Symbol: 032 = Change Number
Text Symbol: 030 = Configurable
Text Symbol: 029 = Variant Indicator
Text Symbol: 028 = Alternative indicator
INCLUDE CSARFP01.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_READ call function 'ARCHIVE_OPEN_FOR_READ' exporting archive_document = document object = 'CS_BOM' importing archive_handle = handle 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_NEXT_OBJECT call function 'ARCHIVE_GET_NEXT_OBJECT' exporting archive_handle = handle exceptions end_of_file = 1 file_io_error = 2 internal_error = 3 open_error = 4 wrong_access_to_archive = 5 others = 6.
ARCHIVE_GET_NEXT_RECORD call function 'ARCHIVE_GET_NEXT_RECORD' exporting archive_handle = handle importing record = arc_buffer-segment record_structure = arc_buffer-rname exceptions end_of_object = 01 internal_error = 02 wrong_access_to_archive = 03.
WSTAR_T415B_BUFFER_ARCHIVE CALL FUNCTION 'WSTAR_T415B_BUFFER_ARCHIVE' "t415B EXPORTING "t415B IS_SEGMENT = arc_buffer-segment. "t415B
WSTAR_T415B_PRINT_ARCH_DB CALL FUNCTION 'WSTAR_T415B_PRINT_ARCH_DB' "t415B TABLES "t415B IT_MAST = itab_mast. "t415B
ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' exporting archive_handle = handle.
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 RCSARCH3 or its description.