SAP ISU_COLL_BILL_CREATE_UPDATE Function Module for INTERNAL: Create and Update Collective Bill









ISU_COLL_BILL_CREATE_UPDATE is a standard isu coll bill create 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 INTERNAL: Create and Update Collective Bill 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 isu coll bill create update FM, simply by entering the name ISU_COLL_BILL_CREATE_UPDATE into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_COLL_BILL_CREATE_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 'ISU_COLL_BILL_CREATE_UPDATE'"INTERNAL: Create and Update Collective Bill
EXPORTING
* X_GPART_SR = "
* X_NEW_FIKEY = ' ' "
* X_ORIGIN = ' ' "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* X_MASS = "
* X_UPDATE_TASK = ' ' "
X_VKONT_SR = "
* X_HERKF = "Origin
* X_AUGRS = "
* X_SRXBLNR = "Reference Document Number
* X_BUDAT = "Posting Date in Document
* X_BLDAT = "Document Date in Document
* X_SIMULATION = ' ' "Simulation Mode
* X_UPDATE = ' ' "

IMPORTING
Y_COMRQ = "
Y_FIKEY = "
Y_ABWBL = "
Y_XNEW_ABWBL = "

TABLES
* TY_FKKOP = "

EXCEPTIONS
IU_ERROR = 1 SYSTEM_ERROR = 2
.



IMPORTING Parameters details for ISU_COLL_BILL_CREATE_UPDATE

X_GPART_SR -

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

X_NEW_FIKEY -

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_ORIGIN - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_MASS -

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

X_UPDATE_TASK -

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_VKONT_SR -

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

X_HERKF - Origin

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

X_AUGRS -

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

X_SRXBLNR - Reference Document Number

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

X_BUDAT - Posting Date in Document

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

X_BLDAT - Document Date in Document

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

X_SIMULATION - Simulation Mode

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_UPDATE -

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for ISU_COLL_BILL_CREATE_UPDATE

Y_COMRQ -

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

Y_FIKEY -

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

Y_ABWBL -

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

Y_XNEW_ABWBL -

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

TABLES Parameters details for ISU_COLL_BILL_CREATE_UPDATE

TY_FKKOP -

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

EXCEPTIONS details

IU_ERROR -

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

SYSTEM_ERROR -

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

Copy and paste ABAP code example for ISU_COLL_BILL_CREATE_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_y_comrq  TYPE BOOLE-BOOLE, "   
lv_iu_error  TYPE BOOLE, "   
lt_ty_fkkop  TYPE STANDARD TABLE OF FKKOP, "   
lv_x_gpart_sr  TYPE FKKOP-GPART, "   
lv_x_new_fikey  TYPE BOOLE-BOOLE, "   SPACE
lv_x_origin  TYPE BOOLE-BOOLE, "   SPACE
lv_x_mass  TYPE C, "   
lv_x_update_task  TYPE BOOLE-BOOLE, "   SPACE
lv_y_fikey  TYPE FKKKO-FIKEY, "   
lv_x_vkont_sr  TYPE FKKOP-VKONT, "   
lv_system_error  TYPE FKKOP, "   
lv_x_herkf  TYPE FKKKO-HERKF, "   
lv_y_abwbl  TYPE FKKOP-ABWBL, "   
lv_x_augrs  TYPE FKKOP-AUGRS, "   
lv_y_xnew_abwbl  TYPE REGEN-ACTUAL, "   
lv_x_srxblnr  TYPE FKKOP-XBLNR, "   
lv_x_budat  TYPE FKKKO-BUDAT, "   
lv_x_bldat  TYPE FKKKO-BLDAT, "   
lv_x_simulation  TYPE BOOLE-BOOLE, "   SPACE
lv_x_update  TYPE BOOLE-BOOLE. "   SPACE

  CALL FUNCTION 'ISU_COLL_BILL_CREATE_UPDATE'  "INTERNAL: Create and Update Collective Bill
    EXPORTING
         X_GPART_SR = lv_x_gpart_sr
         X_NEW_FIKEY = lv_x_new_fikey
         X_ORIGIN = lv_x_origin
         X_MASS = lv_x_mass
         X_UPDATE_TASK = lv_x_update_task
         X_VKONT_SR = lv_x_vkont_sr
         X_HERKF = lv_x_herkf
         X_AUGRS = lv_x_augrs
         X_SRXBLNR = lv_x_srxblnr
         X_BUDAT = lv_x_budat
         X_BLDAT = lv_x_bldat
         X_SIMULATION = lv_x_simulation
         X_UPDATE = lv_x_update
    IMPORTING
         Y_COMRQ = lv_y_comrq
         Y_FIKEY = lv_y_fikey
         Y_ABWBL = lv_y_abwbl
         Y_XNEW_ABWBL = lv_y_xnew_abwbl
    TABLES
         TY_FKKOP = lt_ty_fkkop
    EXCEPTIONS
        IU_ERROR = 1
        SYSTEM_ERROR = 2
. " ISU_COLL_BILL_CREATE_UPDATE




ABAP code using 7.40 inline data declarations to call FM ISU_COLL_BILL_CREATE_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 BOOLE FROM BOOLE INTO @DATA(ld_y_comrq).
 
 
 
"SELECT single GPART FROM FKKOP INTO @DATA(ld_x_gpart_sr).
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_x_new_fikey).
DATA(ld_x_new_fikey) = ' '.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_x_origin).
DATA(ld_x_origin) = ' '.
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_x_update_task).
DATA(ld_x_update_task) = ' '.
 
"SELECT single FIKEY FROM FKKKO INTO @DATA(ld_y_fikey).
 
"SELECT single VKONT FROM FKKOP INTO @DATA(ld_x_vkont_sr).
 
 
"SELECT single HERKF FROM FKKKO INTO @DATA(ld_x_herkf).
 
"SELECT single ABWBL FROM FKKOP INTO @DATA(ld_y_abwbl).
 
"SELECT single AUGRS FROM FKKOP INTO @DATA(ld_x_augrs).
 
"SELECT single ACTUAL FROM REGEN INTO @DATA(ld_y_xnew_abwbl).
 
"SELECT single XBLNR FROM FKKOP INTO @DATA(ld_x_srxblnr).
 
"SELECT single BUDAT FROM FKKKO INTO @DATA(ld_x_budat).
 
"SELECT single BLDAT FROM FKKKO INTO @DATA(ld_x_bldat).
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_x_simulation).
DATA(ld_x_simulation) = ' '.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_x_update).
DATA(ld_x_update) = ' '.
 


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!