SAP ISU_INV_SINGLE_PROCESSING Function Module for









ISU_INV_SINGLE_PROCESSING is a standard isu inv single processing 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 inv single processing FM, simply by entering the name ISU_INV_SINGLE_PROCESSING into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_INV_SINGLE_PROCESSING 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_INV_SINGLE_PROCESSING'"
EXPORTING
* X_VKONTO = "
* X_BLDAT = SY-DATLO "
* X_SOLLDAT = SY-DATLO "
* X_DIALOG = 'X' "
* X_PARAMS_POPUP = ' ' "
* X_SHOW_RESULTS = 'X' "
* X_SIMULATED = ' ' "
* X_NO_UPDATE = ' ' "
* X_LOG_OBJECT = "
* X_EXTENDED_LOG = "
* X_PARTNER = "
* X_PORTION = "
* X_ABRVORG = "
* X_SPARTE = "
* X_ERGRD = '01' "
* X_INV_PROCESS = ' ' "
* X_FIKEY = "
* X_BUDAT = SY-DATLO "

IMPORTING
Y_NR_VKONT = "
Y_NR_SUCCESS = "
Y_NR_OPBEL = "

CHANGING
* XY_PARAM = "
* XY_HANDLE = ' ' "

TABLES
* XT_VKONT = "
* XT_INVTRIG = "
* XT_BILL_DOCS = "
* YT_OPBEL = "
* YT_PRINT_DOC = "
* XT_PARTNER = "
* XT_SAMMLERVK = "
* XT_MASTER_VK = "
* XT_PORTION = "
* XT_ABRVORG = "
* XT_SPARTE = "
* XT_WHERE = "
* XT_EITR = "

EXCEPTIONS
IU_ERROR = 1 SYSTEM_ERROR = 2
.



IMPORTING Parameters details for ISU_INV_SINGLE_PROCESSING

X_VKONTO -

Data type: ERDK-VKONT
Optional: Yes
Call by Reference: Yes

X_BLDAT -

Data type: BLDAT
Default: SY-DATLO
Optional: Yes
Call by Reference: Yes

X_SOLLDAT -

Data type: ABSDAT_INV
Default: SY-DATLO
Optional: Yes
Call by Reference: Yes

X_DIALOG -

Data type: DIALOG_KK
Default: 'X'
Optional: Yes
Call by Reference: Yes

X_PARAMS_POPUP -

Data type: XFELD
Default: ' '
Optional: No
Call by Reference: Yes

X_SHOW_RESULTS -

Data type: XFELD
Default: 'X'
Optional: Yes
Call by Reference: Yes

X_SIMULATED -

Data type: SIMULATED
Default: ' '
Optional: Yes
Call by Reference: Yes

X_NO_UPDATE -

Data type: NO_UPDATE
Default: ' '
Optional: Yes
Call by Reference: Yes

X_LOG_OBJECT -

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

X_EXTENDED_LOG -

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

X_PARTNER -

Data type: ERDK-PARTNER
Optional: Yes
Call by Reference: Yes

X_PORTION -

Data type: ERDK-PORTION
Optional: Yes
Call by Reference: Yes

X_ABRVORG -

Data type: ERDK-ABRVORG
Optional: Yes
Call by Reference: Yes

X_SPARTE -

Data type: EITR-SPARTE
Optional: Yes
Call by Reference: Yes

X_ERGRD -

Data type: ERGRD
Default: '01'
Optional: Yes
Call by Reference: Yes

X_INV_PROCESS -

Data type: INV_PROCESS_KK
Default: ' '
Optional: Yes
Call by Reference: Yes

X_FIKEY -

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

X_BUDAT -

Data type: BUDAT_KK
Default: SY-DATLO
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for ISU_INV_SINGLE_PROCESSING

Y_NR_VKONT -

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

Y_NR_SUCCESS -

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

Y_NR_OPBEL -

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

CHANGING Parameters details for ISU_INV_SINGLE_PROCESSING

XY_PARAM -

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

XY_HANDLE -

Data type: EMSG_GEN-HANDLE
Default: ' '
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for ISU_INV_SINGLE_PROCESSING

XT_VKONT -

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

XT_INVTRIG -

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

XT_BILL_DOCS -

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

YT_OPBEL -

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

YT_PRINT_DOC -

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

XT_PARTNER -

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

XT_SAMMLERVK -

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

XT_MASTER_VK -

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

XT_PORTION -

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

XT_ABRVORG -

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

XT_SPARTE -

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

XT_WHERE -

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

XT_EITR -

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

EXCEPTIONS details

IU_ERROR -

Data type:
Optional: No
Call by Reference: Yes

