SAP Reports / Programs

RCMIG_BOM_ARCHIVE SAP ABAP Report - Setting the archiving indicator for migrated BOMs







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


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 RCMIG_BOM_ARCHIVE. "Basic submit
SUBMIT RCMIG_BOM_ARCHIVE AND RETURN. "Return to original report after report execution complete
SUBMIT RCMIG_BOM_ARCHIVE 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: G_SIMUL = Simulation
Title: Setting the archiving indicator for migrated BOMs


INCLUDES used within this REPORT RCMIG_BOM_ARCHIVE

No INCLUDES are used within this REPORT code!


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:

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.



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