SAP FKK_HKONT_CHECK Function Module for









FKK_HKONT_CHECK is a standard fkk hkont check 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 hkont check FM, simply by entering the name FKK_HKONT_CHECK 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_HKONT_CHECK 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_HKONT_CHECK'"
EXPORTING
I_BUKRS = "Company Code
I_HKONT = "G/L Account
* I_FOR_FKKOP = ' ' "
* I_WARNINGS = ' ' "
* I_CHECK_XINTB = ' ' "
* I_CHECK_XSPEB = 'X' "
* I_IGNORE_ACCT_TYPE = ' ' "
* I_ASSET_FORBIDDEN = ' ' "

IMPORTING
E_FKKHKONT = "
.



IMPORTING Parameters details for FKK_HKONT_CHECK

I_BUKRS - Company Code

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

I_HKONT - G/L Account

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

I_FOR_FKKOP -

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_WARNINGS -

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CHECK_XINTB -

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CHECK_XSPEB -

Data type: BOOLE-BOOLE
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_IGNORE_ACCT_TYPE -

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ASSET_FORBIDDEN -

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FKK_HKONT_CHECK

E_FKKHKONT -

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

Copy and paste ABAP code example for FKK_HKONT_CHECK 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 FKKOP-BUKRS, "   
lv_e_fkkhkont  TYPE FKKHKONT, "   
lv_i_hkont  TYPE FKKOP-HKONT, "   
lv_i_for_fkkop  TYPE BOOLE-BOOLE, "   SPACE
lv_i_warnings  TYPE BOOLE-BOOLE, "   SPACE
lv_i_check_xintb  TYPE BOOLE-BOOLE, "   SPACE
lv_i_check_xspeb  TYPE BOOLE-BOOLE, "   'X'
lv_i_ignore_acct_type  TYPE BOOLE-BOOLE, "   SPACE
lv_i_asset_forbidden  TYPE BOOLE-BOOLE. "   SPACE

  CALL FUNCTION 'FKK_HKONT_CHECK'  "
    EXPORTING
         I_BUKRS = lv_i_bukrs
         I_HKONT = lv_i_hkont
         I_FOR_FKKOP = lv_i_for_fkkop
         I_WARNINGS = lv_i_warnings
         I_CHECK_XINTB = lv_i_check_xintb
         I_CHECK_XSPEB = lv_i_check_xspeb
         I_IGNORE_ACCT_TYPE = lv_i_ignore_acct_type
         I_ASSET_FORBIDDEN = lv_i_asset_forbidden
    IMPORTING
         E_FKKHKONT = lv_e_fkkhkont
. " FKK_HKONT_CHECK




ABAP code using 7.40 inline data declarations to call FM FKK_HKONT_CHECK

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 FKKOP INTO @DATA(ld_i_bukrs).
 
 
"SELECT single HKONT FROM FKKOP INTO @DATA(ld_i_hkont).
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_for_fkkop).
DATA(ld_i_for_fkkop) = ' '.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_warnings).
DATA(ld_i_warnings) = ' '.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_check_xintb).
DATA(ld_i_check_xintb) = ' '.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_check_xspeb).
DATA(ld_i_check_xspeb) = 'X'.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_ignore_acct_type).
DATA(ld_i_ignore_acct_type) = ' '.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_asset_forbidden).
DATA(ld_i_asset_forbidden) = ' '.
 


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!