SAP J_1I4A_CREATE_SD_INV_UPDATE Function Module for Update the database in update task









J_1I4A_CREATE_SD_INV_UPDATE is a standard j 1i4a create sd inv update SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Update the database in update task 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 j 1i4a create sd inv update FM, simply by entering the name J_1I4A_CREATE_SD_INV_UPDATE into the relevant SAP transaction such as SE37 or SE38.

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



Function J_1I4A_CREATE_SD_INV_UPDATE 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 'J_1I4A_CREATE_SD_INV_UPDATE'"Update the database in update task
EXPORTING
EXYEAR = "Excise Year
* T_LOCEXP = 'LOCAL' "Character field of length 6
* EXP_TYPE = ' ' "Not More Closely Defined Area, Possibly Used for Patchlevels
SERGRP = "Excise Document Series Group
EXGRP = "Excise Group
PDATE = "Billing date for billing index and printout
J_1IEXCHDR = "Excise invoice header detail

TABLES
Z_1IEXCDTL = "Excise invoice line item details
Z_1IPART2 = "Excise Part II details
.



IMPORTING Parameters details for J_1I4A_CREATE_SD_INV_UPDATE

EXYEAR - Excise Year

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

T_LOCEXP - Character field of length 6

Data type: CHAR6
Default: 'LOCAL'
Optional: No
Call by Reference: No ( called with pass by value option)

EXP_TYPE - Not More Closely Defined Area, Possibly Used for Patchlevels

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

SERGRP - Excise Document Series Group

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

EXGRP - Excise Group

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

PDATE - Billing date for billing index and printout

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

J_1IEXCHDR - Excise invoice header detail

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

TABLES Parameters details for J_1I4A_CREATE_SD_INV_UPDATE

Z_1IEXCDTL - Excise invoice line item details

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

Z_1IPART2 - Excise Part II details

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

Copy and paste ABAP code example for J_1I4A_CREATE_SD_INV_UPDATE 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_exyear  TYPE J_1IEXCHDR-EXYEAR, "   
lt_z_1iexcdtl  TYPE STANDARD TABLE OF J_1IEXCDTL, "   
lv_t_locexp  TYPE CHAR6, "   'LOCAL'
lt_z_1ipart2  TYPE STANDARD TABLE OF J_1IPART2, "   
lv_exp_type  TYPE CHAR4, "   ' '
lv_sergrp  TYPE J_1IEXCHDR-SRGRP, "   
lv_exgrp  TYPE J_1IEXCHDR-EXGRP, "   
lv_pdate  TYPE VBRK-FKDAT, "   
lv_j_1iexchdr  TYPE J_1IEXCHDR. "   

  CALL FUNCTION 'J_1I4A_CREATE_SD_INV_UPDATE'  "Update the database in update task
    EXPORTING
         EXYEAR = lv_exyear
         T_LOCEXP = lv_t_locexp
         EXP_TYPE = lv_exp_type
         SERGRP = lv_sergrp
         EXGRP = lv_exgrp
         PDATE = lv_pdate
         J_1IEXCHDR = lv_j_1iexchdr
    TABLES
         Z_1IEXCDTL = lt_z_1iexcdtl
         Z_1IPART2 = lt_z_1ipart2
. " J_1I4A_CREATE_SD_INV_UPDATE




ABAP code using 7.40 inline data declarations to call FM J_1I4A_CREATE_SD_INV_UPDATE

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 EXYEAR FROM J_1IEXCHDR INTO @DATA(ld_exyear).
 
 
DATA(ld_t_locexp) = 'LOCAL'.
 
 
DATA(ld_exp_type) = ' '.
 
"SELECT single SRGRP FROM J_1IEXCHDR INTO @DATA(ld_sergrp).
 
"SELECT single EXGRP FROM J_1IEXCHDR INTO @DATA(ld_exgrp).
 
"SELECT single FKDAT FROM VBRK INTO @DATA(ld_pdate).
 
 


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!