SAP Reports / Programs

RCS11011 SAP ABAP Report - Display Document Structure - Level by Level







RCS11011 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 RCS11011 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 RCS11011. "Basic submit
SUBMIT RCS11011 AND RETURN. "Return to original report after report execution complete
SUBMIT RCS11011 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_EMENG = Required Quantity
Selection Text: PM_ERSKZ = Spare Part Indicator
Selection Text: PM_ERSSL = Spare Part Selection Indicator
Selection Text: PM_GBRAZ = Display Validity
Selection Text: PM_LTEXT = Display Item Long Text
Selection Text: PM_MEHRS = Multilevel Explosion
Selection Text: PM_MTNRV = Material
Selection Text: PM_POSTP = Item Category
Selection Text: PM_PRPRF = Profile - Print
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_STKKZ = Plant Maintenance Assembly
Selection Text: PM_STLAL = Alternative
Selection Text: PM_STLAN = BOM Usage
Selection Text: PM_TECHS = Techn status valid from
Selection Text: PM_TECHV = Techn status valid from
Selection Text: PM_UPSAZ = Display Subitems
Selection Text: PM_VOLLS = Display Complete
Selection Text: PM_WERKS = Plant
Selection Text: PM_HEMNG = ?...(PM_HEMNG)
Selection Text: PM_DSPRF = Profile - Screen Display
Selection Text: PM_ALTVO = Alternative Priority
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_DOKAR = Document Type
Selection Text: PM_DOKNR = Document
Selection Text: PM_DOKTL = Document Part





Selection Text: PM_DOKVR = Document Version
Selection Text: PM_DSPCO = Display Assignments
Title: Display Document Structure - Level by Level
Text Symbol: 098 = **** End of list ****
Text Symbol: 050 = Selection Criteria:
Text Symbol: 017 = Description
Text Symbol: 014 = Vers.<-- 5 characs (Version)
Text Symbol: 013 = Base qty <-- 13 digits
Text Symbol: 010 = Document
Text Symbol: 006 = Part <-- 5 characs (Part document)
Text Symbol: 005 = Type <-- 5 characs (Document type)
Text Symbol: 002 = BOM level by level
Text Symbol: 001 = BOM Explosion:


INCLUDES used within this REPORT RCS11011

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:

CS_BOM_EXPL_DOC_V1 call function 'CS_BOM_EXPL_DOC_V1' exporting datuv = pm_datuv docnr = pm_doknr docar = pm_dokar doctl = pm_doktl docvr = pm_dokvr mehrs = pm_mehrs mmory = '1' "YHG020009 postp = pm_postp RLDET = PM_RLDET "note 438371 sanko = pm_sanko sanin = pm_sanin emeng = pm_emeng importing topdoc = selpool tables stb = stb doccat = doccat exceptions call_invalid = 01 document_not_found = 02 missing_authorization = 03 no_bom_found = 04 no_suitable_bom_found = 05 bom_not_active = 06 bom_flagged_for_deletion = 07 bom_without_positions = 08.

CLFC_PROFILE_SIZE call function 'CLFC_PROFILE_SIZE' exporting listid = list_id profile = act_profil importing *del SIZE = SAV_PRFSZ "YHG032486 size = itf_prfsz "YHG032486 exceptions listid_not_found = 01 no_valid_listid = 02 no_valid_profile = 03 profile_not_found = 04 profile_not_in_listid = 05.

CLFC_PROFILE_SIZE call function 'CLFC_PROFILE_SIZE' exporting listid = list_id profile = act_profil importing *del SIZE = SAV_PRFSZ. "YHG032486

BOM_HIERARCHY call function 'BOM_HIERARCHY' exporting werks = ' ' datuv = pm_datuv ltext = pm_ltext postp = pm_postp tdoc = selpool tables stl = stb doc = doccat.

READ_TEXT call function 'READ_TEXT' exporting id = bom_txid language = stb-ltxsp name = txt_key object = bom_txobj importing "HGB057558 header = txhdr "HGB057558 tables lines = txt.

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.

CS_VLIST_BLOCK_FIELD_DOCU call function 'CS_VLIST_BLOCK_FIELD_DOCU' exporting lstid = list_id profl = act_profil.

RS_REFRESH_FROM_SELECTOPTIONS call function 'RS_REFRESH_FROM_SELECTOPTIONS' exporting curr_report = act_repid tables selection_table = inp_sel exceptions not_found = 01 no_report = 02.

REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' exporting i_callback_program = report_name is_layout = alvlo_sel i_save = ' ' 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.

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