SAP MDG_GN_DD_JOB_OPEN Function Module for Create and Schedule Conversion Job (Copy of DD_JOB_OPEN)









MDG_GN_DD_JOB_OPEN is a standard mdg gn dd job open SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Create and Schedule Conversion Job (Copy of DD_JOB_OPEN) 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 mdg gn dd job open FM, simply by entering the name MDG_GN_DD_JOB_OPEN into the relevant SAP transaction such as SE37 or SE38.

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



Function MDG_GN_DD_JOB_OPEN 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 'MDG_GN_DD_JOB_OPEN'"Create and Schedule Conversion Job (Copy of DD_JOB_OPEN)
EXPORTING
I_SUPPRESS_POPUP = "Suppresses Scheduling Dialog Box

IMPORTING
E_JOBNAME = "
E_JOBCOUNT = "
ES_STARTCOND = "

EXCEPTIONS
UNEXPECTED_ERROR = 1
.



IMPORTING Parameters details for MDG_GN_DD_JOB_OPEN

I_SUPPRESS_POPUP - Suppresses Scheduling Dialog Box

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

EXPORTING Parameters details for MDG_GN_DD_JOB_OPEN

E_JOBNAME -

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

E_JOBCOUNT -

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

ES_STARTCOND -

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

EXCEPTIONS details

UNEXPECTED_ERROR -

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

Copy and paste ABAP code example for MDG_GN_DD_JOB_OPEN 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_e_jobname  TYPE TBTCJOB-JOBNAME, "   
lv_i_suppress_popup  TYPE BOOLE_D, "   
lv_unexpected_error  TYPE BOOLE_D, "   
lv_e_jobcount  TYPE TBTCJOB-JOBCOUNT, "   
lv_es_startcond  TYPE TBTCSTRT. "   

  CALL FUNCTION 'MDG_GN_DD_JOB_OPEN'  "Create and Schedule Conversion Job (Copy of DD_JOB_OPEN)
    EXPORTING
         I_SUPPRESS_POPUP = lv_i_suppress_popup
    IMPORTING
         E_JOBNAME = lv_e_jobname
         E_JOBCOUNT = lv_e_jobcount
         ES_STARTCOND = lv_es_startcond
    EXCEPTIONS
        UNEXPECTED_ERROR = 1
. " MDG_GN_DD_JOB_OPEN




ABAP code using 7.40 inline data declarations to call FM MDG_GN_DD_JOB_OPEN

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 JOBNAME FROM TBTCJOB INTO @DATA(ld_e_jobname).
 
 
 
"SELECT single JOBCOUNT FROM TBTCJOB INTO @DATA(ld_e_jobcount).
 
 


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!