SAP SIN_SO Function Module for SAPBPT: Distributor of SAPoffice functions









SIN_SO is a standard sin so SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for SAPBPT: Distributor of SAPoffice functions 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 sin so FM, simply by entering the name SIN_SO into the relevant SAP transaction such as SE37 or SE38.

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



Function SIN_SO 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 'SIN_SO'"SAPBPT: Distributor of SAPoffice functions
EXPORTING
FUNCTION = "Function to be executed
* USER = ' ' "
* OWNER = ' ' "
* PICK_FIELD = ' ' "
* FOLRG = ' ' "
* FOLID = ' ' "
* PARID = ' ' "
* LAST_ACCESS = ' ' "
* LIST = ' ' "

IMPORTING
NEXT_ACTIVITY = "
FOLDER_NAM = "
FOLDER_DES = "
FOLID = "
PARID = "
LIFSP = "
LADAT_ND = "
INVISIBLE_FOR_SUBST = "

TABLES
SINOBJCONT = "Objects in integr.inbox
* SINCOUNTER = "
* SINFILTER = "
* SINCONFIG = "

EXCEPTIONS
FUNCTION_NOT_AVAILABLE = 1 FOLDER_NOT_EXIST = 2 MESSAGE_HANDLED = 3
.



IMPORTING Parameters details for SIN_SO

FUNCTION - Function to be executed

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

USER -

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

OWNER -

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

PICK_FIELD -

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

FOLRG -

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

FOLID -

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

PARID -

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

LAST_ACCESS -

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

LIST -

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

EXPORTING Parameters details for SIN_SO

NEXT_ACTIVITY -

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

FOLDER_NAM -

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

FOLDER_DES -

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

FOLID -

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

PARID -

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

LIFSP -

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

LADAT_ND -

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

INVISIBLE_FOR_SUBST -

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

TABLES Parameters details for SIN_SO

SINOBJCONT - Objects in integr.inbox

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

SINCOUNTER -

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

SINFILTER -

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

SINCONFIG -

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

EXCEPTIONS details

FUNCTION_NOT_AVAILABLE -

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

FOLDER_NOT_EXIST -

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

MESSAGE_HANDLED -

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

Copy and paste ABAP code example for SIN_SO 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_function  TYPE SY-UCOMM, "   
lt_sinobjcont  TYPE STANDARD TABLE OF SINOBJ, "   
lv_next_activity  TYPE SY-UCOMM, "   
lv_function_not_available  TYPE SY, "   
lv_user  TYPE SY-UNAME, "   SPACE
lv_folder_nam  TYPE SINOBJ-OBJNAM, "   
lt_sincounter  TYPE STANDARD TABLE OF SINCOUNT, "   
lv_folder_not_exist  TYPE SINCOUNT, "   
lv_owner  TYPE SOUD-USRNAM, "   SPACE
lt_sinfilter  TYPE STANDARD TABLE OF TSINS, "   
lv_folder_des  TYPE SINOBJ-OBJDES, "   
lv_message_handled  TYPE SINOBJ, "   
lv_folid  TYPE SOODK, "   
lt_sinconfig  TYPE STANDARD TABLE OF TSINA, "   
lv_pick_field  TYPE TSINA-FIELD, "   SPACE
lv_folrg  TYPE TSINA-FOLRG, "   SPACE
lv_parid  TYPE SOODK, "   
lv_folid  TYPE SOODK, "   SPACE
lv_lifsp  TYPE SOFH2-LIFSP, "   
lv_parid  TYPE SOODK, "   SPACE
lv_ladat_nd  TYPE SONV-FLAG, "   
lv_last_access  TYPE SOFD-LADAT, "   SPACE
lv_invisible_for_subst  TYPE SY-TABIX, "   
lv_list  TYPE SY-UCOMM. "   SPACE

  CALL FUNCTION 'SIN_SO'  "SAPBPT: Distributor of SAPoffice functions
    EXPORTING
         FUNCTION = lv_function
         USER = lv_user
         OWNER = lv_owner
         PICK_FIELD = lv_pick_field
         FOLRG = lv_folrg
         FOLID = lv_folid
         PARID = lv_parid
         LAST_ACCESS = lv_last_access
         LIST = lv_list
    IMPORTING
         NEXT_ACTIVITY = lv_next_activity
         FOLDER_NAM = lv_folder_nam
         FOLDER_DES = lv_folder_des
         FOLID = lv_folid
         PARID = lv_parid
         LIFSP = lv_lifsp
         LADAT_ND = lv_ladat_nd
         INVISIBLE_FOR_SUBST = lv_invisible_for_subst
    TABLES
         SINOBJCONT = lt_sinobjcont
         SINCOUNTER = lt_sincounter
         SINFILTER = lt_sinfilter
         SINCONFIG = lt_sinconfig
    EXCEPTIONS
        FUNCTION_NOT_AVAILABLE = 1
        FOLDER_NOT_EXIST = 2
        MESSAGE_HANDLED = 3
. " SIN_SO




ABAP code using 7.40 inline data declarations to call FM SIN_SO

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 UCOMM FROM SY INTO @DATA(ld_function).
 
 
"SELECT single UCOMM FROM SY INTO @DATA(ld_next_activity).
 
 
"SELECT single UNAME FROM SY INTO @DATA(ld_user).
DATA(ld_user) = ' '.
 
"SELECT single OBJNAM FROM SINOBJ INTO @DATA(ld_folder_nam).
 
 
 
"SELECT single USRNAM FROM SOUD INTO @DATA(ld_owner).
DATA(ld_owner) = ' '.
 
 
"SELECT single OBJDES FROM SINOBJ INTO @DATA(ld_folder_des).
 
 
 
 
"SELECT single FIELD FROM TSINA INTO @DATA(ld_pick_field).
DATA(ld_pick_field) = ' '.
 
"SELECT single FOLRG FROM TSINA INTO @DATA(ld_folrg).
DATA(ld_folrg) = ' '.
 
 
DATA(ld_folid) = ' '.
 
"SELECT single LIFSP FROM SOFH2 INTO @DATA(ld_lifsp).
 
DATA(ld_parid) = ' '.
 
"SELECT single FLAG FROM SONV INTO @DATA(ld_ladat_nd).
 
"SELECT single LADAT FROM SOFD INTO @DATA(ld_last_access).
DATA(ld_last_access) = ' '.
 
"SELECT single TABIX FROM SY INTO @DATA(ld_invisible_for_subst).
 
"SELECT single UCOMM FROM SY INTO @DATA(ld_list).
DATA(ld_list) = ' '.
 


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!