SAP DD_TABL_ACTM Function Module for
DD_TABL_ACTM is a standard dd tabl actm 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 tabl actm FM, simply by entering the name DD_TABL_ACTM into the relevant SAP transaction such as SE37 or SE38.
Function Group: SDTA
Program Name: SAPLSDTA
Main Program: SAPLSDTA
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function DD_TABL_ACTM 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_TABL_ACTM'".
EXPORTING
* MODE = 1 "
* UPGRMODE = ' ' "
* MODEFLAG = ' ' "
* ACTION = ' ' "
* CYCLEOBJ = ' ' "DD: Object Occurs in a Cycle
* GETSTATE = 'M' "
* NTAB_PUTSTATE = 'A' "
PRID = "
* SETTMST = ' ' "
TABNAME = "
* AUTH_CHK = 'X' "
* EXCOMMIT = 'X' "
* TIMER_ON = ' ' "
IMPORTING
ACT_RESULT = "
DD02V_WA = "
CTRL_TABL_RES = "
ACT_RES_INFO = "
TABLES
* CTRL_TBVI_TAB = "
* CTRL_TBSH_TAB = "
* CTRL_TBEN_TAB = "
* DEPTYPES = "
EXCEPTIONS
DBCHANGE_FAILURE = 1 NTAB_GEN_FAILURE = 2 PUT_FAILURE = 3 READ_FAILURE = 4 ACCESS_FAILURE = 5
IMPORTING Parameters details for DD_TABL_ACTM
MODE -
Data type: DDREFSTRUC-MODEDefault: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPGRMODE -
Data type: DCTABLACT-UPGRMODEDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
MODEFLAG -
Data type: DDXTT-MODEFLAGDefault: ' '
Optional: Yes
Call by Reference: Yes
ACTION -
Data type: TBATG-FCTDefault: ' '
Optional: Yes
Call by Reference: Yes
CYCLEOBJ - DD: Object Occurs in a Cycle
Data type: DCTABLCTRL-CYCLEOBJDefault: ' '
Optional: Yes
Call by Reference: Yes
GETSTATE -
Data type: DCTABLGET-TABLDefault: 'M'
Optional: Yes
Call by Reference: No ( called with pass by value option)
NTAB_PUTSTATE -
Data type: DDXTT-MODEFLAGDefault: 'A'
Optional: Yes
Call by Reference: No ( called with pass by value option)
PRID -
Data type: SY-TABIXOptional: No
Call by Reference: No ( called with pass by value option)
SETTMST -
Data type: DCTABLACT-SETTMSTDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABNAME -
Data type: DD02V-TABNAMEOptional: No
Call by Reference: No ( called with pass by value option)
AUTH_CHK -
Data type: DDREFSTRUC-BOOLDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCOMMIT -
Data type: DCTABLACT-EXCOMMITDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
TIMER_ON -
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for DD_TABL_ACTM
ACT_RESULT -
Data type: SY-SUBRCOptional: No
Call by Reference: No ( called with pass by value option)
DD02V_WA -
Data type: DD02VOptional: No
Call by Reference: No ( called with pass by value option)
CTRL_TABL_RES -
Data type: DCTABLRESOptional: No
Call by Reference: No ( called with pass by value option)
ACT_RES_INFO -
Data type: DCTBACTRESOptional: No
Call by Reference: Yes
TABLES Parameters details for DD_TABL_ACTM
CTRL_TBVI_TAB -
Data type: DCTBVIDEPOptional: Yes
Call by Reference: No ( called with pass by value option)
CTRL_TBSH_TAB -
Data type: DCOBJDEPOptional: Yes
Call by Reference: No ( called with pass by value option)
CTRL_TBEN_TAB -
Data type: DCOBJDEPOptional: Yes
Call by Reference: No ( called with pass by value option)
DEPTYPES -
Data type: DCDEPTYPESOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
DBCHANGE_FAILURE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NTAB_GEN_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)
READ_FAILURE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ACCESS_FAILURE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for DD_TABL_ACTM 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_mode | TYPE DDREFSTRUC-MODE, " 1 | |||
| lv_act_result | TYPE SY-SUBRC, " | |||
| lt_ctrl_tbvi_tab | TYPE STANDARD TABLE OF DCTBVIDEP, " | |||
| lv_dbchange_failure | TYPE DCTBVIDEP, " | |||
| lv_upgrmode | TYPE DCTABLACT-UPGRMODE, " ' ' | |||
| lv_modeflag | TYPE DDXTT-MODEFLAG, " ' ' | |||
| lv_action | TYPE TBATG-FCT, " ' ' | |||
| lv_cycleobj | TYPE DCTABLCTRL-CYCLEOBJ, " ' ' | |||
| lv_dd02v_wa | TYPE DD02V, " | |||
| lv_getstate | TYPE DCTABLGET-TABL, " 'M' | |||
| lt_ctrl_tbsh_tab | TYPE STANDARD TABLE OF DCOBJDEP, " | |||
| lv_ntab_gen_failure | TYPE DCOBJDEP, " | |||
| lv_put_failure | TYPE DCOBJDEP, " | |||
| lv_ctrl_tabl_res | TYPE DCTABLRES, " | |||
| lt_ctrl_tben_tab | TYPE STANDARD TABLE OF DCOBJDEP, " | |||
| lv_ntab_putstate | TYPE DDXTT-MODEFLAG, " 'A' | |||
| lv_prid | TYPE SY-TABIX, " | |||
| lt_deptypes | TYPE STANDARD TABLE OF DCDEPTYPES, " | |||
| lv_act_res_info | TYPE DCTBACTRES, " | |||
| lv_read_failure | TYPE DCTBACTRES, " | |||
| lv_settmst | TYPE DCTABLACT-SETTMST, " ' ' | |||
| lv_access_failure | TYPE DCTABLACT, " | |||
| lv_tabname | TYPE DD02V-TABNAME, " | |||
| lv_auth_chk | TYPE DDREFSTRUC-BOOL, " 'X' | |||
| lv_excommit | TYPE DCTABLACT-EXCOMMIT, " 'X' | |||
| lv_timer_on | TYPE DCTABLACT. " ' ' |
|   CALL FUNCTION 'DD_TABL_ACTM' " |
| EXPORTING | ||
| MODE | = lv_mode | |
| UPGRMODE | = lv_upgrmode | |
| MODEFLAG | = lv_modeflag | |
| ACTION | = lv_action | |
| CYCLEOBJ | = lv_cycleobj | |
| GETSTATE | = lv_getstate | |
| NTAB_PUTSTATE | = lv_ntab_putstate | |
| PRID | = lv_prid | |
| SETTMST | = lv_settmst | |
| TABNAME | = lv_tabname | |
| AUTH_CHK | = lv_auth_chk | |
| EXCOMMIT | = lv_excommit | |
| TIMER_ON | = lv_timer_on | |
| IMPORTING | ||
| ACT_RESULT | = lv_act_result | |
| DD02V_WA | = lv_dd02v_wa | |
| CTRL_TABL_RES | = lv_ctrl_tabl_res | |
| ACT_RES_INFO | = lv_act_res_info | |
| TABLES | ||
| CTRL_TBVI_TAB | = lt_ctrl_tbvi_tab | |
| CTRL_TBSH_TAB | = lt_ctrl_tbsh_tab | |
| CTRL_TBEN_TAB | = lt_ctrl_tben_tab | |
| DEPTYPES | = lt_deptypes | |
| EXCEPTIONS | ||
| DBCHANGE_FAILURE = 1 | ||
| NTAB_GEN_FAILURE = 2 | ||
| PUT_FAILURE = 3 | ||
| READ_FAILURE = 4 | ||
| ACCESS_FAILURE = 5 | ||
| . " DD_TABL_ACTM | ||
ABAP code using 7.40 inline data declarations to call FM DD_TABL_ACTM
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 MODE FROM DDREFSTRUC INTO @DATA(ld_mode). | ||||
| DATA(ld_mode) | = 1. | |||
| "SELECT single SUBRC FROM SY INTO @DATA(ld_act_result). | ||||
| "SELECT single UPGRMODE FROM DCTABLACT INTO @DATA(ld_upgrmode). | ||||
| DATA(ld_upgrmode) | = ' '. | |||
| "SELECT single MODEFLAG FROM DDXTT INTO @DATA(ld_modeflag). | ||||
| DATA(ld_modeflag) | = ' '. | |||
| "SELECT single FCT FROM TBATG INTO @DATA(ld_action). | ||||
| DATA(ld_action) | = ' '. | |||
| "SELECT single CYCLEOBJ FROM DCTABLCTRL INTO @DATA(ld_cycleobj). | ||||
| DATA(ld_cycleobj) | = ' '. | |||
| "SELECT single TABL FROM DCTABLGET INTO @DATA(ld_getstate). | ||||
| DATA(ld_getstate) | = 'M'. | |||
| "SELECT single MODEFLAG FROM DDXTT INTO @DATA(ld_ntab_putstate). | ||||
| DATA(ld_ntab_putstate) | = 'A'. | |||
| "SELECT single TABIX FROM SY INTO @DATA(ld_prid). | ||||
| "SELECT single SETTMST FROM DCTABLACT INTO @DATA(ld_settmst). | ||||
| DATA(ld_settmst) | = ' '. | |||
| "SELECT single TABNAME FROM DD02V INTO @DATA(ld_tabname). | ||||
| "SELECT single BOOL FROM DDREFSTRUC INTO @DATA(ld_auth_chk). | ||||
| DATA(ld_auth_chk) | = 'X'. | |||
| "SELECT single EXCOMMIT FROM DCTABLACT INTO @DATA(ld_excommit). | ||||
| DATA(ld_excommit) | = 'X'. | |||
| DATA(ld_timer_on) | = ' '. | |||
Search for further information about these or an SAP related objects