SAP Reports / Programs

RCS13001 SAP ABAP Report - Summarized BOM - Multilevel







RCS13001 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 RCS13001 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 RCS13001. "Basic submit
SUBMIT RCS13001 AND RETURN. "Return to original report after report execution complete
SUBMIT RCS13001 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_ALVSA = Variable List
Selection Text: PM_AUSCH = Take Scrap into Account
Selection Text: PM_BAGRP = Assembly
Selection Text: PM_BEIKZ = Material Provision Indicator
Selection Text: PM_BESSL = Mat. Prov. Selection Indicator
Selection Text: PM_BREMS = Limited Explosion
Selection Text: PM_CAPID = Application
Selection Text: PM_DATUV = Valid on
Selection Text: PM_DRLDT = Display (Doc.) Revision Level
Selection Text: PM_DSPCO = Display Assignments
Selection Text: PM_DSPRF = Display Profile
Selection Text: PM_EHNDL = Consider Usage Probability
Selection Text: PM_EMENG = Required Quantity
Selection Text: PM_ERSKZ = Spare Part Indicator
Selection Text: PM_ERSSL = Spare Part Selection Indicator
Selection Text: PM_IDNRK = Component
Selection Text: PM_LTEXT = Item Long Text
Selection Text: PM_MTNRV = Material
Selection Text: PM_POSTP = Item Category
Selection Text: PM_PRPRF = Print Profile
Selection Text: PM_PSPNR = Project Number
Selection Text: PM_RVREL = Relevant to SD
Selection Text: PM_SANFE = Production
Selection Text: PM_SANIN = Plant Maintenance
Selection Text: PM_SANKA = Costing
Selection Text: PM_SANKO = Engineering
Selection Text: PM_SANVS = Shipping
Selection Text: PM_SCHGT = Bulk Material
Selection Text: PM_SORTK = Sort
Selection Text: PM_STKKZ = PM Assembly
Selection Text: PM_STLAL = Alternative
Selection Text: PM_STLAN = BOM Usage
Selection Text: PM_STPST = Explosion Level
Selection Text: PM_TECHS = Param. Effectivity Val. Assgmt
Selection Text: PM_VBELN = Sales Order
Selection Text: PM_VBPOS = Sales Order Item
Selection Text: PM_WERKS = Plant
Selection Text: PM_ZSTNR = Display Subassemblies





Selection Text: PM_ALTVO = Alternative Priority
Selection Text: PM_AENNR = Change Number
Title: Summarized BOM - Multilevel
Text Symbol: 001 = BOM Explosion:
Text Symbol: 002 = Summarized BOM
Text Symbol: 005 = Plant
Text Symbol: 006 = Usage
Text Symbol: 007 = Valid
Text Symbol: 008 = RevLv<-- 5 Digits
Text Symbol: 009 = Reqd Qty <-- 11 Digits
Text Symbol: 010 = Material <-- 11 Digits
Text Symbol: 013 = Base Qty <-- 13 Digits
Text Symbol: 014 = Alt. <-- 5 Characters
Text Symbol: 015 = Component no. Qty Un
Text Symbol: 016 = Valid From - To
Text Symbol: 017 = SortStrng
Text Symbol: 018 = Prod Eng. Cost PM Ship SD
Text Symbol: 019 = Description
Text Symbol: 020 = Parameter Effectivity:
Text Symbol: 025 = Sales Order
Text Symbol: 026 = Item
Text Symbol: 028 = WBS Element
Text Symbol: 029 = Mat. <-- 5 Characs (Material)
Text Symbol: 030 = Exception messages:
Text Symbol: 031 = * Access denied (authorization group)
Text Symbol: 032 = * Recursion Check Off
Text Symbol: 034 = * Recursive
Text Symbol: 035 = * Alternative
Text Symbol: 036 = does not exist
Text Symbol: 038 = * not active
Text Symbol: 039 = * deleted
Text Symbol: 050 = Selection Criteria:
Text Symbol: 097 = *** Long Text Not Found ***
Text Symbol: 098 = *** End of List ***
Text Symbol: 099 = | |
Text Symbol: 101 = Variant BOM
Text Symbol: 102 = Multiple BOM
Text Symbol: 103 = Combinable Assembly
Text Symbol: 800 = Graphical Display of BOM





INCLUDES used within this REPORT RCS13001

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:

CC_CHANGE_NUMBER_READ CALL FUNCTION 'CC_CHANGE_NUMBER_READ' "HGA084505 EXPORTING "HGA084505 eaennr = pm_aennr "HGA084505 IMPORTING "HGA084505 *d atechs = anr_techs "HGA084505"HGA154419 adatuv = anr_datuv. "HGA084505

