SAP ISU_REFERENCE_CUSTOMER_CHECK Function Module for









ISU_REFERENCE_CUSTOMER_CHECK is a standard isu reference customer check SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 isu reference customer check FM, simply by entering the name ISU_REFERENCE_CUSTOMER_CHECK into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_REFERENCE_CUSTOMER_CHECK 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 'ISU_REFERENCE_CUSTOMER_CHECK'"
EXPORTING
X_REF_CUSTOMER = "
* X_PARTNER = "
* X_AKTYP = '01' "
* X_NRRNG = "
* X_NO_CHECK_RCI = "
* X_SUPPR_WARNING = "
* X_INBOUND = "
* X_GP_CLEANSING = "
* X_INBOUND_XI = "

IMPORTING
Y_REF_CUST_DATA = "
Y_CUSTOMER_DATA = "
Y_KNA1 = "

TABLES
* XT_RLTYPES = "

EXCEPTIONS
INPUT_ERROR = 1 CUSTOMER_EXISTING = 2 INCONSISTANCE = 3 OBLIGATORY = 4
.



IMPORTING Parameters details for ISU_REFERENCE_CUSTOMER_CHECK

X_REF_CUSTOMER -

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

X_PARTNER -

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

X_AKTYP -

Data type: TBZ0K-AKTYP
Default: '01'
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_NRRNG -

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

X_NO_CHECK_RCI -

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

X_SUPPR_WARNING -

Data type: BOOLE-BOOLE
Optional: Yes
Call by Reference: Yes

X_INBOUND -

Data type: BOOLE-BOOLE
Optional: Yes
Call by Reference: Yes

X_GP_CLEANSING -

Data type: BOOLE-BOOLE
Optional: Yes
Call by Reference: Yes

X_INBOUND_XI -

Data type: BOOLE-BOOLE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for ISU_REFERENCE_CUSTOMER_CHECK

Y_REF_CUST_DATA -

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

Y_CUSTOMER_DATA -

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

Y_KNA1 -

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

TABLES Parameters details for ISU_REFERENCE_CUSTOMER_CHECK

XT_RLTYPES -

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

EXCEPTIONS details

INPUT_ERROR -

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

CUSTOMER_EXISTING -

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

INCONSISTANCE -

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

OBLIGATORY -

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

Copy and paste ABAP code example for ISU_REFERENCE_CUSTOMER_CHECK 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_xt_rltypes  TYPE STANDARD TABLE OF BUP_PARTNERROLES, "   
lv_input_error  TYPE BUP_PARTNERROLES, "   
lv_x_ref_customer  TYPE EKUND-MUSTER_KUN, "   
lv_y_ref_cust_data  TYPE ISU01_CUSTOMER_DATA, "   
lv_x_partner  TYPE BUT000-PARTNER, "   
lv_y_customer_data  TYPE ISU01_CUSTOMER_DATA, "   
lv_customer_existing  TYPE ISU01_CUSTOMER_DATA, "   
lv_y_kna1  TYPE KNA1, "   
lv_x_aktyp  TYPE TBZ0K-AKTYP, "   '01'
lv_inconsistance  TYPE TBZ0K, "   
lv_x_nrrng  TYPE BUS_ISTAT-NRRNG, "   
lv_obligatory  TYPE BUS_ISTAT, "   
lv_x_no_check_rci  TYPE REGEN-KENNZX, "   
lv_x_suppr_warning  TYPE BOOLE-BOOLE, "   
lv_x_inbound  TYPE BOOLE-BOOLE, "   
lv_x_gp_cleansing  TYPE BOOLE-BOOLE, "   
lv_x_inbound_xi  TYPE BOOLE-BOOLE. "   

  CALL FUNCTION 'ISU_REFERENCE_CUSTOMER_CHECK'  "
    EXPORTING
         X_REF_CUSTOMER = lv_x_ref_customer
         X_PARTNER = lv_x_partner
         X_AKTYP = lv_x_aktyp
         X_NRRNG = lv_x_nrrng
         X_NO_CHECK_RCI = lv_x_no_check_rci
         X_SUPPR_WARNING = lv_x_suppr_warning
         X_INBOUND = lv_x_inbound
         X_GP_CLEANSING = lv_x_gp_cleansing
         X_INBOUND_XI = lv_x_inbound_xi
    IMPORTING
         Y_REF_CUST_DATA = lv_y_ref_cust_data
         Y_CUSTOMER_DATA = lv_y_customer_data
         Y_KNA1 = lv_y_kna1
    TABLES
         XT_RLTYPES = lt_xt_rltypes
    EXCEPTIONS
        INPUT_ERROR = 1
        CUSTOMER_EXISTING = 2
        INCONSISTANCE = 3
        OBLIGATORY = 4
. " ISU_REFERENCE_CUSTOMER_CHECK




ABAP code using 7.40 inline data declarations to call FM ISU_REFERENCE_CUSTOMER_CHECK

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 MUSTER_KUN FROM EKUND INTO @DATA(ld_x_ref_customer).
 
 
"SELECT single PARTNER FROM BUT000 INTO @DATA(ld_x_partner).
 
 
 
 
"SELECT single AKTYP FROM TBZ0K INTO @DATA(ld_x_aktyp).
DATA(ld_x_aktyp) = '01'.
 
 
"SELECT single NRRNG FROM BUS_ISTAT INTO @DATA(ld_x_nrrng).
 
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_no_check_rci).
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_x_suppr_warning).
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_x_inbound).
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_x_gp_cleansing).
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_x_inbound_xi).
 


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!