SAP BKK_PRENOTE_SND_FOR_RELEASE Function Module for Send Prenote Object to release process
BKK_PRENOTE_SND_FOR_RELEASE is a standard bkk prenote snd for release SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Send Prenote Object to release process 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 prenote snd for release FM, simply by entering the name BKK_PRENOTE_SND_FOR_RELEASE into the relevant SAP transaction such as SE37 or SE38.
Function Group: BKK_PRENOTE_RELEASE
Program Name: SAPLBKK_PRENOTE_RELEASE
Main Program: SAPLBKK_PRENOTE_RELEASE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function BKK_PRENOTE_SND_FOR_RELEASE 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_PRENOTE_SND_FOR_RELEASE'"Send Prenote Object to release process.
EXPORTING
I_STR_PRENOTE_SND_REL = "Prenote Structure for Send for Release
I_ACTIVITY = "Activity
* I_FLG_IN_UPDATE_TASK = ' ' "Check Box
* I_FLG_NO_RELEASE = ' ' "X: Prenote Must not Be Released
IMPORTING
E_REL_REQD = "Return Value of ABAP Statements
E_TAB_ERRORS = "Return Code and corresponding Message
EXCEPTIONS
INVALID_ACCOUNT = 1 ERROR_OTHERS = 2
IMPORTING Parameters details for BKK_PRENOTE_SND_FOR_RELEASE
I_STR_PRENOTE_SND_REL - Prenote Structure for Send for Release
Data type: BKK_STR_PRENOTE_SND_RELOptional: No
Call by Reference: No ( called with pass by value option)
I_ACTIVITY - Activity
Data type: ACTIV_AUTHOptional: No
Call by Reference: No ( called with pass by value option)
I_FLG_IN_UPDATE_TASK - Check Box
Data type: BKK_XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FLG_NO_RELEASE - X: Prenote Must not Be Released
Data type: BKK_XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BKK_PRENOTE_SND_FOR_RELEASE
E_REL_REQD - Return Value of ABAP Statements
Data type: BKK_XFELDOptional: No
Call by Reference: No ( called with pass by value option)
E_TAB_ERRORS - Return Code and corresponding Message
Data type: BKK_TAB_MSG_COL_MESSAGEOptional: No
Call by Reference: Yes
EXCEPTIONS details
INVALID_ACCOUNT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERROR_OTHERS -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for BKK_PRENOTE_SND_FOR_RELEASE 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_rel_reqd | TYPE BKK_XFELD, " | |||
| lv_invalid_account | TYPE BKK_XFELD, " | |||
| lv_i_str_prenote_snd_rel | TYPE BKK_STR_PRENOTE_SND_REL, " | |||
| lv_i_activity | TYPE ACTIV_AUTH, " | |||
| lv_error_others | TYPE ACTIV_AUTH, " | |||
| lv_e_tab_errors | TYPE BKK_TAB_MSG_COL_MESSAGE, " | |||
| lv_i_flg_in_update_task | TYPE BKK_XFELD, " SPACE | |||
| lv_i_flg_no_release | TYPE BKK_XFELD. " SPACE |
|   CALL FUNCTION 'BKK_PRENOTE_SND_FOR_RELEASE' "Send Prenote Object to release process |
| EXPORTING | ||
| I_STR_PRENOTE_SND_REL | = lv_i_str_prenote_snd_rel | |
| I_ACTIVITY | = lv_i_activity | |
| I_FLG_IN_UPDATE_TASK | = lv_i_flg_in_update_task | |
| I_FLG_NO_RELEASE | = lv_i_flg_no_release | |
| IMPORTING | ||
| E_REL_REQD | = lv_e_rel_reqd | |
| E_TAB_ERRORS | = lv_e_tab_errors | |
| EXCEPTIONS | ||
| INVALID_ACCOUNT = 1 | ||
| ERROR_OTHERS = 2 | ||
| . " BKK_PRENOTE_SND_FOR_RELEASE | ||
ABAP code using 7.40 inline data declarations to call FM BKK_PRENOTE_SND_FOR_RELEASE
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.| DATA(ld_i_flg_in_update_task) | = ' '. | |||
| DATA(ld_i_flg_no_release) | = ' '. | |||
Search for further information about these or an SAP related objects