SAP Reports / Programs

RCS00160 SAP ABAP Report - BOM Changes for a Change Number







RCS00160 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program creates a list containing all the BOM changes for a change number...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 RCS00160 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 RCS00160. "Basic submit
SUBMIT RCS00160 AND RETURN. "Return to original report after report execution complete
SUBMIT RCS00160 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: PM_AENNR = Change Number
Title: BOM Changes for a Change Number
Text Symbol: 091 = Change Document:
Text Symbol: 100 = Chg. Order Type
Text Symbol: 101 = Item Number
Text Symbol: 102 = Item
Text Symbol: 103 = Item Category
Text Symbol: 104 = Description
Text Symbol: 105 = Quantity
Text Symbol: 106 = Unit of Measure
Text Symbol: 107 = Valid From
Text Symbol: 108 = Changed On
Text Symbol: 109 = Changed At
Text Symbol: 110 = Changed by
Text Symbol: 111 = Changed Field
Text Symbol: 112 = Old Value
Text Symbol: 113 = New Value
Text Symbol: 114 = Dependency Source Code
Text Symbol: 115 = Alternative
Text Symbol: 116 = BOM Header
Text Symbol: 117 = Object Dependencies
Text Symbol: 118 = Source Code Line
Text Symbol: 501 = Text Change
Text Symbol: 502 = Change
Text Symbol: 503 = Text Deletion
Text Symbol: 505 = Deletion
Text Symbol: 506 = Text Entry
Text Symbol: 507 = Entry
Text Symbol: 508 = Field No Longer Defined in Table
Text Symbol: 509 = Unable to Display Change
Text Symbol: 600 = Abbreviation
Text Symbol: 601 = Description
Text Symbol: HD1 = Hierarchy
Text Symbol: HD2 = Display Legend
Text Symbol: HD3 = BOM Categories
Text Symbol: 090 = Comparison: Previous Item / Subsequent Item
Text Symbol: 001 = Change Number
Text Symbol: 011 = NEW





Text Symbol: 012 = CHG
Text Symbol: 013 = OLD
Text Symbol: 014 = DEL
Text Symbol: 015 = INA
Text Symbol: 016 = INN
Text Symbol: 017 = Ind
Text Symbol: 021 = Material BOM
Text Symbol: 022 = Equipment BOM
Text Symbol: 023 = Usage
Text Symbol: 024 = Document Structure
Text Symbol: 025 = Funct. Loc. BOM
Text Symbol: 026 = Order BOM
Text Symbol: 027 = Standard BOM
Text Symbol: 028 = WBS BOM
Text Symbol: 031 = Header or Item Record Generated
Text Symbol: 033 = Header or Item Record Was Changed
Text Symbol: 034 = Logically Deleted Header or Item Record
Text Symbol: 035 = From Change Number = To Change Number
Text Symbol: 036 = Item (inactive) starts with AEN
Text Symbol: 037 = Item (inactive) ends with AEN
Text Symbol: 041 = Al Material Short Text Plant
Text Symbol: 042 = Al Equipment Short Text Plant
Text Symbol: 043 = Al Document Typ Dpt Vs Descript.
Text Symbol: 044 = Al Functional Location Short Text Plant
Text Symbol: 045 = Al Document Item Material Short Text Plant
Text Symbol: 046 = Al Standard object Short Text Plant
Text Symbol: 047 = Al WBS element Material Short Text Plant
Text Symbol: 051 = Chg Qty Un Description Created by
Text Symbol: 052 = Chg Item Component Item Category Qty Un
Text Symbol: 053 = Description
Text Symbol: 060 = Changes to variant/alternative are invalid (time)
Text Symbol: 071 = New Value:
Text Symbol: 072 = Old Value:


INCLUDES used within this REPORT RCS00160

INCLUDE RCS00160_D0100_PBOO01.
INCLUDE RCS00160_D0100_PAII01.


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:

CSCO_BOM_DISPLAY CALL FUNCTION 'CSCO_BOM_DISPLAY' EXPORTING ecsin = gs_csin-csin_data.






