SIN_GRID_EXECUTE_GS is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name SIN_GRID_EXECUTE_GS into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
SGOSWP
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'SIN_GRID_EXECUTE_GS' "
EXPORTING
fcode = " sy-ucomm Screens, Function Code Triggered by PAI
owner = " sy-uname SAP System, User Logon Name
folrg = " sin_folrg Folder area
subclass = " sin_subcl Subordinate class
* row = " lvc_s_row ALV control: Line Description
* column = " lvc_s_col ALV Control: Column ID
* class_data_in = " sin_cldep Class values
* action = " c
* frame = " c
* getdata = " c
* dd_object = " sinw_drdrobj
IMPORTING
class_data_out = " sin_cldep Class values
refreshs = " sin_s_refr Workplace: Refresh
* TABLES
* row_table = " lvc_s_row ALV control: Line Description
* common_outtab = " sin_t_comm Workplace: Cross-Application Tables for BPT Workplace
* counters = " sin_s_cnt Workplace: Inbox Counter
* postdata = " cnht_post_data_tab
* query_table = " cnht_query_table
* dragdrop = " sin_t_wpdd Workplace: Table for Drag & Drop by Class Key
* CHANGING
* title_text = " lvc_title ALV Control: Title bar text
. " SIN_GRID_EXECUTE_GS
The ABAP code below is a full code listing to execute function module SIN_GRID_EXECUTE_GS including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_class_data_out | TYPE SIN_CLDEP , |
| ld_refreshs | TYPE SIN_S_REFR , |
| it_row_table | TYPE STANDARD TABLE OF LVC_S_ROW,"TABLES PARAM |
| wa_row_table | LIKE LINE OF it_row_table , |
| it_common_outtab | TYPE STANDARD TABLE OF SIN_T_COMM,"TABLES PARAM |
| wa_common_outtab | LIKE LINE OF it_common_outtab , |
| it_counters | TYPE STANDARD TABLE OF SIN_S_CNT,"TABLES PARAM |
| wa_counters | LIKE LINE OF it_counters , |
| it_postdata | TYPE STANDARD TABLE OF CNHT_POST_DATA_TAB,"TABLES PARAM |
| wa_postdata | LIKE LINE OF it_postdata , |
| it_query_table | TYPE STANDARD TABLE OF CNHT_QUERY_TABLE,"TABLES PARAM |
| wa_query_table | LIKE LINE OF it_query_table , |
| it_dragdrop | TYPE STANDARD TABLE OF SIN_T_WPDD,"TABLES PARAM |
| wa_dragdrop | LIKE LINE OF it_dragdrop . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_title_text | TYPE LVC_TITLE , |
| ld_class_data_out | TYPE SIN_CLDEP , |
| ld_fcode | TYPE SY-UCOMM , |
| it_row_table | TYPE STANDARD TABLE OF LVC_S_ROW , |
| wa_row_table | LIKE LINE OF it_row_table, |
| ld_refreshs | TYPE SIN_S_REFR , |
| ld_owner | TYPE SY-UNAME , |
| it_common_outtab | TYPE STANDARD TABLE OF SIN_T_COMM , |
| wa_common_outtab | LIKE LINE OF it_common_outtab, |
| ld_folrg | TYPE SIN_FOLRG , |
| it_counters | TYPE STANDARD TABLE OF SIN_S_CNT , |
| wa_counters | LIKE LINE OF it_counters, |
| ld_subclass | TYPE SIN_SUBCL , |
| it_postdata | TYPE STANDARD TABLE OF CNHT_POST_DATA_TAB , |
| wa_postdata | LIKE LINE OF it_postdata, |
| ld_row | TYPE LVC_S_ROW , |
| it_query_table | TYPE STANDARD TABLE OF CNHT_QUERY_TABLE , |
| wa_query_table | LIKE LINE OF it_query_table, |
| ld_column | TYPE LVC_S_COL , |
| it_dragdrop | TYPE STANDARD TABLE OF SIN_T_WPDD , |
| wa_dragdrop | LIKE LINE OF it_dragdrop, |
| ld_class_data_in | TYPE SIN_CLDEP , |
| ld_action | TYPE C , |
| ld_frame | TYPE C , |
| ld_getdata | TYPE C , |
| ld_dd_object | TYPE SINW_DRDROBJ . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name SIN_GRID_EXECUTE_GS or its description.