SAP SIN_GRID_READ_WF_I Function Module for









SIN_GRID_READ_WF_I is a standard sin grid read wf i 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 sin grid read wf i FM, simply by entering the name SIN_GRID_READ_WF_I into the relevant SAP transaction such as SE37 or SE38.

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



Function SIN_GRID_READ_WF_I 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_GRID_READ_WF_I'"
EXPORTING
* FCODE = 'READ' "
* OWNER = SY-UNAME "
FOLRG = "
* SUBCLASS = ' ' "
* PREVIEW = ' ' "
* CLASS_DATA_IN = "
* VARIANT = ' ' "Layout (External Use)

CHANGING
* C_TITLE_TEXT = ' ' "

TABLES
I_OUTTAB = "
* I_FIELDCATALOG = "
* I_SORT = "
* I_FILTER = "
* I_FCAT_NO_OUT_FIELDS = "

EXCEPTIONS
FOLDER_NOT_EXIST = 1
.



IMPORTING Parameters details for SIN_GRID_READ_WF_I

FCODE -

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

OWNER -

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

FOLRG -

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

SUBCLASS -

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

PREVIEW -

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

CLASS_DATA_IN -

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

VARIANT - Layout (External Use)

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

CHANGING Parameters details for SIN_GRID_READ_WF_I

C_TITLE_TEXT -

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

TABLES Parameters details for SIN_GRID_READ_WF_I

I_OUTTAB -

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

I_FIELDCATALOG -

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

I_SORT -

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

I_FILTER -

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

I_FCAT_NO_OUT_FIELDS -

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

EXCEPTIONS details

FOLDER_NOT_EXIST -

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

Copy and paste ABAP code example for SIN_GRID_READ_WF_I 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_fcode  TYPE SY-UCOMM, "   'READ'
lt_i_outtab  TYPE STANDARD TABLE OF SWLWP1_T, "   
lv_c_title_text  TYPE LVC_TITLE, "   SPACE
lv_folder_not_exist  TYPE LVC_TITLE, "   
lv_owner  TYPE SY-UNAME, "   SY-UNAME
lt_i_fieldcatalog  TYPE STANDARD TABLE OF LVC_T_FCAT, "   
lv_folrg  TYPE SIN_FOLRG, "   
lt_i_sort  TYPE STANDARD TABLE OF LVC_T_SORT, "   
lt_i_filter  TYPE STANDARD TABLE OF LVC_T_FILT, "   
lv_subclass  TYPE SIN_SUBCL, "   ' '
lv_preview  TYPE C, "   ' '
lt_i_fcat_no_out_fields  TYPE STANDARD TABLE OF UI_FUNCTIONS, "   
lv_class_data_in  TYPE SIN_CLDEP, "   
lv_variant  TYPE DISVARIANT. "   SPACE

  CALL FUNCTION 'SIN_GRID_READ_WF_I'  "
    EXPORTING
         FCODE = lv_fcode
         OWNER = lv_owner
         FOLRG = lv_folrg
         SUBCLASS = lv_subclass
         PREVIEW = lv_preview
         CLASS_DATA_IN = lv_class_data_in
         VARIANT = lv_variant
    CHANGING
         C_TITLE_TEXT = lv_c_title_text
    TABLES
         I_OUTTAB = lt_i_outtab
         I_FIELDCATALOG = lt_i_fieldcatalog
         I_SORT = lt_i_sort
         I_FILTER = lt_i_filter
         I_FCAT_NO_OUT_FIELDS = lt_i_fcat_no_out_fields
    EXCEPTIONS
        FOLDER_NOT_EXIST = 1
. " SIN_GRID_READ_WF_I




ABAP code using 7.40 inline data declarations to call FM SIN_GRID_READ_WF_I

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_fcode).
DATA(ld_fcode) = 'READ'.
 
 
DATA(ld_c_title_text) = ' '.
 
 
"SELECT single UNAME FROM SY INTO @DATA(ld_owner).
DATA(ld_owner) = SY-UNAME.
 
 
 
 
 
DATA(ld_subclass) = ' '.
 
DATA(ld_preview) = ' '.
 
 
 
DATA(ld_variant) = ' '.
 


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!