SAP Reports / Programs

RCS15011 SAP ABAP Report - Single-level where-used for document







RCS15011 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 RCS15011 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 RCS15011. "Basic submit
SUBMIT RCS15011 AND RETURN. "Return to original report after report execution complete
SUBMIT RCS15011 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_DATUB = Valid-To Date
Selection Text: PM_DATUV = Valid-From Date
Selection Text: PM_DIRKT = Direct
Selection Text: PM_DOCTP = Usage in Document Structures
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_DSPRF = Display Profile
Selection Text: PM_EMENG = Required Quantity
Selection Text: PM_EQUTP = Use in Equipment BOMs
Selection Text: PM_KNDTP = Usage in Sales Order BOMs
Selection Text: PM_LTEXT = Display Item Long Text
Selection Text: PM_MATTP = Use in Material BOMs
Selection Text: PM_POSTP = Item Category
Selection Text: PM_PRJTP = Usage in WBS BOM
Selection Text: PM_PRPRF = Print Profile
Selection Text: PM_RLDET = Determine Revision Level
Selection Text: PM_RMENG = Resulting Quantity
Selection Text: PM_STDTP = Use in Standard BOMs
Selection Text: PM_STLAN = BOM Usage
Selection Text: PM_TPLTP = Use in funct. loc. BOMs
Selection Text: PM_UEBKL = Via Class
Selection Text: PM_WERKS = Plant
Title: Single-level where-used for document
Text Symbol: 115 = * Problem with Conversion
Text Symbol: 114 = * BOMs Not Valid
Text Symbol: 001 = Where-Used List: Document Single-Level
Text Symbol: 002 = Single-level where-used for document
Text Symbol: 003 = *** BOM not valid on ***
Text Symbol: 006 = ********* E N D O F L I S T *********
Text Symbol: 007 = Document
Text Symbol: 008 = Lv U Plnt Equipment no. Al Item Qty Un Resulting qty Un
Text Symbol: 009 = Lv U Plnt Material no. RL Al Item Qty Un Resulting qty Un
Text Symbol: 010 = Description DID
Text Symbol: 011 = Lv U Plnt Equipment no. Al Item Qty Un Resulting qty Un Cl
Text Symbol: 012 = Lv U Plnt Material no. RL Al Item Qty Un Resulting qty Un Cl





Text Symbol: 013 = Version
Text Symbol: 014 = Description DID Valid from - to
Text Symbol: 015 = Valid
Text Symbol: 016 = Valid on
Text Symbol: 017 = Type
Text Symbol: 018 = Doc. part
Text Symbol: 019 = Description
Text Symbol: 021 = Key Date
Text Symbol: 040 = Fix
Text Symbol: 050 = Selection Criteria:
Text Symbol: 098 = *** End of List ***
Text Symbol: 099 = | |
Text Symbol: 100 = Exception Messages:
Text Symbol: 110 = * BOMs Marked for Deletion
Text Symbol: 111 = * Recursion Check Off
Text Symbol: 112 = * Recursive BOMs
Text Symbol: 113 = * Access denied (authorization group):


INCLUDES used within this REPORT RCS15011

INCLUDE RCS15NNT.


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_WHERE_USED_DOC CALL FUNCTION 'CS_WHERE_USED_DOC' EXPORTING DATUB = PM_DATUB DATUV = PM_DATUV DOCNR = PM_DOKNR DOCAR = PM_DOKAR DOCTL = PM_DOKTL DOCVR = PM_DOKVR POSTP = PM_POSTP STLAN = PM_STLAN WERKS = PM_WERKS STLTP = STLTP_IN "note 308150 IMPORTING TOPDOC = SELPOOL TABLES WULTB = LTB DOCCAT = DOCCAT "YHG109798 EQUICAT = EQUICAT "YHG109798 KNDCAT = KNDCAT "YHG109798 PRJCAT = PRJCAT "MBA008292 MATCAT = MATCAT "YHG109798 STDCAT = STDCAT "YHG109798 TPLCAT = TPLCAT "YHG109798 EXCEPTIONS * CALL_INVALID = 01 DOCUMENT_NOT_FOUND = 02 NO_WHERE_USED_REC_FOUND = 03 NO_WHERE_USED_REC_SELECTED = 04 NO_WHERE_USED_REC_VALID = 05.

