SAP SATC_AC_DISPL_RESULT_BY_EXEC Function Module for Display result by execution ID
SATC_AC_DISPL_RESULT_BY_EXEC is a standard satc ac displ result by exec SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Display result by execution ID processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for satc ac displ result by exec FM, simply by entering the name SATC_AC_DISPL_RESULT_BY_EXEC into the relevant SAP transaction such as SE37 or SE38.
Function Group: SATC_AC__UI_RESULT_DISPL
Program Name: SAPLSATC_AC__UI_RESULT_DISPL
Main Program: SAPLSATC_AC__UI_RESULT_DISPL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function SATC_AC_DISPL_RESULT_BY_EXEC pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'SATC_AC_DISPL_RESULT_BY_EXEC'"Display result by execution ID.
EXPORTING
* I_EXECUTION_ID = "Display Execution ID
* I_UI_CONTEXT = "Context Information For Display Purposes
* I_HARNESS = "
* I_SWITCH_RES_DIFF_FLAG = "
EXCEPTIONS
XPT_NO_RESULTS = 1 XPT_NOT_AUTHORIZED = 2 XPT_DISPLAY_USED = 3
IMPORTING Parameters details for SATC_AC_DISPL_RESULT_BY_EXEC
I_EXECUTION_ID - Display Execution ID
Data type: SATC_D_IDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_UI_CONTEXT - Context Information For Display Purposes
Data type: IF_SATC_UI_CONTEXTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_HARNESS -
Data type: OBJECTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_SWITCH_RES_DIFF_FLAG -
Data type: ABAP_BOOLOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
XPT_NO_RESULTS - No Results available
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
XPT_NOT_AUTHORIZED - User is not Authorized to use the tool
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
XPT_DISPLAY_USED - Display Is Already in Use
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for SATC_AC_DISPL_RESULT_BY_EXEC Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.DATA: | ||||
lv_i_execution_id | TYPE SATC_D_ID, " | |||
lv_xpt_no_results | TYPE SATC_D_ID, " | |||
lv_i_ui_context | TYPE IF_SATC_UI_CONTEXT, " | |||
lv_xpt_not_authorized | TYPE IF_SATC_UI_CONTEXT, " | |||
lv_i_harness | TYPE OBJECT, " | |||
lv_xpt_display_used | TYPE OBJECT, " | |||
lv_i_switch_res_diff_flag | TYPE ABAP_BOOL. " |
  CALL FUNCTION 'SATC_AC_DISPL_RESULT_BY_EXEC' "Display result by execution ID |
EXPORTING | ||
I_EXECUTION_ID | = lv_i_execution_id | |
I_UI_CONTEXT | = lv_i_ui_context | |
I_HARNESS | = lv_i_harness | |
I_SWITCH_RES_DIFF_FLAG | = lv_i_switch_res_diff_flag | |
EXCEPTIONS | ||
XPT_NO_RESULTS = 1 | ||
XPT_NOT_AUTHORIZED = 2 | ||
XPT_DISPLAY_USED = 3 | ||
. " SATC_AC_DISPL_RESULT_BY_EXEC |
ABAP code using 7.40 inline data declarations to call FM SATC_AC_DISPL_RESULT_BY_EXEC
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.Search for further information about these or an SAP related objects