SAP J_1IEXGM_GENERATE_EXCISE_ENTRY Function Module for Generate Part1 in Update Task
J_1IEXGM_GENERATE_EXCISE_ENTRY is a standard j 1iexgm generate excise entry SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Generate Part1 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 1iexgm generate excise entry FM, simply by entering the name J_1IEXGM_GENERATE_EXCISE_ENTRY into the relevant SAP transaction such as SE37 or SE38.
Function Group: J1IEXGM
Program Name: SAPLJ1IEXGM
Main Program: SAPLJ1IEXGM
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update: 1

Function J_1IEXGM_GENERATE_EXCISE_ENTRY 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_1IEXGM_GENERATE_EXCISE_ENTRY'"Generate Part1 in Update Task.
EXPORTING
IS_EXCHDR = "Excise invoice header detail
TABLES
* IT_PART1 = "
* IT_GRXREF = "
* IT_RGSUM = "
* IT_EXCDTL = "
* IT_RG23D = "RG23D register for the depot
* IT_PART2 = "Excise Part II details
* IT_RG1 = "Excise RG1 details
* IT_GRXSUB = "GR reference to subcontracting challans
* IT_EXCDEP = "Excise information of vendor at detail level for depot
IMPORTING Parameters details for J_1IEXGM_GENERATE_EXCISE_ENTRY
IS_EXCHDR - Excise invoice header detail
Data type: J_1IEXCHDROptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for J_1IEXGM_GENERATE_EXCISE_ENTRY
IT_PART1 -
Data type: J_1IPART1Optional: Yes
Call by Reference: Yes
IT_GRXREF -
Data type: J_1IGRXREFOptional: Yes
Call by Reference: Yes
IT_RGSUM -
Data type: J_1IRGSUMOptional: Yes
Call by Reference: Yes
IT_EXCDTL -
Data type: J_1IEXCDTLOptional: Yes
Call by Reference: Yes
IT_RG23D - RG23D register for the depot
Data type: J_1IRG23DOptional: Yes
Call by Reference: Yes
IT_PART2 - Excise Part II details
Data type: J_1IPART2Optional: Yes
Call by Reference: Yes
IT_RG1 - Excise RG1 details
Data type: J_1IRG1Optional: Yes
Call by Reference: Yes
IT_GRXSUB - GR reference to subcontracting challans
Data type: J_1IGRXSUBOptional: Yes
Call by Reference: Yes
IT_EXCDEP - Excise information of vendor at detail level for depot
Data type: J_1IEXCDEPOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for J_1IEXGM_GENERATE_EXCISE_ENTRY 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: | ||||
| lt_it_part1 | TYPE STANDARD TABLE OF J_1IPART1, " | |||
| lv_is_exchdr | TYPE J_1IEXCHDR, " | |||
| lt_it_grxref | TYPE STANDARD TABLE OF J_1IGRXREF, " | |||
| lt_it_rgsum | TYPE STANDARD TABLE OF J_1IRGSUM, " | |||
| lt_it_excdtl | TYPE STANDARD TABLE OF J_1IEXCDTL, " | |||
| lt_it_rg23d | TYPE STANDARD TABLE OF J_1IRG23D, " | |||
| lt_it_part2 | TYPE STANDARD TABLE OF J_1IPART2, " | |||
| lt_it_rg1 | TYPE STANDARD TABLE OF J_1IRG1, " | |||
| lt_it_grxsub | TYPE STANDARD TABLE OF J_1IGRXSUB, " | |||
| lt_it_excdep | TYPE STANDARD TABLE OF J_1IEXCDEP. " |
|   CALL FUNCTION 'J_1IEXGM_GENERATE_EXCISE_ENTRY' "Generate Part1 in Update Task |
| EXPORTING | ||
| IS_EXCHDR | = lv_is_exchdr | |
| TABLES | ||
| IT_PART1 | = lt_it_part1 | |
| IT_GRXREF | = lt_it_grxref | |
| IT_RGSUM | = lt_it_rgsum | |
| IT_EXCDTL | = lt_it_excdtl | |
| IT_RG23D | = lt_it_rg23d | |
| IT_PART2 | = lt_it_part2 | |
| IT_RG1 | = lt_it_rg1 | |
| IT_GRXSUB | = lt_it_grxsub | |
| IT_EXCDEP | = lt_it_excdep | |
| . " J_1IEXGM_GENERATE_EXCISE_ENTRY | ||
ABAP code using 7.40 inline data declarations to call FM J_1IEXGM_GENERATE_EXCISE_ENTRY
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.Search for further information about these or an SAP related objects