SAP BKK_COND_BALANCE_DET_POST_T_AD Function Module for Determine account transactions and account balances
BKK_COND_BALANCE_DET_POST_T_AD is a standard bkk cond balance det post t ad SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Determine account transactions and account 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 post t ad FM, simply by entering the name BKK_COND_BALANCE_DET_POST_T_AD into the relevant SAP transaction such as SE37 or SE38.
Function Group: FB9J
Program Name: SAPLFB9J
Main Program: SAPLFB9J
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function BKK_COND_BALANCE_DET_POST_T_AD 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_POST_T_AD'"Determine account transactions and account balances.
EXPORTING
I_POST_DATE_START = "Posting date
I_POST_DATE_END = "Posting date
* I_FLG_ACTCURR = 'X' "Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
* I_NO_MESSAGE = ' ' "Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
IMPORTING
E_RC = "Return Code
TABLES
I_T_ACNUM_INT = "Import Structure Balances: Internal Account Numbers
E_T_POST_DECRE_BAL = "Export Structure Post. Deb./Cred. + Post.Bal. /Int. Acct. No
* E_T_ERROR = "Export Structure: Incorrect Accounts (Internal Acct. Number)
IMPORTING Parameters details for BKK_COND_BALANCE_DET_POST_T_AD
I_POST_DATE_START - Posting date
Data type: IBKK9_DECRE_POST-POST_DATEOptional: No
Call by Reference: No ( called with pass by value option)
I_POST_DATE_END - Posting date
Data type: IBKK9_DECRE_POST-POST_DATEOptional: No
Call by Reference: No ( called with pass by value option)
I_FLG_ACTCURR - Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
Data type: BOOLE-BOOLEDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_NO_MESSAGE - Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
Data type: BOOLE-BOOLEDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BKK_COND_BALANCE_DET_POST_T_AD
E_RC - Return Code
Data type: IBKK_MISC-RC2Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BKK_COND_BALANCE_DET_POST_T_AD
I_T_ACNUM_INT - Import Structure Balances: Internal Account Numbers
Data type: IBKK9_DECRE_IMPORTOptional: No
Call by Reference: Yes
E_T_POST_DECRE_BAL - Export Structure Post. Deb./Cred. + Post.Bal. /Int. Acct. No
Data type: IBKK9_DECRE_POST_INTOptional: No
Call by Reference: Yes
E_T_ERROR - Export Structure: Incorrect Accounts (Internal Acct. Number)
Data type: IBKK9_DECRE_ERROR_INTOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for BKK_COND_BALANCE_DET_POST_T_AD 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_post_date_start | TYPE IBKK9_DECRE_POST-POST_DATE, " | |||
| lv_i_post_date_end | TYPE IBKK9_DECRE_POST-POST_DATE, " | |||
| lt_e_t_post_decre_bal | TYPE STANDARD TABLE OF IBKK9_DECRE_POST_INT, " | |||
| lt_e_t_error | TYPE STANDARD TABLE OF IBKK9_DECRE_ERROR_INT, " | |||
| lv_i_flg_actcurr | TYPE BOOLE-BOOLE, " 'X' | |||
| lv_i_no_message | TYPE BOOLE-BOOLE. " ' ' |
|   CALL FUNCTION 'BKK_COND_BALANCE_DET_POST_T_AD' "Determine account transactions and account balances |
| EXPORTING | ||
| I_POST_DATE_START | = lv_i_post_date_start | |
| I_POST_DATE_END | = lv_i_post_date_end | |
| I_FLG_ACTCURR | = lv_i_flg_actcurr | |
| I_NO_MESSAGE | = lv_i_no_message | |
| IMPORTING | ||
| E_RC | = lv_e_rc | |
| TABLES | ||
| I_T_ACNUM_INT | = lt_i_t_acnum_int | |
| E_T_POST_DECRE_BAL | = lt_e_t_post_decre_bal | |
| E_T_ERROR | = lt_e_t_error | |
| . " BKK_COND_BALANCE_DET_POST_T_AD | ||
ABAP code using 7.40 inline data declarations to call FM BKK_COND_BALANCE_DET_POST_T_AD
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 POST_DATE FROM IBKK9_DECRE_POST INTO @DATA(ld_i_post_date_start). | ||||
| "SELECT single POST_DATE FROM IBKK9_DECRE_POST INTO @DATA(ld_i_post_date_end). | ||||
| "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_no_message). | ||||
| DATA(ld_i_no_message) | = ' '. | |||
Search for further information about these or an SAP related objects