SAP DD_TABT_ACT Function Module for DD: online activation program for technical settings









DD_TABT_ACT is a standard dd tabt act SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for DD: online activation program for technical settings 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 dd tabt act FM, simply by entering the name DD_TABT_ACT into the relevant SAP transaction such as SE37 or SE38.

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



Function DD_TABT_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_TABT_ACT'"DD: online activation program for technical settings
EXPORTING
* DEVICE = 'F' "
* ACT_MODE = 1 "
* PATH = ' ' "
* PROTNAME = ' ' "
TABNAME = "
* GET_STATE = 'M' "
* CNV_ORDER = ' ' "
* AUTH_CHK = 'X' "
* TIMER_ON = ' ' "
* PRID = 0 "

IMPORTING
ACT_RESULT = "
CNV_RESULT = "

EXCEPTIONS
ILLEGAL_VALUE = 1 OP_FAILURE = 2
.



IMPORTING Parameters details for DD_TABT_ACT

DEVICE -

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

ACT_MODE -

Data type: DDREFSTRUC-MODE
Default: 1
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)

TABNAME -

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

GET_STATE -

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

CNV_ORDER -

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

AUTH_CHK -

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

TIMER_ON -

Data type: DDREFSTRUC-STATE
Default: ' '
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)

EXPORTING Parameters details for DD_TABT_ACT

ACT_RESULT -

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

CNV_RESULT -

Data type: SY-TABIX
Optional: No
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)

OP_FAILURE -

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

Copy and paste ABAP code example for DD_TABT_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_device  TYPE SPRWR-DEVICE, "   'F'
lv_act_result  TYPE SY-TABIX, "   
lv_illegal_value  TYPE SY, "   
lv_act_mode  TYPE DDREFSTRUC-MODE, "   1
lv_path  TYPE DDREFSTRUC, "   ' '
lv_cnv_result  TYPE SY-TABIX, "   
lv_op_failure  TYPE SY, "   
lv_protname  TYPE SY, "   ' '
lv_tabname  TYPE DD09L-TABNAME, "   
lv_get_state  TYPE OBJSTATE, "   'M'
lv_cnv_order  TYPE DDREFSTRUC-CNV_ORDER, "   ' '
lv_auth_chk  TYPE DDREFSTRUC-AUTH_CHK, "   'X'
lv_timer_on  TYPE DDREFSTRUC-STATE, "   ' '
lv_prid  TYPE SY-TABIX. "   0

  CALL FUNCTION 'DD_TABT_ACT'  "DD: online activation program for technical settings
    EXPORTING
         DEVICE = lv_device
         ACT_MODE = lv_act_mode
         PATH = lv_path
         PROTNAME = lv_protname
         TABNAME = lv_tabname
         GET_STATE = lv_get_state
         CNV_ORDER = lv_cnv_order
         AUTH_CHK = lv_auth_chk
         TIMER_ON = lv_timer_on
         PRID = lv_prid
    IMPORTING
         ACT_RESULT = lv_act_result
         CNV_RESULT = lv_cnv_result
    EXCEPTIONS
        ILLEGAL_VALUE = 1
        OP_FAILURE = 2
. " DD_TABT_ACT




ABAP code using 7.40 inline data declarations to call FM DD_TABT_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 DEVICE FROM SPRWR INTO @DATA(ld_device).
DATA(ld_device) = 'F'.
 
"SELECT single TABIX FROM SY INTO @DATA(ld_act_result).
 
 
"SELECT single MODE FROM DDREFSTRUC INTO @DATA(ld_act_mode).
DATA(ld_act_mode) = 1.
 
DATA(ld_path) = ' '.
 
"SELECT single TABIX FROM SY INTO @DATA(ld_cnv_result).
 
 
DATA(ld_protname) = ' '.
 
"SELECT single TABNAME FROM DD09L INTO @DATA(ld_tabname).
 
DATA(ld_get_state) = 'M'.
 
"SELECT single CNV_ORDER FROM DDREFSTRUC INTO @DATA(ld_cnv_order).
DATA(ld_cnv_order) = ' '.
 
"SELECT single AUTH_CHK FROM DDREFSTRUC INTO @DATA(ld_auth_chk).
DATA(ld_auth_chk) = 'X'.
 
"SELECT single STATE FROM DDREFSTRUC INTO @DATA(ld_timer_on).
DATA(ld_timer_on) = ' '.
 
"SELECT single TABIX FROM SY INTO @DATA(ld_prid).
 


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!