SCTC_TEST_QUERY 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 SCTC_TEST_QUERY 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: HOST = D .
Selection Text: PASSWORD = D .
Selection Text: PORT = D .
Selection Text: USER = D .
Selection Text: USE_SSO = Use Single Sign On
Title: CTC Tasks
Text Symbol: 001 = Targetsystem
Text Symbol: 002 = Logon data
Text Symbol: H01 = Description
Text Symbol: H02 = Path
Text Symbol: H03 = Component
Text Symbol: H04 = State
Text Symbol: H05 = Type
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SCTC_CREATE_LOGICAL_PORT CALL FUNCTION 'SCTC_CREATE_LOGICAL_PORT' EXPORTING ip_host = host ip_port = port ip_use_sso = use_sso ip_user = user ip_password = password IMPORTING ep_logical_port_name = lp_logical_port_name EXCEPTIONS no_authority = 1 lp_not_created = 2 OTHERS = 3.
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'SCTCS_PROCESS_DESCRIPTION' i_client_never_display = abap_false CHANGING ct_fieldcat = lt_fieldcatalog EXCEPTIONS OTHERS = 3.
SCTC_QUERY_TASKS CALL FUNCTION 'SCTC_QUERY_TASKS' EXPORTING ip_logical_port_name = lp_logical_port_name is_filter = ls_filter IMPORTING et_task_descriptions = lt_task_descriptions EXCEPTIONS no_authority = 1 system_fault = 2 application_fault = 3 ctc_execute_fault = 4 OTHERS = 5.
SCTC_DELETE_LOGICAL_PORT CALL FUNCTION 'SCTC_DELETE_LOGICAL_PORT' EXPORTING ip_host = host ip_port = port EXCEPTIONS no_authority = 1 lp_not_deleted = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.