SAP DD_TABT_MAINTAIN Function Module for ABAP Dictionary: Maintain Technical Settings









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

Function Group: SDTM
Program Name: SAPLSDTM
Main Program:
Appliation area:
Release date: 23-Mar-2001
Mode(Normal, Remote etc): Normal Function Module
Update:



Function DD_TABT_MAINTAIN 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_MAINTAIN'"ABAP Dictionary: Maintain Technical Settings
EXPORTING
* TABNAME = "Table Name
* SKIP_FIRST = ' ' "Skip First Screen
DD09L_WA = "Technical settings
* ACTION = 'SHOW' "

EXCEPTIONS
ILLEGAL_VALUE = 1 WRONG_TABCLASS = 2 TABLE_FAILURE = 3 FUNCTION_FAILURE = 4
.



IMPORTING Parameters details for DD_TABT_MAINTAIN

TABNAME - Table Name

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

SKIP_FIRST - Skip First Screen

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

DD09L_WA - Technical settings

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

ACTION -

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

EXCEPTIONS details

ILLEGAL_VALUE - Error in Input Parameters

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

WRONG_TABCLASS - Wrong Table Class (APPEND, INTTAB, VIEW)

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

TABLE_FAILURE - Table either no longer exists or cannot be read

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

FUNCTION_FAILURE -

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

Copy and paste ABAP code example for DD_TABT_MAINTAIN 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_tabname  TYPE DD09L-TABNAME, "   
lv_illegal_value  TYPE DD09L, "   
lv_skip_first  TYPE DDREFSTRUC-BOOL, "   ' '
lv_wrong_tabclass  TYPE DDREFSTRUC, "   
lv_dd09l_wa  TYPE DD09L, "   
lv_table_failure  TYPE DD09L, "   
lv_action  TYPE DD09L, "   'SHOW'
lv_function_failure  TYPE DD09L. "   

  CALL FUNCTION 'DD_TABT_MAINTAIN'  "ABAP Dictionary: Maintain Technical Settings
    EXPORTING
         TABNAME = lv_tabname
         SKIP_FIRST = lv_skip_first
         DD09L_WA = lv_dd09l_wa
         ACTION = lv_action
    EXCEPTIONS
        ILLEGAL_VALUE = 1
        WRONG_TABCLASS = 2
        TABLE_FAILURE = 3
        FUNCTION_FAILURE = 4
. " DD_TABT_MAINTAIN




ABAP code using 7.40 inline data declarations to call FM DD_TABT_MAINTAIN

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 TABNAME FROM DD09L INTO @DATA(ld_tabname).
 
 
"SELECT single BOOL FROM DDREFSTRUC INTO @DATA(ld_skip_first).
DATA(ld_skip_first) = ' '.
 
 
 
 
DATA(ld_action) = 'SHOW'.
 
 


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!