CSCO_BOM_DISPLAY * CALL FUNCTION 'CSCO_BOM_DISPLAY' * EXPORTING * ecsin = csin.

GET_STKO CALL FUNCTION 'GET_STKO' EXPORTING all = kreuz datub = max_grg datuv = min_grg del = kreuz set = kreuz valid = blank1 TABLES wa = stkob EXCEPTIONS key_invalid = 1 no_record_found = 2.

EQUIPMENT_CHECK CALL FUNCTION 'EQUIPMENT_CHECK' EXPORTING equnr = equnr IMPORTING ktx01 = akt_ktext EXCEPTIONS equi_not_found = 4.

CUKD_GET_RELATIONS_FOR_OBJECT CALL FUNCTION 'CUKD_GET_RELATIONS_FOR_OBJECT' EXPORTING objectkey = knobj table = kntab date = csin-datuv TABLES cukdtb = t_cukd EXCEPTIONS no_relation_found = 01.

CUKD_GET_KNOWLEDGE CALL FUNCTION 'CUKD_GET_KNOWLEDGE' EXPORTING relation = t_cukd-knnam relation_nr = t_cukd-kninr date = csin-datuv TABLES knowledge_tab = t EXCEPTIONS no_knowledge_found = 01 no_relation_found = 02.

FUNC_LOCATION_READ CALL FUNCTION 'FUNC_LOCATION_READ' EXPORTING spras = sy-langu tplnr = tplnr IMPORTING pltxt = akt_ktext EXCEPTIONS iflot_not_found = 01 iloa_not_found = 02.

CONVERSION_EXIT_CCMAT_OUTPUT * CALL FUNCTION 'CONVERSION_EXIT_CCMAT_OUTPUT' * exporting * input = mastb-matnr * importing * output = mastb-matnr.

CONVERSION_EXIT_CCMAT_OUTPUT * CALL FUNCTION 'CONVERSION_EXIT_CCMAT_OUTPUT' * exporting * input = postab-idnrk * importing * output = postab-idnrk.

CLMA_CLASS_EXIST CALL FUNCTION 'CLMA_CLASS_EXIST' EXPORTING class = stpob-class classtype = stpob-klart date = sy-datum description_only = kreuz language = sy-langu IMPORTING class_description = akt_ktext EXCEPTIONS no_valid_sign = 01.

CSGU_RECORDS_COMPARE CALL FUNCTION 'CSGU_RECORDS_COMPARE' EXPORTING new_record = stko old_record = *stko tabname = 'STKO' TABLES changed_fields = outtab EXCEPTIONS no_change = 01.

CSGU_RECORDS_COMPARE CALL FUNCTION 'CSGU_RECORDS_COMPARE' EXPORTING new_record = stpo old_record = *stpo tabname = 'STPO' TABLES changed_fields = outtab EXCEPTIONS no_change = 01.

CHANGEDOCUMENT_READ_HEADERS CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS' EXPORTING objectclass = objclas objectid = objectid username = username TABLES i_cdhdr = icdhdr EXCEPTIONS no_position_found = 1 wrong_access_to_archive = 2 OTHERS = 3.

CHANGEDOCUMENT_READ_POSITIONS CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS' "note415520 EXPORTING changenumber = icdhdr-changenr tablename = l_tabname "note415520 TABLES "note415520 editpos_with_header = lt_cdred "note415520 EXCEPTIONS "note415520 no_position_found = 1 "note415520 wrong_access_to_archive = 2 "note415520 OTHERS = 3. "note415520

CHANGEDOCUMENT_READ_POSITIONS CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS' EXPORTING changenumber = icdhdr-changenr TABLES editpos = ausg EXCEPTIONS no_position_found = 1 wrong_access_to_archive = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = image_expand info = gf_node_text IMPORTING RESULT = lf_icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = image_collapse info = gf_node_text IMPORTING RESULT = lf_icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 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 RCS00160 or its description.