SAP SO_FOLDER_ENTRY_REFRESH Function Module for









SO_FOLDER_ENTRY_REFRESH is a standard so folder entry refresh SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 so folder entry refresh FM, simply by entering the name SO_FOLDER_ENTRY_REFRESH into the relevant SAP transaction such as SE37 or SE38.

Function Group: SOA7
Program Name: SAPLSOA7
Main Program: SAPLSOA7
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function SO_FOLDER_ENTRY_REFRESH 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 'SO_FOLDER_ENTRY_REFRESH'"
EXPORTING
FOLDER_ENTRY_IN = "Folder contents entry to be read again
FOLDER_REGION = "The folder region of the folder (folder part)
OWNER = "Owner of folder

IMPORTING
FOLDER_ENTRY_OUT = "Folder contents entry read again

EXCEPTIONS
ACTIVE_USER_NOT_EXIST = 1 SYSTEM_FAILURE = 10 X_ERROR = 11 COMMUNICATION_FAILURE = 2 COMPONENT_NOT_AVAILABLE = 3 OBJECT_NOT_EXIST = 4 OPERATION_NO_AUTHORIZATION = 5 OWNER_NOT_EXIST = 6 PARAMETER_ERROR = 7 SUBSTITUTE_NOT_ACTIVE = 8 SUBSTITUTE_NOT_DEFINED = 9
.



IMPORTING Parameters details for SO_FOLDER_ENTRY_REFRESH

FOLDER_ENTRY_IN - Folder contents entry to be read again

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

FOLDER_REGION - The folder region of the folder (folder part)

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

OWNER - Owner of folder

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

EXPORTING Parameters details for SO_FOLDER_ENTRY_REFRESH

FOLDER_ENTRY_OUT - Folder contents entry read again

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

EXCEPTIONS details

ACTIVE_USER_NOT_EXIST - The active user does not exist

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

SYSTEM_FAILURE - Termination in remote system

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

X_ERROR - Other error

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

COMMUNICATION_FAILURE - Problems with RFC

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

COMPONENT_NOT_AVAILABLE - SAPoffice component is not available

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

OBJECT_NOT_EXIST - The object does not exist (anymore)

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

OPERATION_NO_AUTHORIZATION - No authorization for reading the entry

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

OWNER_NOT_EXIST - Owner of folder does not exist

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

PARAMETER_ERROR - The combination of parameters is not allowed

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

SUBSTITUTE_NOT_ACTIVE - The substitute is not activated

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

SUBSTITUTE_NOT_DEFINED - The substitute is not defined

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

Copy and paste ABAP code example for SO_FOLDER_ENTRY_REFRESH 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_folder_entry_in  TYPE SOMT, "   
lv_folder_entry_out  TYPE SOMT, "   
lv_active_user_not_exist  TYPE SOMT, "   
lv_system_failure  TYPE SOMT, "   
lv_x_error  TYPE SOMT, "   
lv_folder_region  TYPE SOFH-FOLRG, "   
lv_communication_failure  TYPE SOFH, "   
lv_owner  TYPE SOUD-USRNAM, "   
lv_component_not_available  TYPE SOUD, "   
lv_object_not_exist  TYPE SOUD, "   
lv_operation_no_authorization  TYPE SOUD, "   
lv_owner_not_exist  TYPE SOUD, "   
lv_parameter_error  TYPE SOUD, "   
lv_substitute_not_active  TYPE SOUD, "   
lv_substitute_not_defined  TYPE SOUD. "   

  CALL FUNCTION 'SO_FOLDER_ENTRY_REFRESH'  "
    EXPORTING
         FOLDER_ENTRY_IN = lv_folder_entry_in
         FOLDER_REGION = lv_folder_region
         OWNER = lv_owner
    IMPORTING
         FOLDER_ENTRY_OUT = lv_folder_entry_out
    EXCEPTIONS
        ACTIVE_USER_NOT_EXIST = 1
        SYSTEM_FAILURE = 10
        X_ERROR = 11
        COMMUNICATION_FAILURE = 2
        COMPONENT_NOT_AVAILABLE = 3
        OBJECT_NOT_EXIST = 4
        OPERATION_NO_AUTHORIZATION = 5
        OWNER_NOT_EXIST = 6
        PARAMETER_ERROR = 7
        SUBSTITUTE_NOT_ACTIVE = 8
        SUBSTITUTE_NOT_DEFINED = 9
. " SO_FOLDER_ENTRY_REFRESH




ABAP code using 7.40 inline data declarations to call FM SO_FOLDER_ENTRY_REFRESH

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 FOLRG FROM SOFH INTO @DATA(ld_folder_region).
 
 
"SELECT single USRNAM FROM SOUD INTO @DATA(ld_owner).
 
 
 
 
 
 
 
 


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!