Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SLIS

Former Member
0 Likes
957

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
871

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

4 REPLIES 4
Read only

Former Member
0 Likes
871

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

Read only

Former Member
0 Likes
871

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

Read only

Former Member
0 Likes
871

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

Read only

Former Member
0 Likes
872

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.