BKK_API_PRENOTE_CHANGE 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 BKK_API_PRENOTE_CHANGE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
BKK_PRENOTE_API
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'BKK_API_PRENOTE_CHANGE' "API for Prenote Change
EXPORTING
i_bank_area = " bkk_bkkrs Bank Area
i_acnum_int = " bkk_accnt Internal Account Number for Current Account
i_prenote_id_int = " bkk_dte_prenote_id_int Prenote Internal ID
* i_valid_to = " bkk_dte_prenote_valid_to Valid To
* i_short_text = " bkk_dte_prenote_shrt_txt Short Text
* i_long_text = " bkk_dte_prenote_lng_txt Long Text
* i_exclude_auth_check = " bkk_str_prenote_auth Structure for Prenote Authorization
* i_x_simulate = " bkk_xfeld Run in simulation mode
* i_no_snd_for_release = " bkk_xfeld If set, do not send the prenote for release
IMPORTING
e_tab_errors = " bkk_tab_msg_col_message Return Code and corresponding Message
e_flg_changed = " bkk_xfeld Flag if Prenote is Changed -'X'
e_prenote_status = " bkk_dte_prenote_status Status of Prenote
EXCEPTIONS
NO_AUTHORIZATION = 1 " No authorization for editing the prenote
BANK_AREA_NOT_FOUND = 2 " Bank Area not found
ACCOUNT_NOT_FOUND = 3 " Account not found
PRENOTE_NOT_EXISTING = 4 " Prenote does not exist
PRENOTE_EXPIRED = 5 " Prenote has expired
INVALID_VALID_TO_DATE = 6 " Valid To date is before posting date of the Bank Area
LOCK_FAILURE = 7 " Failed to lock the prenote
OTHER_ERRORS = 8 " Other errors
. " BKK_API_PRENOTE_CHANGE
The ABAP code below is a full code listing to execute function module BKK_API_PRENOTE_CHANGE 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_tab_errors | TYPE BKK_TAB_MSG_COL_MESSAGE , |
| ld_e_flg_changed | TYPE BKK_XFELD , |
| ld_e_prenote_status | TYPE BKK_DTE_PRENOTE_STATUS . |
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_tab_errors | TYPE BKK_TAB_MSG_COL_MESSAGE , |
| ld_i_bank_area | TYPE BKK_BKKRS , |
| ld_e_flg_changed | TYPE BKK_XFELD , |
| ld_i_acnum_int | TYPE BKK_ACCNT , |
| ld_e_prenote_status | TYPE BKK_DTE_PRENOTE_STATUS , |
| ld_i_prenote_id_int | TYPE BKK_DTE_PRENOTE_ID_INT , |
| ld_i_valid_to | TYPE BKK_DTE_PRENOTE_VALID_TO , |
| ld_i_short_text | TYPE BKK_DTE_PRENOTE_SHRT_TXT , |
| ld_i_long_text | TYPE BKK_DTE_PRENOTE_LNG_TXT , |
| ld_i_exclude_auth_check | TYPE BKK_STR_PRENOTE_AUTH , |
| ld_i_x_simulate | TYPE BKK_XFELD , |
| ld_i_no_snd_for_release | TYPE BKK_XFELD . |
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 BKK_API_PRENOTE_CHANGE or its description.
BKK_API_PRENOTE_CHANGE - API for Prenote Change BKK_API_PRENOTE_BUTTON_CB - Callback fn. for controlling buttons BKK_API_PAYM_ITEM_GET_LIST - RFC: Output Turnover List BKK_API_PAYMORD_RET_CB - Callback fn. for return of release object BKK_API_PAYMORD_RETURN_CB - Callbk fn. fr action to be performed after rel. obj. is returned BKK_API_PAYMORD_RELEASE_CB - Callback fn. for Release Payment Order