SAP SO_WIND_OBJECT_PROCESS_PARAM Function Module for









SO_WIND_OBJECT_PROCESS_PARAM is a standard so wind object process param 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 wind object process param FM, simply by entering the name SO_WIND_OBJECT_PROCESS_PARAM into the relevant SAP transaction such as SE37 or SE38.

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



Function SO_WIND_OBJECT_PROCESS_PARAM 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_WIND_OBJECT_PROCESS_PARAM'"
EXPORTING
FOLDER_ID = "ID of the folder which contains object
OWNER = "Owner of object
* FOL_REG = 'Q' "
* FORWARDER = "Forwarder of the object
* F_DATA_READ = 'X' "Flag: data read ('X') or transferred (' ')
* F_MULTIPLE_OBJECTS = 'X' "Flag: several objects could have been selected
* F_SAVE_ON_CHANGE = ' ' "Flag: should be saved in the function
* OBJECT_HD_DISPLAY_IN = "Object definition data, input pararameter
OBJECT_ID = "ID of object
* OK_CODE_IN = 'DISP' "The OK code when calling up this function

IMPORTING
F_CHANGE = "Flag: changes were made
OBJECT_HD_DISPLAY = "Object definition data, output
OK_CODE_OUT = "OK code for exiting the function

TABLES
OBJPARA = "Parameters for transaction/report (SPA/GPA)
OBJPARB = "Parameters for dialog modules, FM and MEMTAB's

EXCEPTIONS
ACTIVE_USER_NOT_EXIST = 1 PARAMETER_ERROR = 10 SUBSTITUTE_NOT_ACTIVE = 11 SUBSTITUTE_NOT_DEFINED = 12 COMPONENT_NOT_AVAILABLE = 2 FOLDER_NOT_EXIST = 3 FOLDER_NO_AUTHORIZATION = 4 FORWARDER_NOT_EXIST = 5 OBJECT_NOT_EXIST = 6 OBJECT_NO_AUTHORIZATION = 7 OPERATION_NO_AUTHORIZATION = 8 OWNER_NOT_EXIST = 9
.



IMPORTING Parameters details for SO_WIND_OBJECT_PROCESS_PARAM

FOLDER_ID - ID of the folder which contains object

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

OWNER - Owner of object

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

FOL_REG -

Data type: SOFD-FOLRG
Default: 'Q'
Optional: Yes
Call by Reference: No ( called with pass by value option)

FORWARDER - Forwarder of the object

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

F_DATA_READ - Flag: data read ('X') or transferred (' ')

Data type: SONV-FLAG
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

F_MULTIPLE_OBJECTS - Flag: several objects could have been selected

Data type: SONV-FLAG
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

F_SAVE_ON_CHANGE - Flag: should be saved in the function

Data type: SONV-FLAG
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJECT_HD_DISPLAY_IN - Object definition data, input pararameter

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

OBJECT_ID - ID of object

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

OK_CODE_IN - The OK code when calling up this function

Data type: SY-UCOMM
Default: 'DISP'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for SO_WIND_OBJECT_PROCESS_PARAM

F_CHANGE - Flag: changes were made

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

OBJECT_HD_DISPLAY - Object definition data, output

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

OK_CODE_OUT - OK code for exiting the function

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

TABLES Parameters details for SO_WIND_OBJECT_PROCESS_PARAM

OBJPARA - Parameters for transaction/report (SPA/GPA)

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

OBJPARB - Parameters for dialog modules, FM and MEMTAB's

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

EXCEPTIONS details

ACTIVE_USER_NOT_EXIST - The user does not exist

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

PARAMETER_ERROR - Combination of parameter values not allowed

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

SUBSTITUTE_NOT_ACTIVE - Substitute is inactive

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

SUBSTITUTE_NOT_DEFINED - Substitute is not defined

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)

FOLDER_NOT_EXIST - The folder does not exist

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

FOLDER_NO_AUTHORIZATION - No authorization for folder

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

FORWARDER_NOT_EXIST - Forwarder does not exist

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

OBJECT_NOT_EXIST - Object does not exist

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

OBJECT_NO_AUTHORIZATION - No authorization for object

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

OPERATION_NO_AUTHORIZATION - No authorization for operation

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

OWNER_NOT_EXIST - Owner does not exist

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