CS_BOM_EXPL_MAT_V2 CALL FUNCTION 'CS_BOM_EXPL_MAT_V2' EXPORTING altvo = pm_altvo aufsw = ' ' auskz = pm_ausch bagrp = pm_bagrp beikz = pm_beikz bessl = pm_bessl brems = pm_brems capid = pm_capid datuv = pm_datuv DRLDT = PM_DRLDT "note 438371 ehndl = pm_ehndl "HGA108310 emeng = pm_emeng erskz = pm_erskz erssl = pm_erssl mbwls = ' ' mtnrv = pm_mtnrv mehrs = 'X' *del MMORY = '1' "YHG020009"HGB070841 mmory = mem_mngmt "HGB070841 postp = pm_postp sanko = pm_sanko sanfr = pm_sanfe sanka = pm_sanka sanin = pm_sanin sanvs = pm_sanvs rndkz = tcspr-amekz "YHG100738 rvrel = pm_rvrel schgt = pm_schgt stkkz = pm_stkkz stlal = pm_stlal stlan = pm_stlan stpst = pm_stpst "HGD246532 werks = pm_werks aumgb = 'X' "NOTE_887365 IMPORTING topmat = selpool dstst = dstst_flg "YHG132854 TABLES stb = stb matcat = matcat EXCEPTIONS material_not_found = 4 no_plant_data = 8 no_bom_found = 12 no_suitable_bom_found = 16 alt_not_found = 24 *d missing_authorization = 28. "HGD059252

SD_VBAP_SELECT CALL FUNCTION 'SD_VBAP_SELECT' "HGB084505 EXPORTING "HGB084505 i_document_number = pm_vbeln "HGB084505 i_item_number = pm_vbpos "HGB084505 IMPORTING "HGB084505 e_vbap = vbap_wa "HGB084505 EXCEPTIONS "HGB084505 item_not_found = 1 "HGB084505 OTHERS = 2. "HGB084505

GET_KDST *d call function 'GET_KDST' "HGA033687"HGC059252 *d exporting "HGA033687"HGC059252 *d all = 'X' "HGA033687"HGC059252 *d no_buffer = ' ' "HGA033687"HGC059252 *d set = 'X' "HGA033687"HGC059252 *d tables "HGA033687"HGC059252 *d wa = wa_kdstb "HGA033687"HGC059252 *d exceptions "HGA033687"HGC059252 *d* CALL_INVALID = 1 "HGC059252 *d* END_OF_TABLE = 2 "HGC059252 *d* GET_WITHOUT_SET = 3 "HGC059252 *d* KEY_INCOMPLETE = 4 "HGC059252 *d* KEY_INVALID = 5 "HGC059252 *d no_record_found = 32 "HGA033687"HGC059252 *d* OTHERS = 7 "HGC059252 *d . "HGA033687"HGC059252

CS_BOM_EXPL_KND_V1 CALL FUNCTION 'CS_BOM_EXPL_KND_V1' "HGB084505 EXPORTING "HGB084505 altvo = pm_altvo "HGB084505 aufsw = ' ' "HGB084505 auskz = pm_ausch "HGB084505 bagrp = pm_bagrp "HGB084505 beikz = pm_beikz "HGB084505 bessl = pm_bessl "HGB084505 brems = pm_brems "HGB084505 capid = pm_capid "HGB084505 cuobj = vbap_wa-cuobj "HGB084505 datuv = pm_datuv "HGB084505 DRLDT = PM_DRLDT "note 438371 ehndl = pm_ehndl "HGB084505 emeng = pm_emeng "HGB084505 erskz = pm_erskz "HGB084505 erssl = pm_erssl "HGB084505 mbwls = ' ' "HGB084505 mtnrv = vbap_wa-matnr "HGB084505 mehrs = 'X' "HGB084505 mmory = mem_mngmt "HGB084505 postp = pm_postp "HGB084505 sanko = pm_sanko "HGB084505 sanfr = pm_sanfe "HGB084505 sanka = pm_sanka "HGB084505 sanin = pm_sanin "HGB084505 sanvs = pm_sanvs "HGB084505 rndkz = tcspr-amekz "HGB084505 rvrel = pm_rvrel "HGB084505 schgt = pm_schgt "HGB084505 stkkz = pm_stkkz "HGB084505 stlal = pm_stlal "HGB084505 stlan = pm_stlan "HGB084505 stpst = pm_stpst "HGD246532 werks = vbap_wa-werks "HGB084505 vbeln = pm_vbeln "HGB084505 vbpos = pm_vbpos "HGB084505 IMPORTING "HGB084505 topmat = selpool "HGB084505 dstst = dstst_flg "HGB084505 TABLES "HGB084505 stb = stb "HGB084505 matcat = matcat "HGB084505 EXCEPTIONS "HGB084505 material_not_found = 4 "HGB084505 no_plant_data = 8 "HGB084505 *d no_bom_found = 12 "HGB084505"HGC059252 no_bom_found = 32 "HGC059252 no_suitable_bom_found = 16 "HGB084505 alt_not_found = 24 "HGB084505 *d missing_authorization = 28. "HGB084505"HGD059252

