SAP DD_DB_CONVERTER Function Module for









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

Function Group: SDDD
Program Name: SAPLSDDD
Main Program: SAPLSDDD
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function DD_DB_CONVERTER 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_DB_CONVERTER'"
EXPORTING
* PARALLEL = ' ' "
* NSTRF = ' ' "
* PRE_DONE = ' ' "
* ASYNCHRON = ' ' "
* PROC_NUMBER = 1 "
* PROC_CLASS = 'DIA' "
* PROC_DIST = 'LOCAL' "
* LOG_DISPLAY = ' ' "
* LOG_NAME = '&DEFAULT&' "
* FILE_LOG = ' ' "
* DB_LOG = 'X' "

TABLES
OBJECT = "
TABNAME = "
INDNAME = "
TGORDER = "
FCT = "
EXECMODE = "
SEVERITY = "
GDATE = "
GUSER = "
.



IMPORTING Parameters details for DD_DB_CONVERTER

PARALLEL -

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

NSTRF -

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

PRE_DONE -

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

ASYNCHRON -

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

PROC_NUMBER -

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

PROC_CLASS -

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

PROC_DIST -

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

LOG_DISPLAY -

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

LOG_NAME -

Data type: DDLCH-LNAME
Default: '&DEFAULT&'
Optional: Yes
Call by Reference: No ( called with pass by value option)

FILE_LOG -

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

DB_LOG -

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

TABLES Parameters details for DD_DB_CONVERTER

OBJECT -

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

TABNAME -

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

INDNAME -

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

TGORDER -

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

FCT -

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

EXECMODE -

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

SEVERITY -

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

GDATE -

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

GUSER -

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

Copy and paste ABAP code example for DD_DB_CONVERTER 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:
lt_object  TYPE STANDARD TABLE OF DDRANGE, "   
lv_parallel  TYPE DDREFSTRUC-BOOL, "   ' '
lv_nstrf  TYPE DDREFSTRUC-BOOL, "   ' '
lv_pre_done  TYPE DDREFSTRUC-BOOL, "   ' '
lt_tabname  TYPE STANDARD TABLE OF DDRANGE, "   
lv_asynchron  TYPE DDREFSTRUC-BOOL, "   ' '
lt_indname  TYPE STANDARD TABLE OF DDRANGE, "   
lv_proc_number  TYPE DDREFSTRUC-PARA_GRADE, "   1
lt_tgorder  TYPE STANDARD TABLE OF DDRANGE, "   
lv_proc_class  TYPE DDREFSTRUC-PROC_CLASS, "   'DIA'
lt_fct  TYPE STANDARD TABLE OF DDRANGE, "   
lv_proc_dist  TYPE DDREFSTRUC-DISTRIBUT, "   'LOCAL'
lt_execmode  TYPE STANDARD TABLE OF DDRANGE, "   
lv_log_display  TYPE DDREFSTRUC-BOOL, "   ' '
lv_log_name  TYPE DDLCH-LNAME, "   '&DEFAULT&'
lt_severity  TYPE STANDARD TABLE OF DDRANGE, "   
lt_gdate  TYPE STANDARD TABLE OF DDRANGE, "   
lv_file_log  TYPE DDREFSTRUC-BOOL, "   ' '
lt_guser  TYPE STANDARD TABLE OF DDRANGE, "   
lv_db_log  TYPE DDREFSTRUC-BOOL. "   'X'

  CALL FUNCTION 'DD_DB_CONVERTER'  "
    EXPORTING
         PARALLEL = lv_parallel
         NSTRF = lv_nstrf
         PRE_DONE = lv_pre_done
         ASYNCHRON = lv_asynchron
         PROC_NUMBER = lv_proc_number
         PROC_CLASS = lv_proc_class
         PROC_DIST = lv_proc_dist
         LOG_DISPLAY = lv_log_display
         LOG_NAME = lv_log_name
         FILE_LOG = lv_file_log
         DB_LOG = lv_db_log
    TABLES
         OBJECT = lt_object
         TABNAME = lt_tabname
         INDNAME = lt_indname
         TGORDER = lt_tgorder
         FCT = lt_fct
         EXECMODE = lt_execmode
         SEVERITY = lt_severity
         GDATE = lt_gdate
         GUSER = lt_guser
. " DD_DB_CONVERTER




ABAP code using 7.40 inline data declarations to call FM DD_DB_CONVERTER

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_parallel).
DATA(ld_parallel) = ' '.
 
"SELECT single BOOL FROM DDREFSTRUC INTO @DATA(ld_nstrf).
DATA(ld_nstrf) = ' '.
 
"SELECT single BOOL FROM DDREFSTRUC INTO @DATA(ld_pre_done).
DATA(ld_pre_done) = ' '.
 
 
"SELECT single BOOL FROM DDREFSTRUC INTO @DATA(ld_asynchron).
DATA(ld_asynchron) = ' '.
 
 
"SELECT single PARA_GRADE FROM DDREFSTRUC INTO @DATA(ld_proc_number).
DATA(ld_proc_number) = 1.
 
 
"SELECT single PROC_CLASS FROM DDREFSTRUC INTO @DATA(ld_proc_class).
DATA(ld_proc_class) = 'DIA'.
 
 
"SELECT single DISTRIBUT FROM DDREFSTRUC INTO @DATA(ld_proc_dist).
DATA(ld_proc_dist) = 'LOCAL'.
 
 
"SELECT single BOOL FROM DDREFSTRUC INTO @DATA(ld_log_display).
DATA(ld_log_display) = ' '.
 
"SELECT single LNAME FROM DDLCH INTO @DATA(ld_log_name).
DATA(ld_log_name) = '&DEFAULT&'.
 
 
 
"SELECT single BOOL FROM DDREFSTRUC INTO @DATA(ld_file_log).
DATA(ld_file_log) = ' '.
 
 
"SELECT single BOOL FROM DDREFSTRUC INTO @DATA(ld_db_log).
DATA(ld_db_log) = 'X'.
 


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!