SAP FKK_TAX_CODE_ARG_2102 Function Module for









FKK_TAX_CODE_ARG_2102 is a standard fkk tax code arg 2102 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 fkk tax code arg 2102 FM, simply by entering the name FKK_TAX_CODE_ARG_2102 into the relevant SAP transaction such as SE37 or SE38.

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



Function FKK_TAX_CODE_ARG_2102 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 'FKK_TAX_CODE_ARG_2102'"
EXPORTING
X_HVORG = "Main Transaction
X_TVORG = "Subtransaction
X_ERMWSKZ = "Indicator: Tax Determination Code
* X_FITPR = "
* X_REGIO = "Region (State, Province, County)
* X_COUNC = "County code
* X_APPLK = 'V' "Application

IMPORTING
Y_ERMWSKZ = "
Y_PERCKZ = "

EXCEPTIONS
NOT_FOUND = 1 SYSTEM_ERROR = 2
.



IMPORTING Parameters details for FKK_TAX_CODE_ARG_2102

X_HVORG - Main Transaction

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

X_TVORG - Subtransaction

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

X_ERMWSKZ - Indicator: Tax Determination Code

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

X_FITPR -

Data type: FKKTAXARG-FITPR
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_REGIO - Region (State, Province, County)

Data type: FKKTAXARG-REGIO
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_COUNC - County code

Data type: FKKTAXARG-COUNC
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_APPLK - Application

Data type: FKKOP-APPLK
Default: 'V'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FKK_TAX_CODE_ARG_2102

Y_ERMWSKZ -

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

Y_PERCKZ -

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

EXCEPTIONS details

NOT_FOUND - No entry found

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)

Copy and paste ABAP code example for FKK_TAX_CODE_ARG_2102 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_hvorg  TYPE TFKHVO-HVORG, "   
lv_not_found  TYPE TFKHVO, "   
lv_y_ermwskz  TYPE TE011-ERMWSKZ, "   
lv_x_tvorg  TYPE TFKTVO-TVORG, "   
lv_y_perckz  TYPE FKKTAXARG-PERCKZ, "   
lv_system_error  TYPE FKKTAXARG, "   
lv_x_ermwskz  TYPE TE011-ERMWSKZ, "   
lv_x_fitpr  TYPE FKKTAXARG-FITPR, "   
lv_x_regio  TYPE FKKTAXARG-REGIO, "   
lv_x_counc  TYPE FKKTAXARG-COUNC, "   
lv_x_applk  TYPE FKKOP-APPLK. "   'V'

  CALL FUNCTION 'FKK_TAX_CODE_ARG_2102'  "
    EXPORTING
         X_HVORG = lv_x_hvorg
         X_TVORG = lv_x_tvorg
         X_ERMWSKZ = lv_x_ermwskz
         X_FITPR = lv_x_fitpr
         X_REGIO = lv_x_regio
         X_COUNC = lv_x_counc
         X_APPLK = lv_x_applk
    IMPORTING
         Y_ERMWSKZ = lv_y_ermwskz
         Y_PERCKZ = lv_y_perckz
    EXCEPTIONS
        NOT_FOUND = 1
        SYSTEM_ERROR = 2
. " FKK_TAX_CODE_ARG_2102




ABAP code using 7.40 inline data declarations to call FM FKK_TAX_CODE_ARG_2102

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 HVORG FROM TFKHVO INTO @DATA(ld_x_hvorg).
 
 
"SELECT single ERMWSKZ FROM TE011 INTO @DATA(ld_y_ermwskz).
 
"SELECT single TVORG FROM TFKTVO INTO @DATA(ld_x_tvorg).
 
"SELECT single PERCKZ FROM FKKTAXARG INTO @DATA(ld_y_perckz).
 
 
"SELECT single ERMWSKZ FROM TE011 INTO @DATA(ld_x_ermwskz).
 
"SELECT single FITPR FROM FKKTAXARG INTO @DATA(ld_x_fitpr).
 
"SELECT single REGIO FROM FKKTAXARG INTO @DATA(ld_x_regio).
 
"SELECT single COUNC FROM FKKTAXARG INTO @DATA(ld_x_counc).
 
"SELECT single APPLK FROM FKKOP INTO @DATA(ld_x_applk).
DATA(ld_x_applk) = 'V'.
 


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!