SAP J_1I7_USEREXIT_EXGRP_DETERM Function Module for User exit for determining the excise group









J_1I7_USEREXIT_EXGRP_DETERM is a standard j 1i7 userexit exgrp determ SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for User exit for determining the excise group 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 1i7 userexit exgrp determ FM, simply by entering the name J_1I7_USEREXIT_EXGRP_DETERM into the relevant SAP transaction such as SE37 or SE38.

Function Group: J1I7
Program Name: SAPLJ1I7
Main Program: SAPLJ1I7
Appliation area: Z
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function J_1I7_USEREXIT_EXGRP_DETERM 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_1I7_USEREXIT_EXGRP_DETERM'"User exit for determining the excise group
EXPORTING
* EXCGRP = "
* MBLNR = "
* MJAHR = "
* VENDOR = "
* VBELN = "
* TRNMODE = "

IMPORTING
EXCGRP = "
SHIPFROM_IND = "
RG23D_SERIALNO = "
.



IMPORTING Parameters details for J_1I7_USEREXIT_EXGRP_DETERM

EXCGRP -

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

MBLNR -

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

MJAHR -

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

VENDOR -

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

VBELN -

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

TRNMODE -

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

EXPORTING Parameters details for J_1I7_USEREXIT_EXGRP_DETERM

EXCGRP -

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

SHIPFROM_IND -

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

RG23D_SERIALNO -

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

Copy and paste ABAP code example for J_1I7_USEREXIT_EXGRP_DETERM 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_excgrp  TYPE J_1IEXCHDR-EXGRP, "   
lv_excgrp  TYPE J_1IEXCHDR-EXGRP, "   
lv_mblnr  TYPE MSEG-MBLNR, "   
lv_shipfrom_ind  TYPE J_1IEXCHDR-STATUS, "   
lv_mjahr  TYPE MSEG-MJAHR, "   
lv_rg23d_serialno  TYPE J_1IEXCHDR-STATUS, "   
lv_vendor  TYPE LFA1-LIFNR, "   
lv_vbeln  TYPE LIKP-VBELN, "   
lv_trnmode  TYPE J_1IRG23D-STATUS. "   

  CALL FUNCTION 'J_1I7_USEREXIT_EXGRP_DETERM'  "User exit for determining the excise group
    EXPORTING
         EXCGRP = lv_excgrp
         MBLNR = lv_mblnr
         MJAHR = lv_mjahr
         VENDOR = lv_vendor
         VBELN = lv_vbeln
         TRNMODE = lv_trnmode
    IMPORTING
         EXCGRP = lv_excgrp
         SHIPFROM_IND = lv_shipfrom_ind
         RG23D_SERIALNO = lv_rg23d_serialno
. " J_1I7_USEREXIT_EXGRP_DETERM




ABAP code using 7.40 inline data declarations to call FM J_1I7_USEREXIT_EXGRP_DETERM

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 EXGRP FROM J_1IEXCHDR INTO @DATA(ld_excgrp).
 
"SELECT single EXGRP FROM J_1IEXCHDR INTO @DATA(ld_excgrp).
 
"SELECT single MBLNR FROM MSEG INTO @DATA(ld_mblnr).
 
"SELECT single STATUS FROM J_1IEXCHDR INTO @DATA(ld_shipfrom_ind).
 
"SELECT single MJAHR FROM MSEG INTO @DATA(ld_mjahr).
 
"SELECT single STATUS FROM J_1IEXCHDR INTO @DATA(ld_rg23d_serialno).
 
"SELECT single LIFNR FROM LFA1 INTO @DATA(ld_vendor).
 
"SELECT single VBELN FROM LIKP INTO @DATA(ld_vbeln).
 
"SELECT single STATUS FROM J_1IRG23D INTO @DATA(ld_trnmode).
 


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!