SAP BKK_ACCNT_GET_COND_VALUES Function Module for Find Condition Groups for Account









BKK_ACCNT_GET_COND_VALUES is a standard bkk accnt get cond values SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Find Condition Groups for Account 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 bkk accnt get cond values FM, simply by entering the name BKK_ACCNT_GET_COND_VALUES into the relevant SAP transaction such as SE37 or SE38.

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



Function BKK_ACCNT_GET_COND_VALUES 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 'BKK_ACCNT_GET_COND_VALUES'"Find Condition Groups for Account
EXPORTING
I_BKKRS = "Bank Area
I_ACNUM_INT = "Internal Account Number

IMPORTING
E_CONDAREA = "
E_CAL_ID2 = "Public Holiday Calendar ID 2
E_ESTCOND = "Fixing Standard Conditions
E_CONDCHDATE = "Date Condition Group Was Last Changed
E_CONDGR1 = "Interest Condition
E_CONDGR2 = "Charge Condition
E_CONDGR3 = "Value Dates Condition
E_CONDIND1 = "Indicator: Individual Conditions Exist For Interest
E_CONDIND2 = "Indicator: Individual Conditions Exist for Charges
E_CONDIND3 = "Indicator: Individual Conditions Exist for Value Date
E_CONDIND4 = "Indicator: Interest Scale Exists
E_CAL_ID1 = "Public Holiday Calendar ID 1

EXCEPTIONS
NOT_FOUND = 1 PARAM_ERROR = 2
.



IMPORTING Parameters details for BKK_ACCNT_GET_COND_VALUES

I_BKKRS - Bank Area

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

I_ACNUM_INT - Internal Account Number

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

EXPORTING Parameters details for BKK_ACCNT_GET_COND_VALUES

E_CONDAREA -

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

E_CAL_ID2 - Public Holiday Calendar ID 2

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

E_ESTCOND - Fixing Standard Conditions

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

E_CONDCHDATE - Date Condition Group Was Last Changed

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

E_CONDGR1 - Interest Condition

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

E_CONDGR2 - Charge Condition

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

E_CONDGR3 - Value Dates Condition

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

E_CONDIND1 - Indicator: Individual Conditions Exist For Interest

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

E_CONDIND2 - Indicator: Individual Conditions Exist for Charges

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

E_CONDIND3 - Indicator: Individual Conditions Exist for Value Date

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

E_CONDIND4 - Indicator: Interest Scale Exists

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

E_CAL_ID1 - Public Holiday Calendar ID 1

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

EXCEPTIONS details

NOT_FOUND - No Internal Account Number for Bank Area

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

PARAM_ERROR - Import Parameters not Filled

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

Copy and paste ABAP code example for BKK_ACCNT_GET_COND_VALUES 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_bkkrs  TYPE IBKK42-BKKRS, "   
lv_not_found  TYPE IBKK42, "   
lv_e_condarea  TYPE IBKK42-CONDAREA, "   
lv_e_cal_id2  TYPE IBKK42-CAL_ID2, "   
lv_e_estcond  TYPE IBKK42-ESTCOND, "   
lv_e_condchdate  TYPE IBKK42-CONDCHDATE, "   
lv_e_condgr1  TYPE IBKK42-CONDGR1, "   
lv_i_acnum_int  TYPE IBKK42-ACNUM_INT, "   
lv_param_error  TYPE IBKK42, "   
lv_e_condgr2  TYPE IBKK42-CONDGR2, "   
lv_e_condgr3  TYPE IBKK42-CONDGR3, "   
lv_e_condind1  TYPE IBKK42-CONDIND1, "   
lv_e_condind2  TYPE IBKK42-CONDIND2, "   
lv_e_condind3  TYPE IBKK42-CONDIND3, "   
lv_e_condind4  TYPE IBKK42-CONDIND4, "   
lv_e_cal_id1  TYPE IBKK42-CAL_ID1. "   

  CALL FUNCTION 'BKK_ACCNT_GET_COND_VALUES'  "Find Condition Groups for Account
    EXPORTING
         I_BKKRS = lv_i_bkkrs
         I_ACNUM_INT = lv_i_acnum_int
    IMPORTING
         E_CONDAREA = lv_e_condarea
         E_CAL_ID2 = lv_e_cal_id2
         E_ESTCOND = lv_e_estcond
         E_CONDCHDATE = lv_e_condchdate
         E_CONDGR1 = lv_e_condgr1
         E_CONDGR2 = lv_e_condgr2
         E_CONDGR3 = lv_e_condgr3
         E_CONDIND1 = lv_e_condind1
         E_CONDIND2 = lv_e_condind2
         E_CONDIND3 = lv_e_condind3
         E_CONDIND4 = lv_e_condind4
         E_CAL_ID1 = lv_e_cal_id1
    EXCEPTIONS
        NOT_FOUND = 1
        PARAM_ERROR = 2
. " BKK_ACCNT_GET_COND_VALUES




ABAP code using 7.40 inline data declarations to call FM BKK_ACCNT_GET_COND_VALUES

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 BKKRS FROM IBKK42 INTO @DATA(ld_i_bkkrs).
 
 
"SELECT single CONDAREA FROM IBKK42 INTO @DATA(ld_e_condarea).
 
"SELECT single CAL_ID2 FROM IBKK42 INTO @DATA(ld_e_cal_id2).
 
"SELECT single ESTCOND FROM IBKK42 INTO @DATA(ld_e_estcond).
 
"SELECT single CONDCHDATE FROM IBKK42 INTO @DATA(ld_e_condchdate).
 
"SELECT single CONDGR1 FROM IBKK42 INTO @DATA(ld_e_condgr1).
 
"SELECT single ACNUM_INT FROM IBKK42 INTO @DATA(ld_i_acnum_int).
 
 
"SELECT single CONDGR2 FROM IBKK42 INTO @DATA(ld_e_condgr2).
 
"SELECT single CONDGR3 FROM IBKK42 INTO @DATA(ld_e_condgr3).
 
"SELECT single CONDIND1 FROM IBKK42 INTO @DATA(ld_e_condind1).
 
"SELECT single CONDIND2 FROM IBKK42 INTO @DATA(ld_e_condind2).
 
"SELECT single CONDIND3 FROM IBKK42 INTO @DATA(ld_e_condind3).
 
"SELECT single CONDIND4 FROM IBKK42 INTO @DATA(ld_e_condind4).
 
"SELECT single CAL_ID1 FROM IBKK42 INTO @DATA(ld_e_cal_id1).
 


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!