Copy and paste ABAP code example for SO_WIND_OBJECT_PROCESS_PARAM 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:
lt_objpara  TYPE STANDARD TABLE OF SELC, "   
lv_f_change  TYPE SONV-FLAG, "   
lv_folder_id  TYPE SOODK, "   
lv_active_user_not_exist  TYPE SOODK, "   
lv_owner  TYPE SOUD-USRNAM, "   
lv_parameter_error  TYPE SOUD, "   
lv_substitute_not_active  TYPE SOUD, "   
lv_substitute_not_defined  TYPE SOUD, "   
lv_fol_reg  TYPE SOFD-FOLRG, "   'Q'
lt_objparb  TYPE STANDARD TABLE OF SOOP1, "   
lv_object_hd_display  TYPE SOOD2, "   
lv_component_not_available  TYPE SOOD2, "   
lv_forwarder  TYPE SOUD-USRNAM, "   
lv_ok_code_out  TYPE SY-UCOMM, "   
lv_folder_not_exist  TYPE SY, "   
lv_f_data_read  TYPE SONV-FLAG, "   'X'
lv_folder_no_authorization  TYPE SONV, "   
lv_f_multiple_objects  TYPE SONV-FLAG, "   'X'
lv_forwarder_not_exist  TYPE SONV, "   
lv_f_save_on_change  TYPE SONV-FLAG, "   ' '
lv_object_not_exist  TYPE SONV, "   
lv_object_hd_display_in  TYPE SOOD2, "   
lv_object_no_authorization  TYPE SOOD2, "   
lv_object_id  TYPE SOODK, "   
lv_operation_no_authorization  TYPE SOODK, "   
lv_ok_code_in  TYPE SY-UCOMM, "   'DISP'
lv_owner_not_exist  TYPE SY. "   

  CALL FUNCTION 'SO_WIND_OBJECT_PROCESS_PARAM'  "
    EXPORTING
         FOLDER_ID = lv_folder_id
         OWNER = lv_owner
         FOL_REG = lv_fol_reg
         FORWARDER = lv_forwarder
         F_DATA_READ = lv_f_data_read
         F_MULTIPLE_OBJECTS = lv_f_multiple_objects
         F_SAVE_ON_CHANGE = lv_f_save_on_change
         OBJECT_HD_DISPLAY_IN = lv_object_hd_display_in
         OBJECT_ID = lv_object_id
         OK_CODE_IN = lv_ok_code_in
    IMPORTING
         F_CHANGE = lv_f_change
         OBJECT_HD_DISPLAY = lv_object_hd_display
         OK_CODE_OUT = lv_ok_code_out
    TABLES
         OBJPARA = lt_objpara
         OBJPARB = lt_objparb
    EXCEPTIONS
        ACTIVE_USER_NOT_EXIST = 1
        PARAMETER_ERROR = 10
        SUBSTITUTE_NOT_ACTIVE = 11
        SUBSTITUTE_NOT_DEFINED = 12
        COMPONENT_NOT_AVAILABLE = 2
        FOLDER_NOT_EXIST = 3
        FOLDER_NO_AUTHORIZATION = 4
        FORWARDER_NOT_EXIST = 5
        OBJECT_NOT_EXIST = 6
        OBJECT_NO_AUTHORIZATION = 7
        OPERATION_NO_AUTHORIZATION = 8
        OWNER_NOT_EXIST = 9
. " SO_WIND_OBJECT_PROCESS_PARAM




ABAP code using 7.40 inline data declarations to call FM SO_WIND_OBJECT_PROCESS_PARAM

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 FLAG FROM SONV INTO @DATA(ld_f_change).
 
 
 
"SELECT single USRNAM FROM SOUD INTO @DATA(ld_owner).
 
 
 
 
"SELECT single FOLRG FROM SOFD INTO @DATA(ld_fol_reg).
DATA(ld_fol_reg) = 'Q'.
 
 
 
 
"SELECT single USRNAM FROM SOUD INTO @DATA(ld_forwarder).
 
"SELECT single UCOMM FROM SY INTO @DATA(ld_ok_code_out).
 
 
"SELECT single FLAG FROM SONV INTO @DATA(ld_f_data_read).
DATA(ld_f_data_read) = 'X'.
 
 
"SELECT single FLAG FROM SONV INTO @DATA(ld_f_multiple_objects).
DATA(ld_f_multiple_objects) = 'X'.
 
 
"SELECT single FLAG FROM SONV INTO @DATA(ld_f_save_on_change).
DATA(ld_f_save_on_change) = ' '.
 
 
 
 
 
 
"SELECT single UCOMM FROM SY INTO @DATA(ld_ok_code_in).
DATA(ld_ok_code_in) = 'DISP'.
 
 


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!