SAP DELETE_CONFIRMATION_RESERVE Function Module for Delete confirmation pool









DELETE_CONFIRMATION_RESERVE is a standard delete confirmation reserve SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Delete confirmation pool 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 delete confirmation reserve FM, simply by entering the name DELETE_CONFIRMATION_RESERVE into the relevant SAP transaction such as SE37 or SE38.

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



Function DELETE_CONFIRMATION_RESERVE 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 'DELETE_CONFIRMATION_RESERVE'"Delete confirmation pool
EXPORTING
AFORI_IMP = "Origin of pool (application)
* AFRUV_IMP = ' ' "Name of confirmation pool
* NO_DIALOG = ' ' "

EXCEPTIONS
NOT_FOUND = 1 WRONG_APPL = 2
.



IMPORTING Parameters details for DELETE_CONFIRMATION_RESERVE

AFORI_IMP - Origin of pool (application)

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

AFRUV_IMP - Name of confirmation pool

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

NO_DIALOG -

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

EXCEPTIONS details

NOT_FOUND - Confirmation pool does not exist

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

WRONG_APPL -

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

Copy and paste ABAP code example for DELETE_CONFIRMATION_RESERVE 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_afori_imp  TYPE AFRV-AFORI, "   
lv_not_found  TYPE AFRV, "   
lv_afruv_imp  TYPE AFRV-AFRUV, "   SPACE
lv_wrong_appl  TYPE AFRV, "   
lv_no_dialog  TYPE AFRV-AFORI. "   SPACE

  CALL FUNCTION 'DELETE_CONFIRMATION_RESERVE'  "Delete confirmation pool
    EXPORTING
         AFORI_IMP = lv_afori_imp
         AFRUV_IMP = lv_afruv_imp
         NO_DIALOG = lv_no_dialog
    EXCEPTIONS
        NOT_FOUND = 1
        WRONG_APPL = 2
. " DELETE_CONFIRMATION_RESERVE




ABAP code using 7.40 inline data declarations to call FM DELETE_CONFIRMATION_RESERVE

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 AFORI FROM AFRV INTO @DATA(ld_afori_imp).
 
 
"SELECT single AFRUV FROM AFRV INTO @DATA(ld_afruv_imp).
DATA(ld_afruv_imp) = ' '.
 
 
"SELECT single AFORI FROM AFRV INTO @DATA(ld_no_dialog).
DATA(ld_no_dialog) = ' '.
 


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!