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

Pushbuttons on selection-screen

Hi ,

i have a push button on the selection screen , when press it my list must be displayed.

how can i do it.

Regards

Arun

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 14, 2005 at 11:40 AM

    The Function Code for the Push-Button has to be 'ONLI'. Otherwise, I doubt it would work.

    Regards,

    Subramanian V.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 14, 2005 at 11:43 AM

    SELECTION-SCREEN PUSHBUTTON /10(20) pushy USER-COMMAND abcd.

    INITIALIZATION.

    MOVE 'DOSOMETHING' TO pushy.

    AT SELECTION-SCREEN.

    CHECK sscrfields-ucomm = 'ABCD'.

    perform do_what_you_want.

    -


    If it helps please give points.

    Add a comment
    10|10000 characters needed characters exceeded

    • This works 😊

      DATA:

      zucomm TYPE sy-ucomm.

      SELECTION-SCREEN PUSHBUTTON /10(20) pushy USER-COMMAND onli.

      INITIALIZATION.

      MOVE 'DOSOMETHING' TO pushy.

      AT SELECTION-SCREEN.

      CHECK sscrfields-ucomm = 'ONLI'.

      zucomm = sscrfields-ucomm.

      START-OF-SELECTION.

      IF zucomm EQ 'ONLI'.

      WRITE: 'SOMETHING'.

      ENDIF.

      -


      Please give points if it helps.

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.