SAP JITOUT03_CONVERT_DB_TO_DIA2 Function Module for NOTRANSL: Konvertieren der DB-Strukturen in die Dialogstrukturen









JITOUT03_CONVERT_DB_TO_DIA2 is a standard jitout03 convert db to dia2 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Konvertieren der DB-Strukturen in die Dialogstrukturen 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 jitout03 convert db to dia2 FM, simply by entering the name JITOUT03_CONVERT_DB_TO_DIA2 into the relevant SAP transaction such as SE37 or SE38.

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



Function JITOUT03_CONVERT_DB_TO_DIA2 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 'JITOUT03_CONVERT_DB_TO_DIA2'"NOTRANSL: Konvertieren der DB-Strukturen in die Dialogstrukturen
EXPORTING
* TIMEZONE_IV = "Date and time, time zone of user
* CALC_GR_QTY_IV = ' ' "
* PLANT_TIME_IV = "

IMPORTING
MSSG_RET_ET = "Transfer Table for System Messages

CHANGING
* JITODIAHD_CT = "Table Type for JITODIAHD
JITODIAIT_CT = "Table Type for JITODIAIT
JITODIACO_CT = "Table Type for JITODIACO
* JITOAD_CT = "Additional Data for JIT Outbound

EXCEPTIONS
CONVERSION_ERROR = 1
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLJITOUT03_001

IMPORTING Parameters details for JITOUT03_CONVERT_DB_TO_DIA2

TIMEZONE_IV - Date and time, time zone of user

Data type: SYSTZONLO
Optional: Yes
Call by Reference: Yes

CALC_GR_QTY_IV -

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

PLANT_TIME_IV -

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

EXPORTING Parameters details for JITOUT03_CONVERT_DB_TO_DIA2

MSSG_RET_ET - Transfer Table for System Messages

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

CHANGING Parameters details for JITOUT03_CONVERT_DB_TO_DIA2

JITODIAHD_CT - Table Type for JITODIAHD

Data type: JITODIAHD_TT
Optional: Yes
Call by Reference: Yes

JITODIAIT_CT - Table Type for JITODIAIT

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

JITODIACO_CT - Table Type for JITODIACO

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

JITOAD_CT - Additional Data for JIT Outbound

Data type: JITOAD_TT
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

CONVERSION_ERROR -

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

Copy and paste ABAP code example for JITOUT03_CONVERT_DB_TO_DIA2 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_mssg_ret_et  TYPE MSSG_RET_TT, "   
lv_timezone_iv  TYPE SYSTZONLO, "   
lv_jitodiahd_ct  TYPE JITODIAHD_TT, "   
lv_conversion_error  TYPE JITODIAHD_TT, "   
lv_jitodiait_ct  TYPE JITODIAIT_TT, "   
lv_calc_gr_qty_iv  TYPE XFELD, "   SPACE
lv_jitodiaco_ct  TYPE JITODIACO_TT, "   
lv_plant_time_iv  TYPE CHAR1, "   
lv_jitoad_ct  TYPE JITOAD_TT. "   

  CALL FUNCTION 'JITOUT03_CONVERT_DB_TO_DIA2'  "NOTRANSL: Konvertieren der DB-Strukturen in die Dialogstrukturen
    EXPORTING
         TIMEZONE_IV = lv_timezone_iv
         CALC_GR_QTY_IV = lv_calc_gr_qty_iv
         PLANT_TIME_IV = lv_plant_time_iv
    IMPORTING
         MSSG_RET_ET = lv_mssg_ret_et
    CHANGING
         JITODIAHD_CT = lv_jitodiahd_ct
         JITODIAIT_CT = lv_jitodiait_ct
         JITODIACO_CT = lv_jitodiaco_ct
         JITOAD_CT = lv_jitoad_ct
    EXCEPTIONS
        CONVERSION_ERROR = 1
. " JITOUT03_CONVERT_DB_TO_DIA2




ABAP code using 7.40 inline data declarations to call FM JITOUT03_CONVERT_DB_TO_DIA2

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.

 
 
 
 
 
DATA(ld_calc_gr_qty_iv) = ' '.
 
 
 
 


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!