SAP ECM_UI_ABAP_SHOW_TSK Function Module for









ECM_UI_ABAP_SHOW_TSK is a standard ecm ui abap show tsk SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 ecm ui abap show tsk FM, simply by entering the name ECM_UI_ABAP_SHOW_TSK into the relevant SAP transaction such as SE37 or SE38.

Function Group: ECM_UI_ABAP
Program Name: SAPLECM_UI_ABAP
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ECM_UI_ABAP_SHOW_TSK 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 'ECM_UI_ABAP_SHOW_TSK'"
EXPORTING
* I_FLG_RELOAD_DB = ' ' "General Flag
* I_ECMTSK = "Change Task
* I_ECMTSKGUID = "
* I_FLG_DISPLAY = 'X' "General Flag
* I_ACTIVITY = "
* I_ECMORD = "Engineering Change Order
* I_ECMORDGUID = "Engineering Change Order GUID
* IS_ECMHIE = "

EXCEPTIONS
WRONG_INPUT = 1 NO_DISPLAY_AUTHORITY = 2
.



IMPORTING Parameters details for ECM_UI_ABAP_SHOW_TSK

I_FLG_RELOAD_DB - General Flag

Data type: FLAG
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_ECMTSK - Change Task

Data type: ECMTSK
Optional: Yes
Call by Reference: Yes

I_ECMTSKGUID -

Data type: ECMTSKGUID
Optional: Yes
Call by Reference: Yes

I_FLG_DISPLAY - General Flag

Data type: FLAG
Default: 'X'
Optional: Yes
Call by Reference: Yes

I_ACTIVITY -

Data type: C
Optional: Yes
Call by Reference: Yes

I_ECMORD - Engineering Change Order

Data type: ECMORD
Optional: Yes
Call by Reference: Yes

I_ECMORDGUID - Engineering Change Order GUID

Data type: ECMORDGUID
Optional: Yes
Call by Reference: Yes

IS_ECMHIE -

Data type: ECM_HIE
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

WRONG_INPUT -

Data type:
Optional: No
Call by Reference: Yes

NO_DISPLAY_AUTHORITY -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ECM_UI_ABAP_SHOW_TSK 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_wrong_input  TYPE STRING, "   
lv_i_flg_reload_db  TYPE FLAG, "   SPACE
lv_i_ecmtsk  TYPE ECMTSK, "   
lv_no_display_authority  TYPE ECMTSK, "   
lv_i_ecmtskguid  TYPE ECMTSKGUID, "   
lv_i_flg_display  TYPE FLAG, "   'X'
lv_i_activity  TYPE C, "   
lv_i_ecmord  TYPE ECMORD, "   
lv_i_ecmordguid  TYPE ECMORDGUID, "   
lv_is_ecmhie  TYPE ECM_HIE. "   

  CALL FUNCTION 'ECM_UI_ABAP_SHOW_TSK'  "
    EXPORTING
         I_FLG_RELOAD_DB = lv_i_flg_reload_db
         I_ECMTSK = lv_i_ecmtsk
         I_ECMTSKGUID = lv_i_ecmtskguid
         I_FLG_DISPLAY = lv_i_flg_display
         I_ACTIVITY = lv_i_activity
         I_ECMORD = lv_i_ecmord
         I_ECMORDGUID = lv_i_ecmordguid
         IS_ECMHIE = lv_is_ecmhie
    EXCEPTIONS
        WRONG_INPUT = 1
        NO_DISPLAY_AUTHORITY = 2
. " ECM_UI_ABAP_SHOW_TSK




ABAP code using 7.40 inline data declarations to call FM ECM_UI_ABAP_SHOW_TSK

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.

 
DATA(ld_i_flg_reload_db) = ' '.
 
 
 
 
DATA(ld_i_flg_display) = 'X'.
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!