SAP DD_DTEL_ACT Function Module for









DD_DTEL_ACT is a standard dd dtel act 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 dd dtel act FM, simply by entering the name DD_DTEL_ACT into the relevant SAP transaction such as SE37 or SE38.

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



Function DD_DTEL_ACT 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 'DD_DTEL_ACT'"
EXPORTING
* TIMER_ON = ' ' "
ROLL_NAME = "
* TRACE = 0 "Trace ON
* PRID = 0 "
* ACT_MODE = 9 "Activation mode
* AUTH_CHK = 'X' "
* DEVICE = 'T' "
* PATH = ' ' "
* PROTNAME = ' ' "

IMPORTING
ACT_RESULT = "
DEP_NO = "

TABLES
* CTRL_TABL_RES = "

EXCEPTIONS
ILLEGAL_VALUE = 1 ACT_REFUSED = 2 READ_FAILURE = 3 PUT_FAILURE = 4 INTERNAL_FAILURE = 5
.



IMPORTING Parameters details for DD_DTEL_ACT

TIMER_ON -

Data type: DDREFSTRUC-STATE
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

ROLL_NAME -

Data type: DD04L-ROLLNAME
Optional: No
Call by Reference: No ( called with pass by value option)

TRACE - Trace ON

Data type: SY-TABIX
Optional: Yes
Call by Reference: No ( called with pass by value option)

PRID -

Data type: SY-TABIX
Optional: Yes
Call by Reference: No ( called with pass by value option)

ACT_MODE - Activation mode

Data type: DDREFSTRUC-MODE
Default: 9
Optional: Yes
Call by Reference: No ( called with pass by value option)

AUTH_CHK -

Data type: DDREFSTRUC-BOOL
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

DEVICE -

Data type: SPRWR-DEVICE
Default: 'T'
Optional: Yes
Call by Reference: No ( called with pass by value option)

PATH -

Data type:
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

PROTNAME -

Data type:
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for DD_DTEL_ACT

ACT_RESULT -

Data type: SY-SUBRC
Optional: No
Call by Reference: No ( called with pass by value option)

DEP_NO -

Data type: SY-TABIX
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for DD_DTEL_ACT

CTRL_TABL_RES -

Data type: DCTABLRES
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

ILLEGAL_VALUE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

ACT_REFUSED -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

READ_FAILURE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

PUT_FAILURE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

INTERNAL_FAILURE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for DD_DTEL_ACT 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_timer_on  TYPE DDREFSTRUC-STATE, "   ' '
lv_act_result  TYPE SY-SUBRC, "   
lt_ctrl_tabl_res  TYPE STANDARD TABLE OF DCTABLRES, "   
lv_illegal_value  TYPE DCTABLRES, "   
lv_dep_no  TYPE SY-TABIX, "   
lv_roll_name  TYPE DD04L-ROLLNAME, "   
lv_act_refused  TYPE DD04L, "   
lv_trace  TYPE SY-TABIX, "   0
lv_read_failure  TYPE SY, "   
lv_prid  TYPE SY-TABIX, "   0
lv_put_failure  TYPE SY, "   
lv_act_mode  TYPE DDREFSTRUC-MODE, "   9
lv_internal_failure  TYPE DDREFSTRUC, "   
lv_auth_chk  TYPE DDREFSTRUC-BOOL, "   'X'
lv_device  TYPE SPRWR-DEVICE, "   'T'
lv_path  TYPE SPRWR, "   ' '
lv_protname  TYPE SPRWR. "   ' '

  CALL FUNCTION 'DD_DTEL_ACT'  "
    EXPORTING
         TIMER_ON = lv_timer_on
         ROLL_NAME = lv_roll_name
         TRACE = lv_trace
         PRID = lv_prid
         ACT_MODE = lv_act_mode
         AUTH_CHK = lv_auth_chk
         DEVICE = lv_device
         PATH = lv_path
         PROTNAME = lv_protname
    IMPORTING
         ACT_RESULT = lv_act_result
         DEP_NO = lv_dep_no
    TABLES
         CTRL_TABL_RES = lt_ctrl_tabl_res
    EXCEPTIONS
        ILLEGAL_VALUE = 1
        ACT_REFUSED = 2
        READ_FAILURE = 3
        PUT_FAILURE = 4
        INTERNAL_FAILURE = 5
. " DD_DTEL_ACT




ABAP code using 7.40 inline data declarations to call FM DD_DTEL_ACT

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.

"SELECT single STATE FROM DDREFSTRUC INTO @DATA(ld_timer_on).
DATA(ld_timer_on) = ' '.
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_act_result).
 
 
 
"SELECT single TABIX FROM SY INTO @DATA(ld_dep_no).
 
"SELECT single ROLLNAME FROM DD04L INTO @DATA(ld_roll_name).
 
 
"SELECT single TABIX FROM SY INTO @DATA(ld_trace).
 
 
"SELECT single TABIX FROM SY INTO @DATA(ld_prid).
 
 
"SELECT single MODE FROM DDREFSTRUC INTO @DATA(ld_act_mode).
DATA(ld_act_mode) = 9.
 
 
"SELECT single BOOL FROM DDREFSTRUC INTO @DATA(ld_auth_chk).
DATA(ld_auth_chk) = 'X'.
 
"SELECT single DEVICE FROM SPRWR INTO @DATA(ld_device).
DATA(ld_device) = 'T'.
 
DATA(ld_path) = ' '.
 
DATA(ld_protname) = ' '.
 


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!