SAP Reports / Programs | Basis Components | Frontend Services - Use subcomponents (see SAP Note 1322184) | SAP GUI for Windows Controls(BC-FES-CTL) SAP BC

SAP_CONTROL_USE SAP ABAP Report - Use of ActiveX Controls in SAPGUI







SAP_CONTROL_USE 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 SAP_CONTROL_USE 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 SAP_CONTROL_USE. "Basic submit
SUBMIT SAP_CONTROL_USE AND RETURN. "Return to original report after report execution complete
SUBMIT SAP_CONTROL_USE 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: ALL = All programs using controls
Selection Text: CONTROLS = Select Controls
Selection Text: WITHTEST = Test programs inclusive
Title: Use of ActiveX Controls in SAPGUI
Text Symbol: 001 = Choose Controls
Text Symbol: 002 = No entries exist in table TCDIR
Text Symbol: 003 = For following Controls:
Text Symbol: 004 = Error in table TCDIR
Text Symbol: 005 = No dependent program found
Text Symbol: 006 = Only local test programs exist
Text Symbol: 007 = User of includes:
Text Symbol: 008 = Function:
Text Symbol: 009 = Class:
Text Symbol: 010 = and
Text Symbol: 011 = All programs that use
Text Symbol: 012 = Or
Text Symbol: 013 = .


INCLUDES used within this REPORT SAP_CONTROL_USE

FORM GET_INCLUDES USING INCLUDE.


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_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = G_REPID * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' IS_LAYOUT = GS_LAYOUT IT_FIELDCAT = GT_FIELDCAT[] * IT_EXCLUDING = * it_special_groups = gt_sp_group[] * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * i_default = g_default * i_save = g_save * is_variant = g_variant * it_events = gt_events[] * IT_EVENT_EXIT = I_TABNAME_HEADER = 'GT_HEADER' I_TABNAME_ITEM = 'GT_ITEM' IS_KEYINFO = GS_KEYINFO * IS_PRINT = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = TABLES T_OUTTAB_HEADER = GT_HEADER T_OUTTAB_ITEM = GT_ITEM.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING * I_PROGRAM_NAME = I_INTERNAL_TABNAME = 'GT_HEADER' I_STRUCTURE_NAME = 'TCDIR' * I_CLIENT_NEVER_DISPLAY = 'X' CHANGING CT_FIELDCAT = GT_FIELDCAT[].

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING * I_PROGRAM_NAME = I_INTERNAL_TABNAME = 'GT_ITEM' I_STRUCTURE_NAME = 'TRDIR' * I_CLIENT_NEVER_DISPLAY = 'X' CHANGING CT_FIELDCAT = GT_FIELDCAT[].



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