CS_WHERE_USED_DOC_VIA_CLA CALL FUNCTION 'CS_WHERE_USED_DOC_VIA_CLA' "YHG077203 EXPORTING "YHG077203 DATUB = PM_DATUB "YHG077203 DATUV = PM_DATUV "YHG077203 DOCNR = PM_DOKNR "YHG077203 DOCAR = PM_DOKAR "YHG077203 DOCTL = PM_DOKTL "YHG077203 DOCVR = PM_DOKVR "YHG077203 POSTP = PM_POSTP "YHG077203 STLAN = PM_STLAN "YHG077203 WERKS = PM_WERKS "YHG077203 STLTP = STLTP_IN "note 308150 IMPORTING "YHG077203 TOPDOC = SELPOOL "YHG077203 TABLES "YHG077203 WULTB = LTB "YHG077203 DOCCAT = DOCCAT "YHG110068 EQUICAT = EQUICAT "YHG110068 KNDCAT = KNDCAT "YHG110068 PRJCAT = PRJCAT "MBA008292 MATCAT = MATCAT "YHG110068 STDCAT = STDCAT "YHG110068 TPLCAT = TPLCAT "YHG110068 EXCEPTIONS "YHG077203 * CALL_INVALID = 01 "YHG077203 DOCUMENT_NOT_FOUND = 02 "YHG077203 NO_WHERE_USED_REC_FOUND = 03 "YHG077203 NO_WHERE_USED_REC_SELECTED = 04 "YHG077203 NO_WHERE_USED_REC_VALID = 05. "YHG077203

CS_WHERE_USED_DOC_ANY CALL FUNCTION 'CS_WHERE_USED_DOC_ANY' "YHG077203 EXPORTING "YHG077203 DATUB = PM_DATUB "YHG077203 DATUV = PM_DATUV "YHG077203 DOCNR = PM_DOKNR "YHG077203 DOCAR = PM_DOKAR "YHG077203 DOCTL = PM_DOKTL "YHG077203 DOCVR = PM_DOKVR "YHG077203 POSTP = PM_POSTP "YHG077203 STLAN = PM_STLAN "YHG077203 WERKS = PM_WERKS "YHG077203 STLTP = STLTP_IN "note 308150 IMPORTING "YHG077203 TOPDOC = SELPOOL "YHG077203 TABLES "YHG077203 WULTB = LTB "YHG077203 DOCCAT = DOCCAT "YHG110068 EQUICAT = EQUICAT "YHG110068 KNDCAT = KNDCAT "YHG110068 PRJCAT = PRJCAT "MBA008292 MATCAT = MATCAT "YHG110068 STDCAT = STDCAT "YHG110068 TPLCAT = TPLCAT "YHG110068 EXCEPTIONS "YHG077203 * CALL_INVALID = 01 "YHG077203 DOCUMENT_NOT_FOUND = 02 "YHG077203 NO_WHERE_USED_REC_FOUND = 03 "YHG077203 NO_WHERE_USED_REC_SELECTED = 04 "YHG077203 NO_WHERE_USED_REC_VALID = 05. "YHG077203

CLFC_PROFILE_SIZE CALL FUNCTION 'CLFC_PROFILE_SIZE' "YHG110068 EXPORTING "YHG110068 LISTID = LIST_ID "YHG110068 PROFILE = ACT_PROFIL "YHG110068 IMPORTING "YHG110068 *del SIZE = SAV_PRFSZ "YHG110068"YHG032486 SIZE = ITF_PRFSZ "YHG032486 EXCEPTIONS "YHG110068 LISTID_NOT_FOUND = 01 "YHG110068 NO_VALID_LISTID = 02 "YHG110068 NO_VALID_PROFILE = 03 "YHG110068 PROFILE_NOT_FOUND = 04 "YHG110068 PROFILE_NOT_IN_LISTID = 05. "YHG110068

