Skip to Content
author's profile photo Former Member
Former Member

Difference between slis_selfield and slis_t_extab.

Hi friends,

Enlighten me on this, as to

when am I using this------

FORM user_command USING r_ucomm LIKE sy-ucomm

rs_selfield TYPE slis_selfield.

and when am I using this------

FORM set_pf_status USING rt_extab TYPE slis_t_extab.

SET PF-STATUS 'ZNEWSTATUS'.

My question is .. in what situation am I using the former and the later..

Thanking you all in advance,

Hari Kiran.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2008 at 12:40 PM

    Hi Hari Kiran,

    both FORMs have very different purposes.

    "FORM user_command" is run every time you press a button, a menu, or more generically an ok-coe into your ALV. "rs_selfield TYPE slis_selfield" holds the data of the field on which the cursor was when the ok-code was triggered.

    "FORM set_pf_status" is run once for every run of the ALV listing. It sets the available ok-codes. These are allocated into an internal table "rt_extab TYPE slis_t_extab".

    I hope this helps. Best regards,

    Alvaro

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.