SAP Reports / Programs | Logistics - General | Logistics Basic Data | Bills of Material(LO-MD-BOM) SAP LO

RCSARCH3 SAP ABAP Report - Program for reading archived BOMs







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


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 RCSARCH3. "Basic submit
SUBMIT RCSARCH3 AND RETURN. "Return to original report after report execution complete
SUBMIT RCSARCH3 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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





Text Symbol: 027 = BOM Group
Text Symbol: 026 = Functional Location
Text Symbol: 025 = Standard Object
Text Symbol: 101 = Archived Alternative BOMs
Text Symbol: 099 = Project-BOM Link
Text Symbol: 097 = BOM Node
Text Symbol: 096 = BOM Component
Text Symbol: 091 = BOM Subitem
Text Symbol: 090 = BOM Follow-Up Control
Text Symbol: 089 = BOM Items
Text Symbol: 088 = Choice of Items (BOMs)
Text Symbol: 087 = Permanent BOM Data
Text Symbol: 086 = Functional Location-BOM Link
Text Symbol: 085 = Standard BOM Link
Text Symbol: 084 = Material-BOM Link
Text Symbol: 083 = Sales order-BOM Link
Text Symbol: 082 = Equipment-BOM Link
Text Symbol: 081 = Document-BOM Link
Text Symbol: 080 = BOM Header
Text Symbol: 072 = Description
Text Symbol: 071 = Entries
Text Symbol: 070 = Database Table
Text Symbol: 051 = Delet.Ind.
Text Symbol: 900 = Item - Object Dependencies
Text Symbol: 700 = No objects in the list
Text Symbol: 615 = Belongs to a BOM object that has not been deleted - not deleted because at least one entry is obsolete
Text Symbol: 614 = Belongs to a deleted BOM object - was deleted provided that a reference no longer exists
Text Symbol: 612 = Sel. for deletion - will be deleted provided that the current status is archived and no reference exists
Text Symbol: 611 = This field is for assignment - it can be deleted if a reference no longer exists
Text Symbol: 610 = This field is for assignment only - it will not be deleted from the system in the deletion run
Text Symbol: 508 = BOM objects of the archiving session
Text Symbol: 503 = The following BOM database entries will not be deleted because their archive status is outdated :
Text Symbol: 502 = The following BOM database entries have not been deleted because their archive status is outdated :
Text Symbol: 501 = The following BOM database entries appear in the archive and would be deleted
Text Symbol: 500 = The following BOM database entries have been deleted :
Text Symbol: 405 = Current Archive Status (These Entries Will Be Deleted During Delete Phase)
Text Symbol: 404 = Obsolete Archive Status (These Entries Will Not Be Deleted in the Deletion Run)
Text Symbol: 403 = Archive Contents Overview
Text Symbol: 402 = BOM database entries not deleted due to an obsolete archive status





Text Symbol: 401 = Deleted BOM Database Entries
Text Symbol: 400 = Test Run Overview
Text Symbol: 102 = ------------------------------------------------------------------------


INCLUDES used within this REPORT RCSARCH3

INCLUDE CSARFP01.


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 = 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.



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