SAP FOLDER_POPUP Function Module for Rollover: Dialog Box for File Data









FOLDER_POPUP is a standard folder popup SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Rollover: Dialog Box for File Data 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 folder popup FM, simply by entering the name FOLDER_POPUP into the relevant SAP transaction such as SE37 or SE38.

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



Function FOLDER_POPUP 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 'FOLDER_POPUP'"Rollover: Dialog Box for File Data
EXPORTING
I_STYP = "

IMPORTING
E_ANSWER = "
E_BUKRS = "
E_RHORD = "
E_RORD = "
E_STYP = "
E_SVNR = "
E_SVYM = "
.



IMPORTING Parameters details for FOLDER_POPUP

I_STYP -

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

EXPORTING Parameters details for FOLDER_POPUP

E_ANSWER -

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

E_BUKRS -

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

E_RHORD -

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

E_RORD -

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

E_STYP -

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

E_SVNR -

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

E_SVYM -

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

Copy and paste ABAP code example for FOLDER_POPUP 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_i_styp  TYPE VDPOKO-STYP, "   
lv_e_answer  TYPE VDPOKO, "   
lv_e_bukrs  TYPE VDPOKO-BUKRS, "   
lv_e_rhord  TYPE VDPOKO-RHORD, "   
lv_e_rord  TYPE VDPOKO-RORD, "   
lv_e_styp  TYPE VDPOKO-STYP, "   
lv_e_svnr  TYPE VDPOKO-SVNR, "   
lv_e_svym  TYPE VDPOKO-SVYM. "   

  CALL FUNCTION 'FOLDER_POPUP'  "Rollover: Dialog Box for File Data
    EXPORTING
         I_STYP = lv_i_styp
    IMPORTING
         E_ANSWER = lv_e_answer
         E_BUKRS = lv_e_bukrs
         E_RHORD = lv_e_rhord
         E_RORD = lv_e_rord
         E_STYP = lv_e_styp
         E_SVNR = lv_e_svnr
         E_SVYM = lv_e_svym
. " FOLDER_POPUP




ABAP code using 7.40 inline data declarations to call FM FOLDER_POPUP

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 STYP FROM VDPOKO INTO @DATA(ld_i_styp).
 
 
"SELECT single BUKRS FROM VDPOKO INTO @DATA(ld_e_bukrs).
 
"SELECT single RHORD FROM VDPOKO INTO @DATA(ld_e_rhord).
 
"SELECT single RORD FROM VDPOKO INTO @DATA(ld_e_rord).
 
"SELECT single STYP FROM VDPOKO INTO @DATA(ld_e_styp).
 
"SELECT single SVNR FROM VDPOKO INTO @DATA(ld_e_svnr).
 
"SELECT single SVYM FROM VDPOKO INTO @DATA(ld_e_svym).
 


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!