SAP BKK_PAYM_ORDER_DELETE_RELEASE Function Module for Release Payment Order After Dual Control









BKK_PAYM_ORDER_DELETE_RELEASE is a standard bkk paym order delete 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 Release Payment Order After Dual Control 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 paym order delete release FM, simply by entering the name BKK_PAYM_ORDER_DELETE_RELEASE into the relevant SAP transaction such as SE37 or SE38.

Function Group: FBP0
Program Name: SAPLFBP0
Main Program: SAPLFBP0
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function BKK_PAYM_ORDER_DELETE_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_PAYM_ORDER_DELETE_RELEASE'"Release Payment Order After Dual Control
EXPORTING
I_BKKRS = "Bank Area
I_PAORN = "Payment Order Number
* I_X_IN_UPDATE_TASK = ' ' "In Update Task
* I_XTRACE = ' ' "

IMPORTING
E_RC = "Error Code (See Long Text)
E_POSTATUS = "Payment Order Status (See Long Text)
.



IMPORTING Parameters details for BKK_PAYM_ORDER_DELETE_RELEASE

I_BKKRS - Bank Area

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

I_PAORN - Payment Order Number

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

I_X_IN_UPDATE_TASK - In Update Task

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

I_XTRACE -

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

EXPORTING Parameters details for BKK_PAYM_ORDER_DELETE_RELEASE

E_RC - Error Code (See Long Text)

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

E_POSTATUS - Payment Order Status (See Long Text)

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

Copy and paste ABAP code example for BKK_PAYM_ORDER_DELETE_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_rc  TYPE SY-SUBRC, "   
lv_i_bkkrs  TYPE IBKKPOHD-BKKRS, "   
lv_i_paorn  TYPE IBKKPOHD-PAORN, "   
lv_e_postatus  TYPE BKKPOHD-POSTATUS, "   
lv_i_x_in_update_task  TYPE BKK_XFELD, "   SPACE
lv_i_xtrace  TYPE BKK_XFELD. "   SPACE

  CALL FUNCTION 'BKK_PAYM_ORDER_DELETE_RELEASE'  "Release Payment Order After Dual Control
    EXPORTING
         I_BKKRS = lv_i_bkkrs
         I_PAORN = lv_i_paorn
         I_X_IN_UPDATE_TASK = lv_i_x_in_update_task
         I_XTRACE = lv_i_xtrace
    IMPORTING
         E_RC = lv_e_rc
         E_POSTATUS = lv_e_postatus
. " BKK_PAYM_ORDER_DELETE_RELEASE




ABAP code using 7.40 inline data declarations to call FM BKK_PAYM_ORDER_DELETE_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.

"SELECT single SUBRC FROM SY INTO @DATA(ld_e_rc).
 
"SELECT single BKKRS FROM IBKKPOHD INTO @DATA(ld_i_bkkrs).
 
"SELECT single PAORN FROM IBKKPOHD INTO @DATA(ld_i_paorn).
 
"SELECT single POSTATUS FROM BKKPOHD INTO @DATA(ld_e_postatus).
 
DATA(ld_i_x_in_update_task) = ' '.
 
DATA(ld_i_xtrace) = ' '.
 


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!