RCMIG_BOM_ARCHIVE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter RCMIG_BOM_ARCHIVE 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.
Selection Text: G_SIMUL = Simulation
Title: Setting the archiving indicator for migrated BOMs
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
CALO_INIT_API CALL FUNCTION 'CALO_INIT_API' EXCEPTIONS log_object_not_found = 1 log_sub_object_not_found = 2 OTHERS = 3.
CMIG_MT_GET_STATUS_ALL CALL FUNCTION 'CMIG_MT_GET_STATUS_ALL' EXPORTING im_only_bom = 'X' TABLES t_status = gt_stat[].
APPL_LOG_DISPLAY_INTERN CALL FUNCTION 'APPL_LOG_DISPLAY_INTERN' EXPORTING object = 'CAPI' EXCEPTIONS object_not_found = 1 subobject_not_found = 2 OTHERS = 3.
GET_STKO CALL FUNCTION 'GET_STKO' EXPORTING all = 'X' datub = '99991231' datuv = '19000102' del = ' ' set = 'X' valid = 'X' TABLES wa = lt_stko EXCEPTIONS call_invalid = 1 end_of_table = 2 get_without_set = 3 key_incomplete = 4 key_invalid = 5 no_record_found = 6 OTHERS = 7.
GET_MAST CALL FUNCTION 'GET_MAST' EXPORTING all = 'X' set = 'X' TABLES wa = lt_mast EXCEPTIONS call_invalid = 1 end_of_table = 2 get_without_set = 3 key_incomplete = 4 key_invalid = 5 no_record_found = 6 OTHERS = 7.
CSAI_BOM_MAINTAIN CALL FUNCTION 'CSAI_BOM_MAINTAIN' EXPORTING ecsin = l_csin estkob = l_stkob estzub = l_stzub fl_no_commit_work = p_simul IMPORTING fl_warning = l_warn EXCEPTIONS error = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RCMIG_BOM_ARCHIVE - Setting the archiving indicator for migrated BOMs RCMIG_BOM_ARCHIVE - Setting the archiving indicator for migrated BOMs RCMIG_BOMSTAT_DELETED - Deletion of entries from status table for BOMs that have been deleted RCMIG_BOMSTAT_DELETED - Deletion of entries from status table for BOMs that have been deleted RCMIG_BOM - Migration: BOM in iPPE Structure RCMIG_BOM - Migration: BOM in iPPE Structure