SAP SD_TAX_CODE_MAINTAIN Function Module for NOTRANSL: Steuerkennzeichen für Konditionen ermitteln









SD_TAX_CODE_MAINTAIN is a standard sd tax code maintain 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: Steuerkennzeichen für Konditionen ermitteln 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 sd tax code maintain FM, simply by entering the name SD_TAX_CODE_MAINTAIN into the relevant SAP transaction such as SE37 or SE38.

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



Function SD_TAX_CODE_MAINTAIN 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 'SD_TAX_CODE_MAINTAIN'"NOTRANSL: Steuerkennzeichen für Konditionen ermitteln
EXPORTING
KEY_KNUMV = "
KEY_KPOSN = "
I_APPLICATION = "
I_PRICING_PROCEDURE = "

IMPORTING
O_KONV_CHANGED = "

TABLES
XKOMV = "
.




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_SAPLV60B_001 User Exit AC Interface (Header Line)
EXIT_SAPLV60B_002 User Exit AC Interface (Customer Line)
EXIT_SAPLV60B_003 User Exit RW Interface (Cost)
EXIT_SAPLV60B_004 User Exit AC Interface (GL Account Item)
EXIT_SAPLV60B_005 User Exit AC Interface (Accruals)
EXIT_SAPLV60B_006 User Exit AC Interface (Tax Line)
EXIT_SAPLV60B_007 User Exit AC Interface (Customer Line)
EXIT_SAPLV60B_008 User Exit AC Interface Transfer Tables
EXIT_SAPLV60B_010 User Exit Item Table for the Customer Lines
EXIT_SAPLV60B_011 User Exit Communication Structures for Reconciliation Account Det.

IMPORTING Parameters details for SD_TAX_CODE_MAINTAIN

KEY_KNUMV -

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

KEY_KPOSN -

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

I_APPLICATION -

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

I_PRICING_PROCEDURE -

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

EXPORTING Parameters details for SD_TAX_CODE_MAINTAIN

O_KONV_CHANGED -

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

TABLES Parameters details for SD_TAX_CODE_MAINTAIN

XKOMV -

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

Copy and paste ABAP code example for SD_TAX_CODE_MAINTAIN 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:
lt_xkomv  TYPE STANDARD TABLE OF KOMV, "   
lv_key_knumv  TYPE KONV-KNUMV, "   
lv_o_konv_changed  TYPE KONV, "   
lv_key_kposn  TYPE KONV-KPOSN, "   
lv_i_application  TYPE VBRK-KAPPL, "   
lv_i_pricing_procedure  TYPE VBRK-KALSM. "   

  CALL FUNCTION 'SD_TAX_CODE_MAINTAIN'  "NOTRANSL: Steuerkennzeichen für Konditionen ermitteln
    EXPORTING
         KEY_KNUMV = lv_key_knumv
         KEY_KPOSN = lv_key_kposn
         I_APPLICATION = lv_i_application
         I_PRICING_PROCEDURE = lv_i_pricing_procedure
    IMPORTING
         O_KONV_CHANGED = lv_o_konv_changed
    TABLES
         XKOMV = lt_xkomv
. " SD_TAX_CODE_MAINTAIN




ABAP code using 7.40 inline data declarations to call FM SD_TAX_CODE_MAINTAIN

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 KNUMV FROM KONV INTO @DATA(ld_key_knumv).
 
 
"SELECT single KPOSN FROM KONV INTO @DATA(ld_key_kposn).
 
"SELECT single KAPPL FROM VBRK INTO @DATA(ld_i_application).
 
"SELECT single KALSM FROM VBRK INTO @DATA(ld_i_pricing_procedure).
 


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!