SAP SIN_GRID_EXECUTE_GS Function Module for
SIN_GRID_EXECUTE_GS is a standard sin grid execute gs 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 execute gs FM, simply by entering the name SIN_GRID_EXECUTE_GS into the relevant SAP transaction such as SE37 or SE38.
Function Group: SGOSWP
Program Name: SAPLSGOSWP
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SIN_GRID_EXECUTE_GS 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_EXECUTE_GS'".
EXPORTING
FCODE = "Screens, Function Code Triggered by PAI
* GETDATA = "
* DD_OBJECT = "
OWNER = "SAP System, User Logon Name
FOLRG = "Folder area
SUBCLASS = "Subordinate class
* ROW = "ALV control: Line Description
* COLUMN = "ALV Control: Column ID
* CLASS_DATA_IN = "Class values
* ACTION = "
* FRAME = "
IMPORTING
CLASS_DATA_OUT = "Class values
REFRESHS = "Workplace: Refresh
CHANGING
* TITLE_TEXT = "ALV Control: Title bar text
TABLES
* ROW_TABLE = "ALV control: Line Description
* COMMON_OUTTAB = "Workplace: Cross-Application Tables for BPT Workplace
* COUNTERS = "Workplace: Inbox Counter
* POSTDATA = "
* QUERY_TABLE = "
* DRAGDROP = "Workplace: Table for Drag & Drop by Class Key
IMPORTING Parameters details for SIN_GRID_EXECUTE_GS
FCODE - Screens, Function Code Triggered by PAI
Data type: SY-UCOMMOptional: No
Call by Reference: No ( called with pass by value option)
GETDATA -
Data type: COptional: Yes
Call by Reference: No ( called with pass by value option)
DD_OBJECT -
Data type: SINW_DRDROBJOptional: Yes
Call by Reference: No ( called with pass by value option)
OWNER - SAP System, User Logon Name
Data type: SY-UNAMEOptional: No
Call by Reference: No ( called with pass by value option)
FOLRG - Folder area
Data type: SIN_FOLRGOptional: No
Call by Reference: No ( called with pass by value option)
SUBCLASS - Subordinate class
Data type: SIN_SUBCLOptional: No
Call by Reference: No ( called with pass by value option)
ROW - ALV control: Line Description
Data type: LVC_S_ROWOptional: Yes
Call by Reference: No ( called with pass by value option)
COLUMN - ALV Control: Column ID
Data type: LVC_S_COLOptional: Yes
Call by Reference: No ( called with pass by value option)
CLASS_DATA_IN - Class values
Data type: SIN_CLDEPOptional: Yes
Call by Reference: No ( called with pass by value option)
ACTION -
Data type: COptional: Yes
Call by Reference: No ( called with pass by value option)
FRAME -
Data type: COptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for SIN_GRID_EXECUTE_GS
CLASS_DATA_OUT - Class values
Data type: SIN_CLDEPOptional: No
Call by Reference: No ( called with pass by value option)
REFRESHS - Workplace: Refresh
Data type: SIN_S_REFROptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for SIN_GRID_EXECUTE_GS
TITLE_TEXT - ALV Control: Title bar text
Data type: LVC_TITLEOptional: Yes
Call by Reference: Yes
TABLES Parameters details for SIN_GRID_EXECUTE_GS
ROW_TABLE - ALV control: Line Description
Data type: LVC_S_ROWOptional: Yes
Call by Reference: Yes
COMMON_OUTTAB - Workplace: Cross-Application Tables for BPT Workplace
Data type: SIN_T_COMMOptional: Yes
Call by Reference: Yes
COUNTERS - Workplace: Inbox Counter
Data type: SIN_S_CNTOptional: Yes
Call by Reference: Yes
POSTDATA -
Data type: CNHT_POST_DATA_TABOptional: Yes
Call by Reference: Yes
QUERY_TABLE -
Data type: CNHT_QUERY_TABLEOptional: Yes
Call by Reference: Yes
DRAGDROP - Workplace: Table for Drag & Drop by Class Key
Data type: SIN_T_WPDDOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for SIN_GRID_EXECUTE_GS 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, " | |||
| lt_row_table | TYPE STANDARD TABLE OF LVC_S_ROW, " | |||
| lv_title_text | TYPE LVC_TITLE, " | |||
| lv_class_data_out | TYPE SIN_CLDEP, " | |||
| lv_getdata | TYPE C, " | |||
| lv_dd_object | TYPE SINW_DRDROBJ, " | |||
| lv_owner | TYPE SY-UNAME, " | |||
| lv_refreshs | TYPE SIN_S_REFR, " | |||
| lt_common_outtab | TYPE STANDARD TABLE OF SIN_T_COMM, " | |||
| lv_folrg | TYPE SIN_FOLRG, " | |||
| lt_counters | TYPE STANDARD TABLE OF SIN_S_CNT, " | |||
| lt_postdata | TYPE STANDARD TABLE OF CNHT_POST_DATA_TAB, " | |||
| lv_subclass | TYPE SIN_SUBCL, " | |||
| lv_row | TYPE LVC_S_ROW, " | |||
| lt_query_table | TYPE STANDARD TABLE OF CNHT_QUERY_TABLE, " | |||
| lv_column | TYPE LVC_S_COL, " | |||
| lt_dragdrop | TYPE STANDARD TABLE OF SIN_T_WPDD, " | |||
| lv_class_data_in | TYPE SIN_CLDEP, " | |||
| lv_action | TYPE C, " | |||
| lv_frame | TYPE C. " |
|   CALL FUNCTION 'SIN_GRID_EXECUTE_GS' " |
| EXPORTING | ||
| FCODE | = lv_fcode | |
| GETDATA | = lv_getdata | |
| DD_OBJECT | = lv_dd_object | |
| OWNER | = lv_owner | |
| FOLRG | = lv_folrg | |
| SUBCLASS | = lv_subclass | |
| ROW | = lv_row | |
| COLUMN | = lv_column | |
| CLASS_DATA_IN | = lv_class_data_in | |
| ACTION | = lv_action | |
| FRAME | = lv_frame | |
| IMPORTING | ||
| CLASS_DATA_OUT | = lv_class_data_out | |
| REFRESHS | = lv_refreshs | |
| CHANGING | ||
| TITLE_TEXT | = lv_title_text | |
| TABLES | ||
| ROW_TABLE | = lt_row_table | |
| COMMON_OUTTAB | = lt_common_outtab | |
| COUNTERS | = lt_counters | |
| POSTDATA | = lt_postdata | |
| QUERY_TABLE | = lt_query_table | |
| DRAGDROP | = lt_dragdrop | |
| . " SIN_GRID_EXECUTE_GS | ||
ABAP code using 7.40 inline data declarations to call FM SIN_GRID_EXECUTE_GS
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). | ||||
| "SELECT single UNAME FROM SY INTO @DATA(ld_owner). | ||||
Search for further information about these or an SAP related objects