RCSARCH4 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 RCSARCH4 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: P_DATUV = Valid from
Selection Text: P_DATUB = Valid to
Selection Text: P_ALLMSG = Display All Messages
Title: Archived BOM: Check Usages
Text Symbol: 031 = Known conflicts
Text Symbol: 030 = Checked BOM
Text Symbol: 027 = Class BOM
Text Symbol: 026 = WBS BOM
Text Symbol: 025 = Standard BOM
Text Symbol: 024 = Functional Location BOM
Text Symbol: 023 = Equipment BOM
Text Symbol: 022 = Sales Order BOM
Text Symbol: 021 = Document Structure
Text Symbol: 020 = Material BOM
Text Symbol: 011 = W/o Deletion Indicator:
Text Symbol: 005 = OK
Text Symbol: 003 = Usage for:
Text Symbol: 002 = Only Type 'M' and 'D' BOMs Are Checked
Text Symbol: 001 = No BOMs Are Selected for Archiving
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
CS_WHERE_USED_MAT CALL FUNCTION 'CS_WHERE_USED_MAT' EXPORTING DATUB = p_datub DATUV = p_datuv MATNR = p_mast-matnr *d STLAN = p_mast-stlan "Note0366837 WERKS = p_mast-werks TABLES WULTB = it_wultb EQUICAT = it_equicat KNDCAT = it_kndcat MATCAT = it_matcat STDCAT = it_stdcat TPLCAT = it_tplcat PRJCAT = IT_PRJCAT EXCEPTIONS OTHERS = 10.
CS_WHERE_USED_DOC CALL FUNCTION 'CS_WHERE_USED_DOC' EXPORTING DATUB = p_datub DATUV = p_datuv DOCAR = p_dost-dokar DOCNR = p_dost-doknr DOCTL = p_dost-doktl DOCVR = p_dost-dokvr WERKS = '*' "Note0366837 TABLES WULTB = it_wultb EQUICAT = it_equicat KNDCAT = it_kndcat MATCAT = it_matcat STDCAT = it_stdcat TPLCAT = it_tplcat PRJCAT = IT_PRJCAT DOCCAT = it_doccat EXCEPTIONS OTHERS = 10.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.