SAP DD_TABL_TO_COMPLEX Function Module for









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

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



Function DD_TABL_TO_COMPLEX 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_TO_COMPLEX'"
EXPORTING
* FROM_VERSION = ' ' "
* DD02V_WA = "
* DD09L_WA = "

IMPORTING
TABL = "Table Description

TABLES
* DD02V_TAB = "
DD03_TAB = "
* DD05_TAB = "
* DD08V_TAB = "
* DD35V_TAB = "
* DD36_TAB = "
* DD09V_TAB = "
* DD12V_TAB = "
* DD17V_TAB = "

EXCEPTIONS
NO_TABL = 1
.



IMPORTING Parameters details for DD_TABL_TO_COMPLEX

FROM_VERSION -

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

DD02V_WA -

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

DD09L_WA -

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

EXPORTING Parameters details for DD_TABL_TO_COMPLEX

TABL - Table Description

Data type: DDOBJ_TABL
Optional: No
Call by Reference: Yes

TABLES Parameters details for DD_TABL_TO_COMPLEX

DD02V_TAB -

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

DD03_TAB -

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

DD05_TAB -

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

DD08V_TAB -

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

DD35V_TAB -

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

DD36_TAB -

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

DD09V_TAB -

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

DD12V_TAB -

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

DD17V_TAB -

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

EXCEPTIONS details

NO_TABL -

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

Copy and paste ABAP code example for DD_TABL_TO_COMPLEX 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_tabl  TYPE DDOBJ_TABL, "   
lv_no_tabl  TYPE DDOBJ_TABL, "   
lt_dd02v_tab  TYPE STANDARD TABLE OF DD02V, "   
lv_from_version  TYPE DDREFSTRUC-BOOL, "   ' '
lv_dd02v_wa  TYPE DD02V, "   
lt_dd03_tab  TYPE STANDARD TABLE OF DD02V, "   
lt_dd05_tab  TYPE STANDARD TABLE OF DD02V, "   
lv_dd09l_wa  TYPE DD09L, "   
lt_dd08v_tab  TYPE STANDARD TABLE OF DD08V, "   
lt_dd35v_tab  TYPE STANDARD TABLE OF DD35V, "   
lt_dd36_tab  TYPE STANDARD TABLE OF DD35V, "   
lt_dd09v_tab  TYPE STANDARD TABLE OF DD09V, "   
lt_dd12v_tab  TYPE STANDARD TABLE OF DD12V, "   
lt_dd17v_tab  TYPE STANDARD TABLE OF DD17V. "   

  CALL FUNCTION 'DD_TABL_TO_COMPLEX'  "
    EXPORTING
         FROM_VERSION = lv_from_version
         DD02V_WA = lv_dd02v_wa
         DD09L_WA = lv_dd09l_wa
    IMPORTING
         TABL = lv_tabl
    TABLES
         DD02V_TAB = lt_dd02v_tab
         DD03_TAB = lt_dd03_tab
         DD05_TAB = lt_dd05_tab
         DD08V_TAB = lt_dd08v_tab
         DD35V_TAB = lt_dd35v_tab
         DD36_TAB = lt_dd36_tab
         DD09V_TAB = lt_dd09v_tab
         DD12V_TAB = lt_dd12v_tab
         DD17V_TAB = lt_dd17v_tab
    EXCEPTIONS
        NO_TABL = 1
. " DD_TABL_TO_COMPLEX




ABAP code using 7.40 inline data declarations to call FM DD_TABL_TO_COMPLEX

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 BOOL FROM DDREFSTRUC INTO @DATA(ld_from_version).
DATA(ld_from_version) = ' '.
 
 
 
 
 
 
 
 
 
 
 


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!