SAP POPUP_CONFIRMATION_DATA Function Module for Dialog Box for Displaying Release Data (Info)
POPUP_CONFIRMATION_DATA is a standard popup confirmation data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Dialog Box for Displaying Release Data (Info) 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 popup confirmation data FM, simply by entering the name POPUP_CONFIRMATION_DATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVZL
Program Name: SAPLFVZL
Main Program:
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function POPUP_CONFIRMATION_DATA 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 'POPUP_CONFIRMATION_DATA'"Dialog Box for Displaying Release Data (Info).
EXPORTING
FGOBJ = "Freigebeobjekt
* FLG_LAST_ENTRY = ' ' "Knz. nur letzten Eintrag ausgeben
KEY1 = "Key1
* KEY2 = ' ' "Key2
* BSCHWRT = "Schwellwert Betrag (temp. für alte Auszahlung)
* WAERS = "Währungsschlüssel (temp. für alte Auszahlung)
EXCEPTIONS
NOT_FOUND = 1
IMPORTING Parameters details for POPUP_CONFIRMATION_DATA
FGOBJ - Freigebeobjekt
Data type: VZFGD-SFGOBJOptional: No
Call by Reference: No ( called with pass by value option)
FLG_LAST_ENTRY - Knz. nur letzten Eintrag ausgeben
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
KEY1 - Key1
Data type: VZFGD-SKEY1Optional: No
Call by Reference: No ( called with pass by value option)
KEY2 - Key2
Data type: VZFGD-SKEY2Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
BSCHWRT - Schwellwert Betrag (temp. für alte Auszahlung)
Data type: VZFGD-BSCHWRTOptional: Yes
Call by Reference: No ( called with pass by value option)
WAERS - Währungsschlüssel (temp. für alte Auszahlung)
Data type: VZFGD-WAERSOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOT_FOUND - keine Eintraege gefunden
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for POPUP_CONFIRMATION_DATA 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_fgobj | TYPE VZFGD-SFGOBJ, " | |||
| lv_not_found | TYPE VZFGD, " | |||
| lv_flg_last_entry | TYPE VZFGD, " SPACE | |||
| lv_key1 | TYPE VZFGD-SKEY1, " | |||
| lv_key2 | TYPE VZFGD-SKEY2, " SPACE | |||
| lv_bschwrt | TYPE VZFGD-BSCHWRT, " | |||
| lv_waers | TYPE VZFGD-WAERS. " |
|   CALL FUNCTION 'POPUP_CONFIRMATION_DATA' "Dialog Box for Displaying Release Data (Info) |
| EXPORTING | ||
| FGOBJ | = lv_fgobj | |
| FLG_LAST_ENTRY | = lv_flg_last_entry | |
| KEY1 | = lv_key1 | |
| KEY2 | = lv_key2 | |
| BSCHWRT | = lv_bschwrt | |
| WAERS | = lv_waers | |
| EXCEPTIONS | ||
| NOT_FOUND = 1 | ||
| . " POPUP_CONFIRMATION_DATA | ||
ABAP code using 7.40 inline data declarations to call FM POPUP_CONFIRMATION_DATA
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 SFGOBJ FROM VZFGD INTO @DATA(ld_fgobj). | ||||
| DATA(ld_flg_last_entry) | = ' '. | |||
| "SELECT single SKEY1 FROM VZFGD INTO @DATA(ld_key1). | ||||
| "SELECT single SKEY2 FROM VZFGD INTO @DATA(ld_key2). | ||||
| DATA(ld_key2) | = ' '. | |||
| "SELECT single BSCHWRT FROM VZFGD INTO @DATA(ld_bschwrt). | ||||
| "SELECT single WAERS FROM VZFGD INTO @DATA(ld_waers). | ||||
Search for further information about these or an SAP related objects