SYSTEM_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISU_INV_SINGLE_PROCESSING 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_iu_error  TYPE STRING, "   
lt_xt_vkont  TYPE STANDARD TABLE OF ISU_RANGES, "   
lv_xy_param  TYPE ISU21_INVOICE_PARAM, "   
lv_x_vkonto  TYPE ERDK-VKONT, "   
lv_y_nr_vkont  TYPE I, "   
lv_x_bldat  TYPE BLDAT, "   SY-DATLO
lt_xt_invtrig  TYPE STANDARD TABLE OF FKKINV_TRIG_TAB, "   
lv_x_solldat  TYPE ABSDAT_INV, "   SY-DATLO
lt_xt_bill_docs  TYPE STANDARD TABLE OF ISU2A_T_BILL_DOC, "   
lv_x_dialog  TYPE DIALOG_KK, "   'X'
lt_yt_opbel  TYPE STANDARD TABLE OF INV_OPBEL, "   
lt_yt_print_doc  TYPE STANDARD TABLE OF ISU21_T_PRINT_DOC, "   
lv_x_params_popup  TYPE XFELD, "   ' '
lv_x_show_results  TYPE XFELD, "   'X'
lv_x_simulated  TYPE SIMULATED, "   ' '
lv_x_no_update  TYPE NO_UPDATE, "   ' '
lv_x_log_object  TYPE BALOBJ_D, "   
lv_x_extended_log  TYPE EXLOG, "   
lv_xy_handle  TYPE EMSG_GEN-HANDLE, "   ' '
lv_x_partner  TYPE ERDK-PARTNER, "   
lt_xt_partner  TYPE STANDARD TABLE OF ISU_RANGES, "   
lv_system_error  TYPE ISU_RANGES, "   
lv_y_nr_success  TYPE I, "   
lv_x_portion  TYPE ERDK-PORTION, "   
lv_y_nr_opbel  TYPE I, "   
lt_xt_sammlervk  TYPE STANDARD TABLE OF ISU_RANGES, "   
lv_x_abrvorg  TYPE ERDK-ABRVORG, "   
lt_xt_master_vk  TYPE STANDARD TABLE OF ISU_RANGES, "   
lv_x_sparte  TYPE EITR-SPARTE, "   
lt_xt_portion  TYPE STANDARD TABLE OF ISU_RANGES, "   
lv_x_ergrd  TYPE ERGRD, "   '01'
lt_xt_abrvorg  TYPE STANDARD TABLE OF ISU_RANGES, "   
lt_xt_sparte  TYPE STANDARD TABLE OF ISU_RANGES, "   
lv_x_inv_process  TYPE INV_PROCESS_KK, "   ' '
lv_x_fikey  TYPE FIKEY_KK, "   
lt_xt_where  TYPE STANDARD TABLE OF RSDS_TWHERE, "   
lt_xt_eitr  TYPE STANDARD TABLE OF EITR, "   
lv_x_budat  TYPE BUDAT_KK. "   SY-DATLO

  CALL FUNCTION 'ISU_INV_SINGLE_PROCESSING'  "
    EXPORTING
         X_VKONTO = lv_x_vkonto
         X_BLDAT = lv_x_bldat
         X_SOLLDAT = lv_x_solldat
         X_DIALOG = lv_x_dialog
         X_PARAMS_POPUP = lv_x_params_popup
         X_SHOW_RESULTS = lv_x_show_results
         X_SIMULATED = lv_x_simulated
         X_NO_UPDATE = lv_x_no_update
         X_LOG_OBJECT = lv_x_log_object
         X_EXTENDED_LOG = lv_x_extended_log
         X_PARTNER = lv_x_partner
         X_PORTION = lv_x_portion
         X_ABRVORG = lv_x_abrvorg
         X_SPARTE = lv_x_sparte
         X_ERGRD = lv_x_ergrd
         X_INV_PROCESS = lv_x_inv_process
         X_FIKEY = lv_x_fikey
         X_BUDAT = lv_x_budat
    IMPORTING
         Y_NR_VKONT = lv_y_nr_vkont
         Y_NR_SUCCESS = lv_y_nr_success
         Y_NR_OPBEL = lv_y_nr_opbel
    CHANGING
         XY_PARAM = lv_xy_param
         XY_HANDLE = lv_xy_handle
    TABLES
         XT_VKONT = lt_xt_vkont
         XT_INVTRIG = lt_xt_invtrig
         XT_BILL_DOCS = lt_xt_bill_docs
         YT_OPBEL = lt_yt_opbel
         YT_PRINT_DOC = lt_yt_print_doc
         XT_PARTNER = lt_xt_partner
         XT_SAMMLERVK = lt_xt_sammlervk
         XT_MASTER_VK = lt_xt_master_vk
         XT_PORTION = lt_xt_portion
         XT_ABRVORG = lt_xt_abrvorg
         XT_SPARTE = lt_xt_sparte
         XT_WHERE = lt_xt_where
         XT_EITR = lt_xt_eitr
    EXCEPTIONS
        IU_ERROR = 1
        SYSTEM_ERROR = 2
. " ISU_INV_SINGLE_PROCESSING




ABAP code using 7.40 inline data declarations to call FM ISU_INV_SINGLE_PROCESSING

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 VKONT FROM ERDK INTO @DATA(ld_x_vkonto).
 
 
DATA(ld_x_bldat) = SY-DATLO.
 
 
DATA(ld_x_solldat) = SY-DATLO.
 
 
DATA(ld_x_dialog) = 'X'.
 
 
 
DATA(ld_x_params_popup) = ' '.
 
DATA(ld_x_show_results) = 'X'.
 
DATA(ld_x_simulated) = ' '.
 
DATA(ld_x_no_update) = ' '.
 
 
 
"SELECT single HANDLE FROM EMSG_GEN INTO @DATA(ld_xy_handle).
DATA(ld_xy_handle) = ' '.
 
"SELECT single PARTNER FROM ERDK INTO @DATA(ld_x_partner).
 
 
 
 
"SELECT single PORTION FROM ERDK INTO @DATA(ld_x_portion).
 
 
 
"SELECT single ABRVORG FROM ERDK INTO @DATA(ld_x_abrvorg).
 
 
"SELECT single SPARTE FROM EITR INTO @DATA(ld_x_sparte).
 
 
DATA(ld_x_ergrd) = '01'.
 
 
 
DATA(ld_x_inv_process) = ' '.
 
 
 
 
DATA(ld_x_budat) = SY-DATLO.
 


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!