/OPT/CP_CODE_SEARCH 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 /OPT/CP_CODE_SEARCH 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: SPROG = Programs
Selection Text: SDEVC = Dev classes
Selection Text: PDEF = use old defination
Selection Text: PCONST = Searh Term
Title: Search program or Dev class objects for string
Text Symbol: N01 = Optura Constant
Text Symbol: 019 = Constant Value
Text Symbol: 018 = Description
Text Symbol: 017 = Constant Name
Text Symbol: 016 = Product Code
Text Symbol: 015 = Other Constant
Text Symbol: 014 =
Text Symbol: 013 = Description
Text Symbol: 012 = Searching...
Text Symbol: 011 = Collecting Classes...
Text Symbol: 010 = Collecting Function Groups...
Text Symbol: 009 = Collecting Programs...
Text Symbol: 007 = Program
Text Symbol: 006 = Not found in Search Area
Text Symbol: 004 = Where used list for
Text Symbol: 003 = Invalid Constant. Please use F4
Text Symbol: 002 = Constant
Text Symbol: 001 = Source Code Details
Text Symbol: 000 = '
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
F4TOOL_F4FUNCTION_BRIDGE CALL FUNCTION 'F4TOOL_F4FUNCTION_BRIDGE' EXPORTING TABNAME = '/PTGWFI/Z_CONST' FIELDNAME = 'ZCONST' DISPLAY_ONLY = SPACE WINDOW_TITLE = 'Optura Constant'(N01) IMPORTING SELECTED_VALUE = SEL_VAL SELECTED_INDEX = L_TABIX TABLES VALUE_TAB = VALUETAB FIELDS_TAB = FIELDVAL.
RS_GET_OBJECTS_OF_DEVCLASS CALL FUNCTION 'RS_GET_OBJECTS_OF_DEVCLASS' TABLES DEVCLASS_RANGES = SDEVC OBJECTLIST = ITAB_SET EXCEPTIONS NO_OBJECTS_SELECTED = 1 OTHERS = 2.
FUNCTION_INCLUDE_SPLIT CALL FUNCTION 'FUNCTION_INCLUDE_SPLIT' EXPORTING COMPLETE_AREA = FUNC_AREA IMPORTING NAMESPACE = FUNC_NMSP GROUP = FUNC_AREA EXCEPTIONS OTHERS = 12.
RS_GET_ALL_INCLUDES CALL FUNCTION 'RS_GET_ALL_INCLUDES' EXPORTING PROGRAM = FUNC_PROG TABLES INCLUDETAB = INCL_TAB EXCEPTIONS OTHERS = 3.
SEO_CLASS_GET_CP_NAME CALL FUNCTION 'SEO_CLASS_GET_CP_NAME' EXPORTING PGMID = 'R3TR' OBJECT = 'CLAS' OBJ_NAME = CLAS_NAME IMPORTING PROGNAME = CLAS_PROG EXCEPTIONS NO_CLASS_OR_INTERFACE = 1 OTHERS = 2.
RS_GET_ALL_INCLUDES CALL FUNCTION 'RS_GET_ALL_INCLUDES' EXPORTING PROGRAM = CLAS_PROG WITH_RESERVED_INCLUDES = 'X' TABLES INCLUDETAB = INCL_TAB EXCEPTIONS OTHERS = 3.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = L_PER TEXT = TEXT-012.
RS_TOOL_ACCESS CALL FUNCTION 'RS_TOOL_ACCESS' EXPORTING OPERATION = 'SHOW' OBJECT_NAME = ITAB_OUTPUT-PROGRAMM OBJECT_TYPE = 'PROG' POSITION = POSITION EXCEPTIONS NOT_EXECUTED = 1 INVALID_OBJECT_TYPE = 2 OTHERS = 3.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = P_TEXT.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
/OPT/CP_CODE_SEARCH - Search program or Dev class objects for string /OPT/CP_CODE_SEARCH - Search program or Dev class objects for string /OPT/CP_BRANDING - Program /OPT/CP_BRANDING /OPT/CP_BRANDING - Program /OPT/CP_BRANDING /OPT/BL_APPRBASELINETOP - Include ZOPT_APPRBASELINETOP /OPT/BL_APPRBASELINEO01 - Include ZOPT_APPRBASELINEO01