SAP MR_NDVAT_ADJUSTMENT Function Module for NOTRANSL: Korrektur nicht abzugsfähige Steuern
MR_NDVAT_ADJUSTMENT is a standard mr ndvat adjustment SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Korrektur nicht abzugsfähige Steuern 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 mr ndvat adjustment FM, simply by entering the name MR_NDVAT_ADJUSTMENT into the relevant SAP transaction such as SE37 or SE38.
Function Group: KONT
Program Name: SAPLKONT
Main Program: SAPLKONT
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function MR_NDVAT_ADJUSTMENT 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 'MR_NDVAT_ADJUSTMENT'"NOTRANSL: Korrektur nicht abzugsfähige Steuern.
EXPORTING
I_BUKRS = "Company Code
* I_NAVHW = "Non-Deductible Input Tax (in Local Currency)
* I_BNKFW = "Delivery costs' share of item value
* I_BNKHW = "Delivery costs share in local currency
* I_XSKRL = ' ' "Indicator: Line Item Not Liable to Cash Discount?
I_KOART = "Account Type
I_BUZID = "Identification of the Line Item
I_WRBTR = "Amount in Document Currency
* I_DMBTR = "Amount in Local Currency
I_MWSKZ = "Tax on sales/purchases code
I_TXJCD = "Tax Jurisdiction
I_SHKZG = "Debit/Credit Indicator
* I_NAVFW = "Non-Deductible Input Tax (in Document Currency)
IMPORTING
E_NAV_FW = "Non-Deductible Input Tax (in Document Currency)
E_NAV_HW = "Non-Deductible Input Tax (in Local Currency)
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLKONT_001 User Exit Before MR_CHECK_TOLERANCE
EXIT_SAPLKONT_002 Customer Exit: Change Tolerance Check - Conventional Invoice Verification
EXIT_SAPLKONT_011 Account Grouping for GR/IR Account Determination
EXIT_SAPLKONT_412 Brazil: User Exit to determination Acct Modif.for 3rd NF for F. Del.
IMPORTING Parameters details for MR_NDVAT_ADJUSTMENT
I_BUKRS - Company Code
Data type: ACCIT-BUKRSOptional: No
Call by Reference: No ( called with pass by value option)
I_NAVHW - Non-Deductible Input Tax (in Local Currency)
Data type: DRSEG-NAV_HWOptional: Yes
Call by Reference: No ( called with pass by value option)
I_BNKFW - Delivery costs' share of item value
Data type: DRSEG-BNKAN_FWOptional: Yes
Call by Reference: No ( called with pass by value option)
I_BNKHW - Delivery costs share in local currency
Data type: DRSEG-BNKAN_HWOptional: Yes
Call by Reference: No ( called with pass by value option)
I_XSKRL - Indicator: Line Item Not Liable to Cash Discount?
Data type: ACCIT-XSKRLDefault: SPACE
Optional: Yes
Call by Reference: Yes
I_KOART - Account Type
Data type: ACCIT-KOARTOptional: No
Call by Reference: No ( called with pass by value option)
I_BUZID - Identification of the Line Item
Data type: ACCIT-BUZIDOptional: No
Call by Reference: No ( called with pass by value option)
I_WRBTR - Amount in Document Currency
Data type: DRSEG-WRBTROptional: No
Call by Reference: No ( called with pass by value option)
I_DMBTR - Amount in Local Currency
Data type: DRSEG-DMBTROptional: Yes
Call by Reference: No ( called with pass by value option)
I_MWSKZ - Tax on sales/purchases code
Data type: DRSEG-MWSKZOptional: No
Call by Reference: No ( called with pass by value option)
I_TXJCD - Tax Jurisdiction
Data type: DRSEG-TXJCDOptional: No
Call by Reference: No ( called with pass by value option)
I_SHKZG - Debit/Credit Indicator
Data type: DRSEG-SHKZGOptional: No
Call by Reference: No ( called with pass by value option)
I_NAVFW - Non-Deductible Input Tax (in Document Currency)
Data type: DRSEG-NAV_FWOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for MR_NDVAT_ADJUSTMENT
E_NAV_FW - Non-Deductible Input Tax (in Document Currency)
Data type: DRSEG-NAV_FWOptional: No
Call by Reference: No ( called with pass by value option)
E_NAV_HW - Non-Deductible Input Tax (in Local Currency)
Data type: DRSEG-NAV_HWOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for MR_NDVAT_ADJUSTMENT 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_i_bukrs | TYPE ACCIT-BUKRS, " | |||
| lv_e_nav_fw | TYPE DRSEG-NAV_FW, " | |||
| lv_i_navhw | TYPE DRSEG-NAV_HW, " | |||
| lv_i_bnkfw | TYPE DRSEG-BNKAN_FW, " | |||
| lv_i_bnkhw | TYPE DRSEG-BNKAN_HW, " | |||
| lv_i_xskrl | TYPE ACCIT-XSKRL, " SPACE | |||
| lv_i_koart | TYPE ACCIT-KOART, " | |||
| lv_e_nav_hw | TYPE DRSEG-NAV_HW, " | |||
| lv_i_buzid | TYPE ACCIT-BUZID, " | |||
| lv_i_wrbtr | TYPE DRSEG-WRBTR, " | |||
| lv_i_dmbtr | TYPE DRSEG-DMBTR, " | |||
| lv_i_mwskz | TYPE DRSEG-MWSKZ, " | |||
| lv_i_txjcd | TYPE DRSEG-TXJCD, " | |||
| lv_i_shkzg | TYPE DRSEG-SHKZG, " | |||
| lv_i_navfw | TYPE DRSEG-NAV_FW. " |
|   CALL FUNCTION 'MR_NDVAT_ADJUSTMENT' "NOTRANSL: Korrektur nicht abzugsfähige Steuern |
| EXPORTING | ||
| I_BUKRS | = lv_i_bukrs | |
| I_NAVHW | = lv_i_navhw | |
| I_BNKFW | = lv_i_bnkfw | |
| I_BNKHW | = lv_i_bnkhw | |
| I_XSKRL | = lv_i_xskrl | |
| I_KOART | = lv_i_koart | |
| I_BUZID | = lv_i_buzid | |
| I_WRBTR | = lv_i_wrbtr | |
| I_DMBTR | = lv_i_dmbtr | |
| I_MWSKZ | = lv_i_mwskz | |
| I_TXJCD | = lv_i_txjcd | |
| I_SHKZG | = lv_i_shkzg | |
| I_NAVFW | = lv_i_navfw | |
| IMPORTING | ||
| E_NAV_FW | = lv_e_nav_fw | |
| E_NAV_HW | = lv_e_nav_hw | |
| . " MR_NDVAT_ADJUSTMENT | ||
ABAP code using 7.40 inline data declarations to call FM MR_NDVAT_ADJUSTMENT
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 BUKRS FROM ACCIT INTO @DATA(ld_i_bukrs). | ||||
| "SELECT single NAV_FW FROM DRSEG INTO @DATA(ld_e_nav_fw). | ||||
| "SELECT single NAV_HW FROM DRSEG INTO @DATA(ld_i_navhw). | ||||
| "SELECT single BNKAN_FW FROM DRSEG INTO @DATA(ld_i_bnkfw). | ||||
| "SELECT single BNKAN_HW FROM DRSEG INTO @DATA(ld_i_bnkhw). | ||||
| "SELECT single XSKRL FROM ACCIT INTO @DATA(ld_i_xskrl). | ||||
| DATA(ld_i_xskrl) | = ' '. | |||
| "SELECT single KOART FROM ACCIT INTO @DATA(ld_i_koart). | ||||
| "SELECT single NAV_HW FROM DRSEG INTO @DATA(ld_e_nav_hw). | ||||
| "SELECT single BUZID FROM ACCIT INTO @DATA(ld_i_buzid). | ||||
| "SELECT single WRBTR FROM DRSEG INTO @DATA(ld_i_wrbtr). | ||||
| "SELECT single DMBTR FROM DRSEG INTO @DATA(ld_i_dmbtr). | ||||
| "SELECT single MWSKZ FROM DRSEG INTO @DATA(ld_i_mwskz). | ||||
| "SELECT single TXJCD FROM DRSEG INTO @DATA(ld_i_txjcd). | ||||
| "SELECT single SHKZG FROM DRSEG INTO @DATA(ld_i_shkzg). | ||||
| "SELECT single NAV_FW FROM DRSEG INTO @DATA(ld_i_navfw). | ||||
Search for further information about these or an SAP related objects