CLFC_PROFILE_SIZE CALL FUNCTION 'CLFC_PROFILE_SIZE' "YHG135858 EXPORTING "YHG135858 LISTID = LIST_ID "YHG135858 PROFILE = ACT_PROFIL "YHG135858 IMPORTING "YHG135858 *del SIZE = SAV_PRFSZ. "YHG135858"YHG032486

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 = ' ' 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' "Acc 2004 EXPORTING "Acc 2004 name = ICON_DOCUMENT "Acc 2004 IMPORTING "Acc 2004 result = ltb_add-objic "Acc 2004 EXCEPTIONS "Acc 2004 icon_not_found = 1 "Acc 2004 outputfield_too_short = 2 "Acc 2004 others = 3. "Acc 2004

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "Acc 2004 EXPORTING "Acc 2004 name = ICON_EQUIPMENT "Acc 2004 IMPORTING "Acc 2004 result = ltb_add-objic "Acc 2004 EXCEPTIONS "Acc 2004 icon_not_found = 1 "Acc 2004 outputfield_too_short = 2 "Acc 2004 others = 3. "Acc 2004

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "Acc 2004 EXPORTING "Acc 2004 name = ICON_ORDER "Acc 2004 IMPORTING "Acc 2004 result = ltb_add-objic "Acc 2004 EXCEPTIONS "Acc 2004 icon_not_found = 1 "Acc 2004 outputfield_too_short = 2 "Acc 2004 others = 3. "Acc 2004

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "Acc 2004 EXPORTING "Acc 2004 name = ICON_MATERIAL "Acc 2004 IMPORTING "Acc 2004 result = ltb_add-objic "Acc 2004 EXCEPTIONS "Acc 2004 icon_not_found = 1 "Acc 2004 outputfield_too_short = 2 "Acc 2004 others = 3. "Acc 2004

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "Acc 2004 EXPORTING "Acc 2004 name = ICON_PS_WBS_ELEMENT "Acc 2004 IMPORTING "Acc 2004 result = ltb_add-objic "Acc 2004 EXCEPTIONS "Acc 2004 icon_not_found = 1 "Acc 2004 outputfield_too_short = 2 "Acc 2004 others = 3. "Acc 2004

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "Acc 2004 EXPORTING "Acc 2004 name = ICON_DUMMY "Acc 2004 IMPORTING "Acc 2004 result = ltb_add-objic "Acc 2004 EXCEPTIONS "Acc 2004 icon_not_found = 1 "Acc 2004 outputfield_too_short = 2 "Acc 2004 others = 3. "Acc 2004

ICON_CREATE CALL FUNCTION 'ICON_CREATE' "Acc 2004 EXPORTING "Acc 2004 name = ICON_TECHNICAL_PLACE "Acc 2004 IMPORTING "Acc 2004 result = ltb_add-objic "Acc 2004 EXCEPTIONS "Acc 2004 icon_not_found = 1 "Acc 2004 outputfield_too_short = 2 "Acc 2004 others = 3. "Acc 2004

CONVERSION_EXIT_TPLNR_OUTPUT *CALL FUNCTION 'CONVERSION_EXIT_TPLNR_OUTPUT' * EXPORTING * INPUT = ltb_add-DOBJT * IMPORTING * OUTPUT = ltb_add-DOBJT * .

CONVERSION_EXIT_TPLNR_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_TPLNR_OUTPUT' EXPORTING INPUT = ltb_add-dobjt(20) IMPORTING OUTPUT = ltb_add-tplnr .

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 = ' ' 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 = 'STPOV_ALV' is_layout = alvlo_ltb i_save = alvvr_sav_all is_variant = alvvr it_events = alv_evnt_tb_cmpl it_fieldcat = ltb_fields_tb IMPORTING e_exit_caused_by_caller = exit_by_caller es_exit_caused_by_user = exit_by_user TABLES t_outtab = alv_ltb 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 = 'STPOV_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 = 'STPOV_ALV' "uc 070302 * UCLEN = '01' "uc 070302 TABLES "uc 070302 DFIES_TAB = ftab "uc 070302 EXCEPTIONS "uc 070302 OTHERS = 1. "uc 070302

REVISION_LEVEL_SELECT CALL FUNCTION 'REVISION_LEVEL_SELECT' "note 438371 EXPORTING DOKAR = I_DOKAR "note 438371 DOKNR = I_DOKNR "note 438371 DOKTL = I_DOKTL "note 438371 DOKVR = I_DOKVR "note 438371 AEOBJ = '3' "note 438371 IMPORTING AREVLV = C_REVLV "note 438371 *d EXCEPTIONS date_not_found = 1 "note 438371"note 504693 *d input_incomplete = 2 "note 438371"note 504693 *d input_inconsistent = 3 "note 438371"note 504693 *d revision_not_found = 4. "note 438371"note 504693



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