SAP FKK_TAX_DATA_COMPLETE Function Module for
FKK_TAX_DATA_COMPLETE is a standard fkk tax data complete 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 data complete FM, simply by entering the name FKK_TAX_DATA_COMPLETE into the relevant SAP transaction such as SE37 or SE38.
Function Group: FKB3
Program Name: SAPLFKB3
Main Program: SAPLFKB3
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FKK_TAX_DATA_COMPLETE 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_DATA_COMPLETE'".
EXPORTING
* I_APPLK = "Application
* I_STPRZ = "
* I_SBASW_GROSS_AMOUNT = "
I_BUKRS = "Company Code
I_MWSKZ = "Tax Code
* I_TXJCD = "
* I_TXDAT = "Tax Date
* I_SBASW = "Tax Base Amount
* I_BETRW = "Tax Amount
* I_KTOSL = "
* I_KSCHL = "
IMPORTING
E_SBASW = "
E_BETRW = "
E_KTOSL = "
E_KSCHL = "
E_STPRZ = "
E_HKONT = "
IMPORTING Parameters details for FKK_TAX_DATA_COMPLETE
I_APPLK - Application
Data type: FKKKO-APPLKOptional: Yes
Call by Reference: No ( called with pass by value option)
I_STPRZ -
Data type: FKKOPK-STPRZOptional: Yes
Call by Reference: No ( called with pass by value option)
I_SBASW_GROSS_AMOUNT -
Data type: BOOLE-BOOLEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_BUKRS - Company Code
Data type: T001-BUKRSOptional: No
Call by Reference: No ( called with pass by value option)
I_MWSKZ - Tax Code
Data type: FKKOPK-MWSKZOptional: No
Call by Reference: No ( called with pass by value option)
I_TXJCD -
Data type: FKKOPK-TXJCDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TXDAT - Tax Date
Data type: FKKOPK-TXDATOptional: Yes
Call by Reference: No ( called with pass by value option)
I_SBASW - Tax Base Amount
Data type: FKKOPK-SBASWOptional: Yes
Call by Reference: No ( called with pass by value option)
I_BETRW - Tax Amount
Data type: FKKOPK-BETRWOptional: Yes
Call by Reference: No ( called with pass by value option)
I_KTOSL -
Data type: FKKOPK-KTOSLOptional: Yes
Call by Reference: No ( called with pass by value option)
I_KSCHL -
Data type: FKKOPK-KSCHLOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FKK_TAX_DATA_COMPLETE
E_SBASW -
Data type: FKKOPK-SBASWOptional: No
Call by Reference: No ( called with pass by value option)
E_BETRW -
Data type: FKKOPK-BETRWOptional: No
Call by Reference: No ( called with pass by value option)
E_KTOSL -
Data type: FKKOPK-KTOSLOptional: No
Call by Reference: No ( called with pass by value option)
E_KSCHL -
Data type: FKKOPK-KSCHLOptional: No
Call by Reference: No ( called with pass by value option)
E_STPRZ -
Data type: FKKOPK-STPRZOptional: No
Call by Reference: No ( called with pass by value option)
E_HKONT -
Data type: FKKOPK-HKONTOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FKK_TAX_DATA_COMPLETE 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_e_sbasw | TYPE FKKOPK-SBASW, " | |||
| lv_i_applk | TYPE FKKKO-APPLK, " | |||
| lv_i_stprz | TYPE FKKOPK-STPRZ, " | |||
| lv_i_sbasw_gross_amount | TYPE BOOLE-BOOLE, " | |||
| lv_e_betrw | TYPE FKKOPK-BETRW, " | |||
| lv_i_bukrs | TYPE T001-BUKRS, " | |||
| lv_e_ktosl | TYPE FKKOPK-KTOSL, " | |||
| lv_i_mwskz | TYPE FKKOPK-MWSKZ, " | |||
| lv_e_kschl | TYPE FKKOPK-KSCHL, " | |||
| lv_i_txjcd | TYPE FKKOPK-TXJCD, " | |||
| lv_e_stprz | TYPE FKKOPK-STPRZ, " | |||
| lv_i_txdat | TYPE FKKOPK-TXDAT, " | |||
| lv_e_hkont | TYPE FKKOPK-HKONT, " | |||
| lv_i_sbasw | TYPE FKKOPK-SBASW, " | |||
| lv_i_betrw | TYPE FKKOPK-BETRW, " | |||
| lv_i_ktosl | TYPE FKKOPK-KTOSL, " | |||
| lv_i_kschl | TYPE FKKOPK-KSCHL. " |
|   CALL FUNCTION 'FKK_TAX_DATA_COMPLETE' " |
| EXPORTING | ||
| I_APPLK | = lv_i_applk | |
| I_STPRZ | = lv_i_stprz | |
| I_SBASW_GROSS_AMOUNT | = lv_i_sbasw_gross_amount | |
| I_BUKRS | = lv_i_bukrs | |
| I_MWSKZ | = lv_i_mwskz | |
| I_TXJCD | = lv_i_txjcd | |
| I_TXDAT | = lv_i_txdat | |
| I_SBASW | = lv_i_sbasw | |
| I_BETRW | = lv_i_betrw | |
| I_KTOSL | = lv_i_ktosl | |
| I_KSCHL | = lv_i_kschl | |
| IMPORTING | ||
| E_SBASW | = lv_e_sbasw | |
| E_BETRW | = lv_e_betrw | |
| E_KTOSL | = lv_e_ktosl | |
| E_KSCHL | = lv_e_kschl | |
| E_STPRZ | = lv_e_stprz | |
| E_HKONT | = lv_e_hkont | |
| . " FKK_TAX_DATA_COMPLETE | ||
ABAP code using 7.40 inline data declarations to call FM FKK_TAX_DATA_COMPLETE
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 SBASW FROM FKKOPK INTO @DATA(ld_e_sbasw). | ||||
| "SELECT single APPLK FROM FKKKO INTO @DATA(ld_i_applk). | ||||
| "SELECT single STPRZ FROM FKKOPK INTO @DATA(ld_i_stprz). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_sbasw_gross_amount). | ||||
| "SELECT single BETRW FROM FKKOPK INTO @DATA(ld_e_betrw). | ||||
| "SELECT single BUKRS FROM T001 INTO @DATA(ld_i_bukrs). | ||||
| "SELECT single KTOSL FROM FKKOPK INTO @DATA(ld_e_ktosl). | ||||
| "SELECT single MWSKZ FROM FKKOPK INTO @DATA(ld_i_mwskz). | ||||
| "SELECT single KSCHL FROM FKKOPK INTO @DATA(ld_e_kschl). | ||||
| "SELECT single TXJCD FROM FKKOPK INTO @DATA(ld_i_txjcd). | ||||
| "SELECT single STPRZ FROM FKKOPK INTO @DATA(ld_e_stprz). | ||||
| "SELECT single TXDAT FROM FKKOPK INTO @DATA(ld_i_txdat). | ||||
| "SELECT single HKONT FROM FKKOPK INTO @DATA(ld_e_hkont). | ||||
| "SELECT single SBASW FROM FKKOPK INTO @DATA(ld_i_sbasw). | ||||
| "SELECT single BETRW FROM FKKOPK INTO @DATA(ld_i_betrw). | ||||
| "SELECT single KTOSL FROM FKKOPK INTO @DATA(ld_i_ktosl). | ||||
| "SELECT single KSCHL FROM FKKOPK INTO @DATA(ld_i_kschl). | ||||
Search for further information about these or an SAP related objects