SAP ISU_INV_CREATE_ITEM_FROM_FKKOP Function Module for









ISU_INV_CREATE_ITEM_FROM_FKKOP is a standard isu inv create item from fkkop 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 create item from fkkop FM, simply by entering the name ISU_INV_CREATE_ITEM_FROM_FKKOP into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_INV_CREATE_ITEM_FROM_FKKOP 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_CREATE_ITEM_FROM_FKKOP'"
EXPORTING
* X_BUCHREL = ' ' "
* X_TOTAL_AMNT = 'X' "
* X_TAXLINES = ' ' "
* X_LINESORT = ' ' "
* X_FKKKO = "
* X_TMP_BELNR = ' ' "
* X_BELZART = ' ' "Type of document line item

CHANGING
XY_PRINT_DOC = "

TABLES
XT_FKKOP = "

EXCEPTIONS
IU_ERROR = 1 SYSTEM_ERROR = 2 NOT_QUALIFIED = 3
.



IMPORTING Parameters details for ISU_INV_CREATE_ITEM_FROM_FKKOP

X_BUCHREL -

Data type: REGEN-KENNZX
Default: ' '
Optional: Yes
Call by Reference: Yes

X_TOTAL_AMNT -

Data type: REGEN-KENNZX
Default: 'X'
Optional: Yes
Call by Reference: Yes

X_TAXLINES -

Data type: REGEN-KENNZX
Default: ' '
Optional: Yes
Call by Reference: Yes

X_LINESORT -

Data type: TE530-LINESORT
Default: ' '
Optional: Yes
Call by Reference: Yes

X_FKKKO -

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

X_TMP_BELNR -

Data type: ERDZ-CA_OPBEL
Default: SPACE
Optional: Yes
Call by Reference: Yes

X_BELZART - Type of document line item

Data type: ERCHZ-BELZART
Default: SPACE
Optional: Yes
Call by Reference: Yes

CHANGING Parameters details for ISU_INV_CREATE_ITEM_FROM_FKKOP

XY_PRINT_DOC -

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

TABLES Parameters details for ISU_INV_CREATE_ITEM_FROM_FKKOP

XT_FKKOP -

Data type: FKKOP
Optional: No
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)

NOT_QUALIFIED - Spare

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

Copy and paste ABAP code example for ISU_INV_CREATE_ITEM_FROM_FKKOP 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_fkkop  TYPE STANDARD TABLE OF FKKOP, "   
lv_x_buchrel  TYPE REGEN-KENNZX, "   ' '
lv_xy_print_doc  TYPE ISU21_PRINT_DOC, "   
lv_system_error  TYPE ISU21_PRINT_DOC, "   
lv_x_total_amnt  TYPE REGEN-KENNZX, "   'X'
lv_x_taxlines  TYPE REGEN-KENNZX, "   ' '
lv_not_qualified  TYPE REGEN, "   
lv_x_linesort  TYPE TE530-LINESORT, "   ' '
lv_x_fkkko  TYPE FKKKO, "   
lv_x_tmp_belnr  TYPE ERDZ-CA_OPBEL, "   SPACE
lv_x_belzart  TYPE ERCHZ-BELZART. "   SPACE

  CALL FUNCTION 'ISU_INV_CREATE_ITEM_FROM_FKKOP'  "
    EXPORTING
         X_BUCHREL = lv_x_buchrel
         X_TOTAL_AMNT = lv_x_total_amnt
         X_TAXLINES = lv_x_taxlines
         X_LINESORT = lv_x_linesort
         X_FKKKO = lv_x_fkkko
         X_TMP_BELNR = lv_x_tmp_belnr
         X_BELZART = lv_x_belzart
    CHANGING
         XY_PRINT_DOC = lv_xy_print_doc
    TABLES
         XT_FKKOP = lt_xt_fkkop
    EXCEPTIONS
        IU_ERROR = 1
        SYSTEM_ERROR = 2
        NOT_QUALIFIED = 3
. " ISU_INV_CREATE_ITEM_FROM_FKKOP




ABAP code using 7.40 inline data declarations to call FM ISU_INV_CREATE_ITEM_FROM_FKKOP

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 KENNZX FROM REGEN INTO @DATA(ld_x_buchrel).
DATA(ld_x_buchrel) = ' '.
 
 
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_total_amnt).
DATA(ld_x_total_amnt) = 'X'.
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_taxlines).
DATA(ld_x_taxlines) = ' '.
 
 
"SELECT single LINESORT FROM TE530 INTO @DATA(ld_x_linesort).
DATA(ld_x_linesort) = ' '.
 
 
"SELECT single CA_OPBEL FROM ERDZ INTO @DATA(ld_x_tmp_belnr).
DATA(ld_x_tmp_belnr) = ' '.
 
"SELECT single BELZART FROM ERCHZ INTO @DATA(ld_x_belzart).
DATA(ld_x_belzart) = ' '.
 


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!