2007 Nov 02 8:47 AM
Hi experts,
can u tl me abt the following one.
<b>SLIS_SELFIELD</b>
<b>SLIS_TABNAME
SLIS_FIELDNAME</b>
it wl be rewarded
Message was edited by:
Chandu Valluri
2007 Nov 02 9:22 AM
Hi,
SLIS is a type pool ,
SLIS_FIELDNAME - This is the name of the internal table field .
SLIS_TABNAME - Name fo the internal output table .'
SLIS_SELFIELD - It is for cursor positioning in ALV.
Hi experts,
can u tl me abt the following one.
<b>SLIS_SELFIELD</b>
<b>SLIS_TABNAME
SLIS_FIELDNAME</b>
it wl be rewarded
Message was edited by:
Chandu Valluri
2007 Nov 02 9:00 AM
Example :
FORM USER_COMMAND_SAMPLE USING UCOMM LIKE SY-UCOMM
SELFIELD TYPE SLIS_SELFIELD.
CASE UCOMM.
WHEN 'MSXL'. " Export to Excel
* perform set_excel_export.
CLEAR UCOMM.
WHEN 'MM03'.
* set parameter id 'MAT' field selfield-value.
* call transaction 'MM03' and skip first screen.
CLEAR UCOMM.
WHEN 'BGR1'.
* perform fill_available.
* perform graph_available.
CLEAR UCOMM.
WHEN 'DOCU'.
* call function 'Z_HELP' exporting repname = repname.
ENDCASE.
ENDFORM. " USER_COMMAND
Here ,
USER_COMMAND_SAMPLE -> is the User Command like (Double Click on field value in the ALV LIST , on action od DELETE,ADD,TOTAL ,etc...carries some code like ( /OK, &TC,$BC,etc ) ).
SLIS_SELFIELD -> Double clicked ,or selected Field name which is of type SLIS_SELFIELD.
like same SLIS_TABNAME -> selected Intrernal table .
Like same SLIS_FIELDNAME->select Field Name .
Reward points if it is usefull...
Girish
2007 Nov 02 9:00 AM
Goto SE11.
Select TYPE GROUP and enter SLIS there.
SLIS is a type-pool which has many type declarations which can be readily used.
You use this most often when you create ALV's when you use FM REUSE_ALV_LIST_DISPLAY.
So when you create your program you have ti use this type-pool in your program.
This is what you see when you open TYPE-GROUP SLIS
types: slis_tabname(30) type c,
slis_fieldname(30) type c,
slis_sel_tab_field(60) type c,
slis_formname(30) type c,
slis_entry(60) type c,
slis_edit_mask(60) type c,
slis_coldesc(4) type c.
You would see it when you declare field catalog for ALV's.
Since these are just char fields you can enter your values without any problem .
Hope this gives some idea.
Regards
Nishant
2007 Nov 02 9:05 AM
Hi,
SLIS is a TYPE-Group defined in the SE11.
TYpe-pool statement introduces a Type-Group.
Type-pool can contain only types and constants. All the types and constants defined in a type-pool should begin with the Type-group name followed by a underscore.
Hope this is useful.
Regards,
Ruthra
2007 Nov 02 9:22 AM
Hi,
SLIS is a type pool ,
SLIS_FIELDNAME - This is the name of the internal table field .
SLIS_TABNAME - Name fo the internal output table .'
SLIS_SELFIELD - It is for cursor positioning in ALV.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |