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

Function SIN_GRID_EXECUTE_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_GRID_EXECUTE_SO'".
EXPORTING
FCODE = "Function Code
* GETDATA = "
* DD_OBJECT = "
OWNER = "Owner
FOLRG = "
SUBCLASS = "Subordinate class
* ROW = "
* COLUMN = "
* CLASS_DATA_IN = "
* ACTION = "
* FRAME = "
IMPORTING
CLASS_DATA_OUT = "
REFRESHS = "
CHANGING
* TITLE_TEXT = "
TABLES
* ROW_TABLE = "Selected lines
* COMMON_OUTTAB = "
* COUNTERS = "
* POSTDATA = "
* QUERY_TABLE = "
* DRAGDROP = "
IMPORTING Parameters details for SIN_GRID_EXECUTE_SO
FCODE - Function Code
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 - Owner
Data type: SY-UNAMEOptional: No
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 - Subordinate class
Data type: SIN_SUBCLOptional: No
Call by Reference: No ( called with pass by value option)
ROW -
Data type: LVC_S_ROWOptional: Yes
Call by Reference: No ( called with pass by value option)
COLUMN -
Data type: LVC_S_COLOptional: 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)
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_SO
CLASS_DATA_OUT -
Data type: SIN_CLDEPOptional: No
Call by Reference: No ( called with pass by value option)
REFRESHS -
Data type: SIN_S_REFROptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for SIN_GRID_EXECUTE_SO
TITLE_TEXT -
Data type: LVC_TITLEOptional: Yes
Call by Reference: Yes
TABLES Parameters details for SIN_GRID_EXECUTE_SO
ROW_TABLE - Selected lines
Data type: LVC_S_ROWOptional: Yes
Call by Reference: No ( called with pass by value option)
COMMON_OUTTAB -
Data type: SIN_T_COMMOptional: Yes
Call by Reference: No ( called with pass by value option)
COUNTERS -
Data type: SIN_S_CNTOptional: Yes
Call by Reference: No ( called with pass by value option)
POSTDATA -
Data type: CNHT_POST_DATA_TABOptional: Yes
Call by Reference: No ( called with pass by value option)
QUERY_TABLE -
Data type: CNHT_QUERY_TABLEOptional: Yes
Call by Reference: No ( called with pass by value option)
DRAGDROP -
Data type: SIN_T_WPDDOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for SIN_GRID_EXECUTE_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_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_SO' " |
| 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_SO | ||
ABAP code using 7.40 inline data declarations to call FM SIN_GRID_EXECUTE_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_fcode). | ||||
| "SELECT single UNAME FROM SY INTO @DATA(ld_owner). | ||||
Search for further information about these or an SAP related objects