SAP FKK_INV_ACCOUNT_READ Function Module for









FKK_INV_ACCOUNT_READ is a standard fkk inv account read 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 inv account read FM, simply by entering the name FKK_INV_ACCOUNT_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function FKK_INV_ACCOUNT_READ 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_INV_ACCOUNT_READ'"
EXPORTING
* I_MDCAT = "
I_VKONT = "
* I_GPART = "
* I_ONLY_GPART = "
* I_APPLK = "
* I_VALDT = SY-DATUM "
* I_ADJUST_RESET_LIMIT = "

IMPORTING
E_FKKVK = "
E_FKKVKP = "
EV_CHG_ACTUAL_VK = "
EV_CHG_ACTUAL_VKP = "

TABLES
* T_FKKVKP = "

EXCEPTIONS
NOT_FOUND = 1 FOREIGN_LOCK = 2 NOT_VALID = 3 INVALID_MDCAT = 4
.



IMPORTING Parameters details for FKK_INV_ACCOUNT_READ

I_MDCAT -

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

I_VKONT -

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

I_GPART -

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

I_ONLY_GPART -

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

I_APPLK -

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

I_VALDT -

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

I_ADJUST_RESET_LIMIT -

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

EXPORTING Parameters details for FKK_INV_ACCOUNT_READ

E_FKKVK -

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

E_FKKVKP -

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

EV_CHG_ACTUAL_VK -

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

EV_CHG_ACTUAL_VKP -

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

TABLES Parameters details for FKK_INV_ACCOUNT_READ

T_FKKVKP -

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

EXCEPTIONS details

NOT_FOUND -

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

FOREIGN_LOCK -

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

NOT_VALID -

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

INVALID_MDCAT -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FKK_INV_ACCOUNT_READ 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_fkkvk  TYPE FKKVK, "   
lv_i_mdcat  TYPE MDCAT_CI_KK, "   
lt_t_fkkvkp  TYPE STANDARD TABLE OF FKKVKP, "   
lv_not_found  TYPE FKKVKP, "   
lv_i_vkont  TYPE VKONT_CI_KK, "   
lv_e_fkkvkp  TYPE FKKVKP, "   
lv_foreign_lock  TYPE FKKVKP, "   
lv_i_gpart  TYPE GPART_CI_KK, "   
lv_not_valid  TYPE GPART_CI_KK, "   
lv_ev_chg_actual_vk  TYPE BOOLE-BOOLE, "   
lv_i_only_gpart  TYPE BOOLE-BOOLE, "   
lv_invalid_mdcat  TYPE BOOLE, "   
lv_ev_chg_actual_vkp  TYPE BOOLE-BOOLE, "   
lv_i_applk  TYPE FKKVK-APPLK, "   
lv_i_valdt  TYPE SY-DATUM, "   SY-DATUM
lv_i_adjust_reset_limit  TYPE BOOLE-BOOLE. "   

  CALL FUNCTION 'FKK_INV_ACCOUNT_READ'  "
    EXPORTING
         I_MDCAT = lv_i_mdcat
         I_VKONT = lv_i_vkont
         I_GPART = lv_i_gpart
         I_ONLY_GPART = lv_i_only_gpart
         I_APPLK = lv_i_applk
         I_VALDT = lv_i_valdt
         I_ADJUST_RESET_LIMIT = lv_i_adjust_reset_limit
    IMPORTING
         E_FKKVK = lv_e_fkkvk
         E_FKKVKP = lv_e_fkkvkp
         EV_CHG_ACTUAL_VK = lv_ev_chg_actual_vk
         EV_CHG_ACTUAL_VKP = lv_ev_chg_actual_vkp
    TABLES
         T_FKKVKP = lt_t_fkkvkp
    EXCEPTIONS
        NOT_FOUND = 1
        FOREIGN_LOCK = 2
        NOT_VALID = 3
        INVALID_MDCAT = 4
. " FKK_INV_ACCOUNT_READ




ABAP code using 7.40 inline data declarations to call FM FKK_INV_ACCOUNT_READ

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 BOOLE FROM BOOLE INTO @DATA(ld_ev_chg_actual_vk).
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_only_gpart).
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ev_chg_actual_vkp).
 
"SELECT single APPLK FROM FKKVK INTO @DATA(ld_i_applk).
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_valdt).
DATA(ld_i_valdt) = SY-DATUM.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_adjust_reset_limit).
 


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!