JITOUT04_ACTION_CREATE_DELI is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name JITOUT04_ACTION_CREATE_DELI into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
JITOUT04
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'JITOUT04_ACTION_CREATE_DELI' "
* EXPORTING
* fr_action_iv = " cjit07-aktion Action
* pg_spec_it = " jit00_pg_status_pt
CHANGING
async_posting_cv = " c
jitodiait_ct = " jitodiait_tt Table Type for JITODIAIT
jitodiaco_ct = " jitodiaco_tt Table Type for JITODIACO
jitodiahd_ct = " jitodiahd_tt Table Type for JITODIAHD
* jitoad_ct = " jitoad_tt Additional Data for JIT Outbound
* mssg_ret_ct = " mssg_ret_tt Transfer Table for System Messages
* status_upd_done_cv = " c
* jitodata_cs = " jitodata Interface Structure for Outbound Action Control
EXCEPTIONS
DELIVERY_CREATION_NOT_POSSIBLE = 1 "
. " JITOUT04_ACTION_CREATE_DELI
The ABAP code below is a full code listing to execute function module JITOUT04_ACTION_CREATE_DELI including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
DATA(ld_async_posting_cv) = 'Check type of data required'.
DATA(ld_jitodiait_ct) = 'Check type of data required'.
DATA(ld_jitodiaco_ct) = 'Check type of data required'.
DATA(ld_jitodiahd_ct) = 'Check type of data required'.
DATA(ld_jitoad_ct) = 'Check type of data required'.
DATA(ld_mssg_ret_ct) = 'Check type of data required'.
DATA(ld_status_upd_done_cv) = 'Check type of data required'.
DATA(ld_jitodata_cs) = 'Check type of data required'.
SELECT single AKTION
FROM CJIT07
INTO @DATA(ld_fr_action_iv).
DATA(ld_pg_spec_it) = 'Check type of data required'. . CALL FUNCTION 'JITOUT04_ACTION_CREATE_DELI' * EXPORTING * fr_action_iv = ld_fr_action_iv * pg_spec_it = ld_pg_spec_it CHANGING async_posting_cv = ld_async_posting_cv jitodiait_ct = ld_jitodiait_ct jitodiaco_ct = ld_jitodiaco_ct jitodiahd_ct = ld_jitodiahd_ct * jitoad_ct = ld_jitoad_ct * mssg_ret_ct = ld_mssg_ret_ct * status_upd_done_cv = ld_status_upd_done_cv * jitodata_cs = ld_jitodata_cs EXCEPTIONS DELIVERY_CREATION_NOT_POSSIBLE = 1 . " JITOUT04_ACTION_CREATE_DELI
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ENDIF.
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_async_posting_cv | TYPE C , |
| ld_fr_action_iv | TYPE CJIT07-AKTION , |
| ld_jitodiait_ct | TYPE JITODIAIT_TT , |
| ld_pg_spec_it | TYPE JIT00_PG_STATUS_PT , |
| ld_jitodiaco_ct | TYPE JITODIACO_TT , |
| ld_jitodiahd_ct | TYPE JITODIAHD_TT , |
| ld_jitoad_ct | TYPE JITOAD_TT , |
| ld_mssg_ret_ct | TYPE MSSG_RET_TT , |
| ld_status_upd_done_cv | TYPE C , |
| ld_jitodata_cs | TYPE JITODATA . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name JITOUT04_ACTION_CREATE_DELI or its description.