SAP DD_CNV_BATCH_SUBMIT Function Module for
DD_CNV_BATCH_SUBMIT is a standard dd cnv batch submit 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 cnv batch submit FM, simply by entering the name DD_CNV_BATCH_SUBMIT 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): Normal Function Module
Update:

Function DD_CNV_BATCH_SUBMIT 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_CNV_BATCH_SUBMIT'".
EXPORTING
OBJ_NAME = "
ID_NAME = "
OBJ_TYPE = "
USER = "
* STARTDATE = SY-DATUM "
* STARTTIME = SY-UZEIT "
* SHOW_POPUP = 'X' "
FCT = "
* IMMED = ' ' "
IMPORTING
JOBNAME_OUT = "
JOBCOUNT_OUT = "
EXCEPTIONS
JOB_OPENFAILED = 1 JOB_SUBMIT_FAILED = 2 JOB_CLOSE_FAILED = 3 INVALID_START_DATE = 4 INPUT_ERROR = 5 JOB_DEFINED_TWICE = 6 USER_CANCELED_ACTION = 7
IMPORTING Parameters details for DD_CNV_BATCH_SUBMIT
OBJ_NAME -
Data type: TBATG-TABNAMEOptional: No
Call by Reference: No ( called with pass by value option)
ID_NAME -
Data type: DD12L-INDEXNAMEOptional: No
Call by Reference: No ( called with pass by value option)
OBJ_TYPE -
Data type: TBATG-OBJECTOptional: No
Call by Reference: No ( called with pass by value option)
USER -
Data type: SY-UNAMEOptional: No
Call by Reference: No ( called with pass by value option)
STARTDATE -
Data type: SY-DATUMDefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
STARTTIME -
Data type: SY-UZEITDefault: SY-UZEIT
Optional: Yes
Call by Reference: No ( called with pass by value option)
SHOW_POPUP -
Data type:Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
FCT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
IMMED -
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for DD_CNV_BATCH_SUBMIT
JOBNAME_OUT -
Data type: TBTCJOB-JOBNAMEOptional: No
Call by Reference: No ( called with pass by value option)
JOBCOUNT_OUT -
Data type: TBTCJOB-JOBCOUNTOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
JOB_OPENFAILED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
JOB_SUBMIT_FAILED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
JOB_CLOSE_FAILED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INVALID_START_DATE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INPUT_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
JOB_DEFINED_TWICE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
USER_CANCELED_ACTION -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for DD_CNV_BATCH_SUBMIT 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_obj_name | TYPE TBATG-TABNAME, " | |||
| lv_jobname_out | TYPE TBTCJOB-JOBNAME, " | |||
| lv_job_openfailed | TYPE TBTCJOB, " | |||
| lv_id_name | TYPE DD12L-INDEXNAME, " | |||
| lv_jobcount_out | TYPE TBTCJOB-JOBCOUNT, " | |||
| lv_job_submit_failed | TYPE TBTCJOB, " | |||
| lv_obj_type | TYPE TBATG-OBJECT, " | |||
| lv_job_close_failed | TYPE TBATG, " | |||
| lv_user | TYPE SY-UNAME, " | |||
| lv_invalid_start_date | TYPE SY, " | |||
| lv_startdate | TYPE SY-DATUM, " SY-DATUM | |||
| lv_input_error | TYPE SY, " | |||
| lv_starttime | TYPE SY-UZEIT, " SY-UZEIT | |||
| lv_job_defined_twice | TYPE SY, " | |||
| lv_show_popup | TYPE SY, " 'X' | |||
| lv_user_canceled_action | TYPE SY, " | |||
| lv_fct | TYPE SY, " | |||
| lv_immed | TYPE SY. " ' ' |
|   CALL FUNCTION 'DD_CNV_BATCH_SUBMIT' " |
| EXPORTING | ||
| OBJ_NAME | = lv_obj_name | |
| ID_NAME | = lv_id_name | |
| OBJ_TYPE | = lv_obj_type | |
| USER | = lv_user | |
| STARTDATE | = lv_startdate | |
| STARTTIME | = lv_starttime | |
| SHOW_POPUP | = lv_show_popup | |
| FCT | = lv_fct | |
| IMMED | = lv_immed | |
| IMPORTING | ||
| JOBNAME_OUT | = lv_jobname_out | |
| JOBCOUNT_OUT | = lv_jobcount_out | |
| EXCEPTIONS | ||
| JOB_OPENFAILED = 1 | ||
| JOB_SUBMIT_FAILED = 2 | ||
| JOB_CLOSE_FAILED = 3 | ||
| INVALID_START_DATE = 4 | ||
| INPUT_ERROR = 5 | ||
| JOB_DEFINED_TWICE = 6 | ||
| USER_CANCELED_ACTION = 7 | ||
| . " DD_CNV_BATCH_SUBMIT | ||
ABAP code using 7.40 inline data declarations to call FM DD_CNV_BATCH_SUBMIT
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 TBATG INTO @DATA(ld_obj_name). | ||||
| "SELECT single JOBNAME FROM TBTCJOB INTO @DATA(ld_jobname_out). | ||||
| "SELECT single INDEXNAME FROM DD12L INTO @DATA(ld_id_name). | ||||
| "SELECT single JOBCOUNT FROM TBTCJOB INTO @DATA(ld_jobcount_out). | ||||
| "SELECT single OBJECT FROM TBATG INTO @DATA(ld_obj_type). | ||||
| "SELECT single UNAME FROM SY INTO @DATA(ld_user). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_startdate). | ||||
| DATA(ld_startdate) | = SY-DATUM. | |||
| "SELECT single UZEIT FROM SY INTO @DATA(ld_starttime). | ||||
| DATA(ld_starttime) | = SY-UZEIT. | |||
| DATA(ld_show_popup) | = 'X'. | |||
| DATA(ld_immed) | = ' '. | |||
Search for further information about these or an SAP related objects