SAP SIN_GRID_READ_WF Function Module for
SIN_GRID_READ_WF is a standard sin grid read wf 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 FM, simply by entering the name SIN_GRID_READ_WF 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 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'".
EXPORTING
* FCODE = 'READ' "
* OWNER = SY-UNAME "
FOLRG = "
* SUBCLASS = ' ' "
* PREVIEW = ' ' "
* CLASS_DATA_IN = "
* VARIANT = "
* FORCE_STRUCTURE_RESET = ' ' "
IMPORTING
REFRESHS = "
CHANGING
* TITLE_TEXT = ' ' "
TABLES
* COUNTERS = "
* FIELDCATALOG = "
* FILTER = "ALV Control: Table of Filter Conditions
* SORT = "ALV control: Table of Sort Criteria
EXCEPTIONS
FOLDER_NOT_EXIST = 1
IMPORTING Parameters details for SIN_GRID_READ_WF
FCODE -
Data type: SY-UCOMMDefault: 'READ'
Optional: Yes
Call by Reference: No ( called with pass by value option)
OWNER -
Data type: SY-UNAMEDefault: SY-UNAME
Optional: Yes
Call by Reference: No ( called with pass by value option)
FOLRG -
Data type: SIN_FOLRGOptional: No
Call by Reference: No ( called with pass by value option)
SUBCLASS -
Data type: SIN_SUBCLDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
PREVIEW -
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
CLASS_DATA_IN -
Data type: SIN_CLDEPOptional: Yes
Call by Reference: No ( called with pass by value option)
VARIANT -
Data type: DISVARIANTOptional: Yes
Call by Reference: No ( called with pass by value option)
FORCE_STRUCTURE_RESET -
Data type: SY-INPUTDefault: SPACE
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for SIN_GRID_READ_WF
REFRESHS -
Data type: SIN_S_REFROptional: No
Call by Reference: Yes
CHANGING Parameters details for SIN_GRID_READ_WF
TITLE_TEXT -
Data type: LVC_TITLEDefault: SPACE
Optional: Yes
Call by Reference: Yes
TABLES Parameters details for SIN_GRID_READ_WF
COUNTERS -
Data type: SIN_S_CNTOptional: Yes
Call by Reference: No ( called with pass by value option)
FIELDCATALOG -
Data type: LVC_T_FCATOptional: Yes
Call by Reference: No ( called with pass by value option)
FILTER - ALV Control: Table of Filter Conditions
Data type: LVC_T_FILTOptional: Yes
Call by Reference: Yes
SORT - ALV control: Table of Sort Criteria
Data type: LVC_T_SORTOptional: Yes
Call by Reference: Yes
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 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_counters | TYPE STANDARD TABLE OF SIN_S_CNT, " | |||
| lv_refreshs | TYPE SIN_S_REFR, " | |||
| lv_title_text | TYPE LVC_TITLE, " SPACE | |||
| lv_folder_not_exist | TYPE LVC_TITLE, " | |||
| lv_owner | TYPE SY-UNAME, " SY-UNAME | |||
| lt_fieldcatalog | TYPE STANDARD TABLE OF LVC_T_FCAT, " | |||
| lv_folrg | TYPE SIN_FOLRG, " | |||
| lt_filter | TYPE STANDARD TABLE OF LVC_T_FILT, " | |||
| lt_sort | TYPE STANDARD TABLE OF LVC_T_SORT, " | |||
| lv_subclass | TYPE SIN_SUBCL, " SPACE | |||
| lv_preview | TYPE C, " SPACE | |||
| lv_class_data_in | TYPE SIN_CLDEP, " | |||
| lv_variant | TYPE DISVARIANT, " | |||
| lv_force_structure_reset | TYPE SY-INPUT. " SPACE |
|   CALL FUNCTION 'SIN_GRID_READ_WF' " |
| 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 | |
| FORCE_STRUCTURE_RESET | = lv_force_structure_reset | |
| IMPORTING | ||
| REFRESHS | = lv_refreshs | |
| CHANGING | ||
| TITLE_TEXT | = lv_title_text | |
| TABLES | ||
| COUNTERS | = lt_counters | |
| FIELDCATALOG | = lt_fieldcatalog | |
| FILTER | = lt_filter | |
| SORT | = lt_sort | |
| EXCEPTIONS | ||
| FOLDER_NOT_EXIST = 1 | ||
| . " SIN_GRID_READ_WF | ||
ABAP code using 7.40 inline data declarations to call FM SIN_GRID_READ_WF
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_title_text) | = ' '. | |||
| "SELECT single UNAME FROM SY INTO @DATA(ld_owner). | ||||
| DATA(ld_owner) | = SY-UNAME. | |||
| DATA(ld_subclass) | = ' '. | |||
| DATA(ld_preview) | = ' '. | |||
| "SELECT single INPUT FROM SY INTO @DATA(ld_force_structure_reset). | ||||
| DATA(ld_force_structure_reset) | = ' '. | |||
Search for further information about these or an SAP related objects