CS_BOM_EXPL_KND_V1 CALL FUNCTION 'CS_BOM_EXPL_KND_V1' EXPORTING altvo = pm_altvo aufsw = ' ' auskz = pm_ausch bagrp = pm_bagrp beikz = pm_beikz bessl = pm_bessl brems = pm_brems capid = pm_capid cuobj = vbap_wa-cuobj datuv = pm_datuv DRLDT = PM_DRLDT ehndl = pm_ehndl emeng = pm_emeng erskz = pm_erskz erssl = pm_erssl mbwls = ' ' mtnrv = pm_mtnrv mehrs = 'X' mmory = mem_mngmt postp = pm_postp sanko = pm_sanko sanfr = pm_sanfe sanka = pm_sanka sanin = pm_sanin sanvs = pm_sanvs rndkz = tcspr-amekz rvrel = pm_rvrel schgt = pm_schgt stkkz = pm_stkkz stlal = pm_stlal stlan = pm_stlan stpst = pm_stpst werks = vbap_wa-werks vbeln = pm_vbeln vbpos = pm_vbpos IMPORTING topmat = selpool dstst = dstst_flg TABLES stb = stb matcat = matcat EXCEPTIONS material_not_found = 4 no_plant_data = 8 no_bom_found = 32 no_suitable_bom_found = 16 alt_not_found = 24 missing_authorization = 28 conversion_error = 36.

CS_BOM_EXPL_PSP_V1 CALL FUNCTION 'CS_BOM_EXPL_PSP_V1' "HGA046836 EXPORTING "HGA046836 altvo = pm_altvo "HGA046836 aufsw = ' ' "HGA046836 auskz = pm_ausch "HGA046836 bagrp = pm_bagrp "HGA046836 beikz = pm_beikz "HGA046836 bessl = pm_bessl "HGA046836 brems = pm_brems "HGA046836 capid = pm_capid "HGA046836 datuv = pm_datuv "HGA046836 DRLDT = PM_DRLDT "note 438371 ehndl = pm_ehndl "HGA046836 emeng = pm_emeng "HGA046836 erskz = pm_erskz "HGA046836 erssl = pm_erssl "HGA046836 mbwls = ' ' "HGA046836 mehrs = 'X' "HGA046836 mmory = mem_mngmt "HGA046836 mtnrv = pm_mtnrv "HGA046836 postp = pm_postp "HGA046836 pspnr = pm_pspnr "HGA046836 rndkz = tcspr-amekz "HGA046836 rvrel = pm_rvrel "HGA046836 sanko = pm_sanko "HGA046836 sanfr = pm_sanfe "HGA046836 sanin = pm_sanin "HGA046836 sanka = pm_sanka "HGA046836 sanvs = pm_sanvs "HGA046836 schgt = pm_schgt "HGA046836 stkkz = pm_stkkz "HGA046836 stlal = pm_stlal "HGA046836 stlan = pm_stlan "HGA046836 stpst = pm_stpst "HGD246532 werks = pm_werks "HGA046836 IMPORTING "HGA046836 topmat = selpool "HGA046836 dstst = dstst_flg "HGA046836 TABLES "HGA046836 stb = stb "HGA046836 matcat = matcat "HGA046836 EXCEPTIONS "HGA046836 material_not_found = 4 "HGA046836 no_plant_data = 8 "HGA046836 no_suitable_bom_found = 16 "HGA046836 alt_not_found = 24 "HGA046836 missing_authorization = 28 "HGA046836 conversion_error = 36 "HGA046836 no_bom_found = 40 "HGA046836 . "HGA046836

FORMAT_TEXTLINES CALL FUNCTION 'FORMAT_TEXTLINES' "HGA132240 EXPORTING "HGA132240 *d FORMATWIDTH = 41 "HGA132240 FORMATWIDTH = 40 "note 667950 LINEWIDTH = 40 "note 875961 TABLES "HGA132240 LINES = TXT. "HGA132240

CLFC_PROFILE_SIZE CALL FUNCTION 'CLFC_PROFILE_SIZE' "YHG134557 EXPORTING "YHG134557 *del LISTID = 'SAPCSSMXM '"YHG134557"YHG137424 listid = list_id "YHG137424 profile = act_profil "YHG134557 IMPORTING "YHG134557 *del SIZE = SAV_PRFSZ "YHG134557"YHG032486 size = itf_prfsz "YHG032486 EXCEPTIONS "YHG134557 listid_not_found = 01 "YHG134557 no_valid_listid = 02 "YHG134557 no_valid_profile = 03 "YHG134557 profile_not_found = 04 "YHG134557 profile_not_in_listid = 05. "YHG134557

CLFC_PROFILE_SIZE CALL FUNCTION 'CLFC_PROFILE_SIZE' "YHG137424 EXPORTING "YHG137424 listid = list_id "YHG137424 profile = act_profil "YHG137424 IMPORTING "YHG137424 *del SIZE = SAV_PRFSZ. "YHG137424"YHG032486

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = bom_txid *del LANGUAGE = SY-LANGU "YHG062728 language = stb-ltxsp "YHG062728 name = txt_key object = bom_txobj IMPORTING "HGB057558 header = txhdr "HGB057558 TABLES *d lines = txt. "HGA029649

TEXT_INCLUDE_REPLACE CALL FUNCTION 'TEXT_INCLUDE_REPLACE' "HGB057558 EXPORTING "HGB057558 header = txhdr "HGB057558 TABLES "HGB057558 lines = txt. "HGB057558

CS_VLIST_BLOCK_PROCESSING CALL FUNCTION 'CS_VLIST_BLOCK_PROCESSING' EXPORTING blcnm = lcl_blcnm lstid = lcl_lstid profl = lcl_profl first = lcl_first rshift = val_shift newline = lcl_nline IMPORTING eoblc = eoblc lnmpt = lnmpt_flg TABLES watab = watab EXCEPTIONS call_invalid = 4.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = report_name is_layout = alvlo_sel i_save = ' ' is_variant = alvvr "note 877609 it_fieldcat = sel_fields_tb it_events = alv_evnt_tb_pfxt i_screen_start_column = 7 i_screen_start_line = 8 i_screen_end_column = 71 i_screen_end_line = 16 IMPORTING e_exit_caused_by_caller = exit_by_caller es_exit_caused_by_user = exit_by_user TABLES t_outtab = dsp_sel EXCEPTIONS program_error = 1 OTHERS = 2.

RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = report_name TABLES selection_table = inp_sel EXCEPTIONS not_found = 01 no_report = 02.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = event_tb.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = ICON_BOM info = text-074 IMPORTING RESULT = stb_add-objic EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = ICON_MATERIAL info = text-070 IMPORTING RESULT = stb_add-objic EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.




ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = ICON_BOM info = text-074 IMPORTING RESULT = stb_add-objic EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = ICON_MATERIAL info = text-070 IMPORTING RESULT = stb_add-objic EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = ICON_CHANGE_TEXT info = text-073 IMPORTING RESULT = stb_add-objic EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = ICON_DOCUMENT info = text-071 IMPORTING RESULT = stb_add-objic EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = ICON_OO_CLASS info = text-072 IMPORTING RESULT = stb_add-objic EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = alv_top_tb.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = report_name is_layout = alvlo_xcpt i_save = ' ' is_variant = alvvr "note 877609 it_fieldcat = xcpt_fields_tb it_events = alv_evnt_tb_pfxt i_screen_start_column = 4 i_screen_start_line = 4 i_screen_end_column = 87 i_screen_end_line = 12 IMPORTING e_exit_caused_by_caller = exit_by_caller es_exit_caused_by_user = exit_by_user TABLES t_outtab = xcpt_tb EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = report_name i_structure_name = 'STPOX_ALV' is_layout = alvlo_stb i_save = alvvr_sav_all is_variant = alvvr it_events = alv_evnt_tb_cmpl it_fieldcat = stb_fields_tb IMPORTING e_exit_caused_by_caller = exit_by_caller es_exit_caused_by_user = exit_by_user TABLES t_outtab = alv_stb EXCEPTIONS program_error = 1 OTHERS = 2.

GET_FIELDTAB *dCALL FUNCTION 'GET_FIELDTAB' "uc 070302 *d EXPORTING "uc 070302 *d langu = sy-langu "uc 070302 *d tabname = 'STPOX_ALV' "uc 070302 *d withtext = ' ' "uc 070302 *d only = 'T' "uc 070302 *d TABLES "uc 070302 *d fieldtab = ftab "uc 070302 *d EXCEPTIONS "uc 070302 *d OTHERS = 1. "uc 070302

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' "uc 070302 EXPORTING "uc 070302 LANGU = SY-LANGU "uc 070302 TABNAME = 'STPOX_ALV' "uc 070302 * UCLEN = '01' "uc 070302 TABLES "uc 070302 DFIES_TAB = ftab "uc 070302 EXCEPTIONS "uc 070302 OTHERS = 1. "uc 070302



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