BKKF_BKKA_COMP_COLLDATE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name BKKF_BKKA_COMP_COLLDATE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FKBF0
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'BKKF_BKKA_COMP_COLLDATE' "Compute collection date with SDD
EXPORTING
i_bkkrs = " bkk42-bkkrs Bank Area
i_acnum_int = " bkk42-acnum_int Internal Account Number for Current Account
i_term_start = " bkkterm-termstart Term Start
i_latest_termstart = " bkkterm-latest_termstart Term Start
i_term_end = " bkkterm-term_end End of Term
i_tab_mandate = " bkk_tab_mandate_rec Table type for Mandates for recipients
i_flg_sepa_payment = 'X' " bkk_xflag X-Flag
i_post_date = " d
IMPORTING
e_collection_date = " bkkterm-collection_date Collection date of term initial amount
e_due_date_sdd = " bkkpohd-date_due Term Start
e_tab_rc = " bkk_tab_msg_col_message Return Code and corresponding Message
e_rc = " sy-subrc Return Value of ABAP Statements
. " BKKF_BKKA_COMP_COLLDATE
The ABAP code below is a full code listing to execute function module BKKF_BKKA_COMP_COLLDATE including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_e_collection_date | TYPE BKKTERM-COLLECTION_DATE , |
| ld_e_due_date_sdd | TYPE BKKPOHD-DATE_DUE , |
| ld_e_tab_rc | TYPE BKK_TAB_MSG_COL_MESSAGE , |
| ld_e_rc | TYPE SY-SUBRC . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_e_collection_date | TYPE BKKTERM-COLLECTION_DATE , |
| ld_i_bkkrs | TYPE BKK42-BKKRS , |
| ld_e_due_date_sdd | TYPE BKKPOHD-DATE_DUE , |
| ld_i_acnum_int | TYPE BKK42-ACNUM_INT , |
| ld_e_tab_rc | TYPE BKK_TAB_MSG_COL_MESSAGE , |
| ld_i_term_start | TYPE BKKTERM-TERMSTART , |
| ld_e_rc | TYPE SY-SUBRC , |
| ld_i_latest_termstart | TYPE BKKTERM-LATEST_TERMSTART , |
| ld_i_term_end | TYPE BKKTERM-TERM_END , |
| ld_i_tab_mandate | TYPE BKK_TAB_MANDATE_REC , |
| ld_i_flg_sepa_payment | TYPE BKK_XFLAG , |
| ld_i_post_date | TYPE D . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BKKF_BKKA_COMP_COLLDATE or its description.
BKKF_BKKA_COMP_COLLDATE - Compute collection date with SDD BKKF_BKKA_COLLECT_REFACCT - Collect the reference account BKKF_BKKA_BKKTERM_SET - Set the condition Fixing date in buffers BKKF_BKKA_BKKTERM_GET - Get BKKTERM data BKKF_BKKA_BKKTERM_COLLECT - Collection of Term Agreement BKKF_BKKA_BKK58_GET - Get BKK58 data