SAP BKK_COND_BALANCE_DET_VAL_T Function Module for Find Value Date Turnovers and Value Date Balances









BKK_COND_BALANCE_DET_VAL_T is a standard bkk cond balance det val t 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 Value Date Turnovers and Value Date Balances 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 cond balance det val t FM, simply by entering the name BKK_COND_BALANCE_DET_VAL_T into the relevant SAP transaction such as SE37 or SE38.

Function Group: FB9J
Program Name: SAPLFB9J
Main Program: SAPLFB9J
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function BKK_COND_BALANCE_DET_VAL_T 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_COND_BALANCE_DET_VAL_T'"Find Value Date Turnovers and Value Date Balances
EXPORTING
I_VAL_DATE_START = "Start Date of Period
I_VAL_DATE_END = "End Date of Period
I_KEY_POST_DATE = "Key Date for Postings
* I_FLG_ACTCURR = 'X' "Indicator: Output in Current Currency
* I_FLG_NO_MESSAGE = ' ' "

IMPORTING
E_RC = "Return Code

TABLES
I_T_ACNUM_INT = "External Account Number
E_T_VAL_DECRE_BAL = "Balance Table
* E_T_ERROR = "Error Table
.



IMPORTING Parameters details for BKK_COND_BALANCE_DET_VAL_T

I_VAL_DATE_START - Start Date of Period

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

I_VAL_DATE_END - End Date of Period

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

I_KEY_POST_DATE - Key Date for Postings

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

I_FLG_ACTCURR - Indicator: Output in Current Currency

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

I_FLG_NO_MESSAGE -

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

EXPORTING Parameters details for BKK_COND_BALANCE_DET_VAL_T

E_RC - Return Code

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

TABLES Parameters details for BKK_COND_BALANCE_DET_VAL_T

I_T_ACNUM_INT - External Account Number

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

E_T_VAL_DECRE_BAL - Balance Table

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

E_T_ERROR - Error Table

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

Copy and paste ABAP code example for BKK_COND_BALANCE_DET_VAL_T 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_rc  TYPE IBKK_MISC-RC2, "   
lt_i_t_acnum_int  TYPE STANDARD TABLE OF IBKK9_DECRE_IMPORT, "   
lv_i_val_date_start  TYPE IBKK9_DECRE_VAL-VAL_DATE, "   
lv_i_val_date_end  TYPE IBKK9_DECRE_VAL-VAL_DATE, "   
lt_e_t_val_decre_bal  TYPE STANDARD TABLE OF IBKK9_DECRE_VAL_INT, "   
lt_e_t_error  TYPE STANDARD TABLE OF IBKK9_DECRE_ERROR_INT, "   
lv_i_key_post_date  TYPE IBKK9_DECRE_VAL-VAL_DATE, "   
lv_i_flg_actcurr  TYPE BOOLE-BOOLE, "   'X'
lv_i_flg_no_message  TYPE BOOLE-BOOLE. "   SPACE

  CALL FUNCTION 'BKK_COND_BALANCE_DET_VAL_T'  "Find Value Date Turnovers and Value Date Balances
    EXPORTING
         I_VAL_DATE_START = lv_i_val_date_start
         I_VAL_DATE_END = lv_i_val_date_end
         I_KEY_POST_DATE = lv_i_key_post_date
         I_FLG_ACTCURR = lv_i_flg_actcurr
         I_FLG_NO_MESSAGE = lv_i_flg_no_message
    IMPORTING
         E_RC = lv_e_rc
    TABLES
         I_T_ACNUM_INT = lt_i_t_acnum_int
         E_T_VAL_DECRE_BAL = lt_e_t_val_decre_bal
         E_T_ERROR = lt_e_t_error
. " BKK_COND_BALANCE_DET_VAL_T




ABAP code using 7.40 inline data declarations to call FM BKK_COND_BALANCE_DET_VAL_T

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 RC2 FROM IBKK_MISC INTO @DATA(ld_e_rc).
 
 
"SELECT single VAL_DATE FROM IBKK9_DECRE_VAL INTO @DATA(ld_i_val_date_start).
 
"SELECT single VAL_DATE FROM IBKK9_DECRE_VAL INTO @DATA(ld_i_val_date_end).
 
 
 
"SELECT single VAL_DATE FROM IBKK9_DECRE_VAL INTO @DATA(ld_i_key_post_date).
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_flg_actcurr).
DATA(ld_i_flg_actcurr) = 'X'.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_flg_no_message).
DATA(ld_i_flg_no_message) = ' '.
 


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!