SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | BRFplus - ABAP-Based Business Rules(BC-SRV-BR) SAP BC

FDT_CODE_SEARCH SAP ABAP Report - Tool for Searching in Code







FDT_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 FDT_CODE_SEARCH 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 FDT_CODE_SEARCH. "Basic submit
SUBMIT FDT_CODE_SEARCH AND RETURN. "Return to original report after report execution complete
SUBMIT FDT_CODE_SEARCH 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: S_REST = Objects
Selection Text: S_DEVC = Packages
Selection Text: P_STRG2 = Search String 2
Selection Text: P_STRG1 = Search String 1
Selection Text: P_PROG = Programs
Selection Text: P_NOHITS = Display Objects Without Hits
Selection Text: P_LRNG = Number of Output Lines
Selection Text: P_FUGR = Function Groups
Selection Text: P_EXCOMM = Ignore Comment Lines
Selection Text: P_EXCL3 = Exclude Search String 3
Selection Text: P_EXCL2 = Exclude Search String 2
Selection Text: P_EXCL1 = Exclude Search String 1
Selection Text: P_EDIT = Open Objects in Edit Mode?
Selection Text: P_CONPCK = Packages Contained
Selection Text: P_CINC = Classes
Title: Tool for Searching in Code
Text Symbol: 014 = No Hits
Text Symbol: 013 = Not Found
Text Symbol: 012 = Class
Text Symbol: 011 = FuGr
Text Symbol: 010 = From
Text Symbol: 009 = Report
Text Symbol: 008 = Scan Package
Text Symbol: 003 = Objects to Be Scanned
Text Symbol: 002 = Options
Text Symbol: 001 = Search Criteria


INCLUDES used within this REPORT FDT_CODE_SEARCH

INCLUDE FDT_CODE_SEARCH_GDP.


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:

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

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = l_repid i_internal_tabname = 'G_TAB_LINES' i_inclname = l_repid i_bypassing_buffer = con_true CHANGING ct_fieldcat = l_tab_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY

REUSE_ALV_LIST_DISPLAY *** CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = l_repid is_layout = l_str_layout it_fieldcat = l_tab_fieldcat it_sort = l_tab_sort i_save = 'A' it_events = l_tab_events TABLES t_outtab = g_tab_lines EXCEPTIONS program_error = 1 OTHERS = 2.

STOR_RESOLVE_FUGR CALL FUNCTION 'STOR_RESOLVE_FUGR' EXPORTING is_e071 = l_str_e071 TABLES tt_e071 = l_tab_e071 EXCEPTIONS OTHERS = 0.

RS_TOOL_ACCESS CALL FUNCTION 'RS_TOOL_ACCESS' EXPORTING operation = l_operation object_name = i_objname object_type = 'REPS' position = i_position EXCEPTIONS not_executed = 0 invalid_object_type = 0 OTHERS = 0.



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