SAP ISU_INVOICE_QNT_HIST_WRITE Function Module for









ISU_INVOICE_QNT_HIST_WRITE is a standard isu invoice qnt hist write 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 invoice qnt hist write FM, simply by entering the name ISU_INVOICE_QNT_HIST_WRITE into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_INVOICE_QNT_HIST_WRITE 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_INVOICE_QNT_HIST_WRITE'"
EXPORTING
X_SS = "
* X_PREIS = "
X_VB = "
X_DLTCSNO = "
* X_ARTMENGE = "
X_GEWKEY = "
* X_NETTOBTR = "
* X_TWAERS = "
* X_TIMTYP = "
* X_PREISTYP = "

CHANGING
XY_OBJ = "
XY_SOBJ = "

EXCEPTIONS
GENERAL_FAULT = 1
.



IMPORTING Parameters details for ISU_INVOICE_QNT_HIST_WRITE

X_SS -

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

X_PREIS -

Data type: ERCHZ-PREIS
Optional: Yes
Call by Reference: Yes

X_VB -

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

X_DLTCSNO -

Data type: EDLTYP-DLTCSNO
Optional: No
Call by Reference: Yes

X_ARTMENGE -

Data type: ERCHZ-ARTMENGE
Optional: Yes
Call by Reference: Yes

X_GEWKEY -

Data type: ERCHZ-GEWKEY
Optional: No
Call by Reference: Yes

X_NETTOBTR -

Data type: ERCHZ-NETTOBTR
Optional: Yes
Call by Reference: Yes

X_TWAERS -

Data type: ERCHZ-TWAERS
Optional: Yes
Call by Reference: Yes

X_TIMTYP -

Data type: ERCHZ-TIMTYP
Optional: Yes
Call by Reference: Yes

X_PREISTYP -

Data type: ERCHZ-PREISTYP
Optional: Yes
Call by Reference: Yes

CHANGING Parameters details for ISU_INVOICE_QNT_HIST_WRITE

XY_OBJ -

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

XY_SOBJ -

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

EXCEPTIONS details

GENERAL_FAULT -

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

Copy and paste ABAP code example for ISU_INVOICE_QNT_HIST_WRITE 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_x_ss  TYPE ISU2A_SS, "   
lv_xy_obj  TYPE ISU2A_BILLING_DATA, "   
lv_general_fault  TYPE ISU2A_BILLING_DATA, "   
lv_x_preis  TYPE ERCHZ-PREIS, "   
lv_x_vb  TYPE ISU2A_VB, "   
lv_xy_sobj  TYPE ISU2A_DATA_COLLECTOR, "   
lv_x_dltcsno  TYPE EDLTYP-DLTCSNO, "   
lv_x_artmenge  TYPE ERCHZ-ARTMENGE, "   
lv_x_gewkey  TYPE ERCHZ-GEWKEY, "   
lv_x_nettobtr  TYPE ERCHZ-NETTOBTR, "   
lv_x_twaers  TYPE ERCHZ-TWAERS, "   
lv_x_timtyp  TYPE ERCHZ-TIMTYP, "   
lv_x_preistyp  TYPE ERCHZ-PREISTYP. "   

  CALL FUNCTION 'ISU_INVOICE_QNT_HIST_WRITE'  "
    EXPORTING
         X_SS = lv_x_ss
         X_PREIS = lv_x_preis
         X_VB = lv_x_vb
         X_DLTCSNO = lv_x_dltcsno
         X_ARTMENGE = lv_x_artmenge
         X_GEWKEY = lv_x_gewkey
         X_NETTOBTR = lv_x_nettobtr
         X_TWAERS = lv_x_twaers
         X_TIMTYP = lv_x_timtyp
         X_PREISTYP = lv_x_preistyp
    CHANGING
         XY_OBJ = lv_xy_obj
         XY_SOBJ = lv_xy_sobj
    EXCEPTIONS
        GENERAL_FAULT = 1
. " ISU_INVOICE_QNT_HIST_WRITE




ABAP code using 7.40 inline data declarations to call FM ISU_INVOICE_QNT_HIST_WRITE

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 PREIS FROM ERCHZ INTO @DATA(ld_x_preis).
 
 
 
"SELECT single DLTCSNO FROM EDLTYP INTO @DATA(ld_x_dltcsno).
 
"SELECT single ARTMENGE FROM ERCHZ INTO @DATA(ld_x_artmenge).
 
"SELECT single GEWKEY FROM ERCHZ INTO @DATA(ld_x_gewkey).
 
"SELECT single NETTOBTR FROM ERCHZ INTO @DATA(ld_x_nettobtr).
 
"SELECT single TWAERS FROM ERCHZ INTO @DATA(ld_x_twaers).
 
"SELECT single TIMTYP FROM ERCHZ INTO @DATA(ld_x_timtyp).
 
"SELECT single PREISTYP FROM ERCHZ INTO @DATA(ld_x_preistyp).
 


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!