J_1I4_INVOICE_REDUCTION is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name J_1I4_INVOICE_REDUCTION into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
J1I4
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'J_1I4_INVOICE_REDUCTION' "IV Reduction Check
* EXPORTING
* y_komk = " komk Communication Header for Pricing
* y_komp = " komp Communication Item for Pricing
* tempoflag = " c
* tempowerks = " werks_d Plant
* xxokomv = " komv Pricing Communications-Condition Record
* flag_tax = " c
* flag_352 = " c
IMPORTING
kzmek = " drseg-kzmek Correction indicator
tempiflag = " c
tempiwerks = " werks_d Plant
xxikomv = " komv Pricing Communications-Condition Record
one_line = " boolean Boolean Variable (X=True, -=False, Space=Unknown)
. " J_1I4_INVOICE_REDUCTION
The ABAP code below is a full code listing to execute function module J_1I4_INVOICE_REDUCTION including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_kzmek | TYPE DRSEG-KZMEK , |
| ld_tempiflag | TYPE C , |
| ld_tempiwerks | TYPE WERKS_D , |
| ld_xxikomv | TYPE KOMV , |
| ld_one_line | TYPE BOOLEAN . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_kzmek | TYPE DRSEG-KZMEK , |
| ld_y_komk | TYPE KOMK , |
| ld_tempiflag | TYPE C , |
| ld_y_komp | TYPE KOMP , |
| ld_tempiwerks | TYPE WERKS_D , |
| ld_tempoflag | TYPE C , |
| ld_xxikomv | TYPE KOMV , |
| ld_tempowerks | TYPE WERKS_D , |
| ld_one_line | TYPE BOOLEAN , |
| ld_xxokomv | TYPE KOMV , |
| ld_flag_tax | TYPE C , |
| ld_flag_352 | TYPE C . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name J_1I4_INVOICE_REDUCTION or its description.
J_1I4_INVOICE_REDUCTION - IV Reduction Check J_1I4_HEADER_INV_REDUCTION - Header level invoice reduction J_1I4_GET_ST_RELATED_DATA - Get sales tax related data J_1I4_GET_MATNR_FOR_INV_RED - Get Material for Vendor invoice reduction scenario from Global varia J_1I4_GET_MANUAL_EXCISE - Get Manual excise amount from the condition J_1I4_GET_KWERT - Passing Kwert to global data