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

put button in select screen

hello experts

How can I put a button into a select screen,beside parametres and select option?

I know that is possible with screen painter, but in this case I can't use variant?

and I need variant for my program.

what is the solution

I need help

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2007 at 03:14 PM

    Hi,

    Check this

    push-button-on-selection-screen

    Reward Points if this helps,

    Satish

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 21, 2007 at 03:14 PM

    hi Mohamed,

    you can use : SELECTION-SCREEN PUSHBUTTON.

    it will be placed on top, not among paramters, select options.

    rgds

    ec

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 21, 2007 at 03:16 PM

    Try with this code:

    REPORT  ZTEST_NP.
    
    tables: sscrfields.
    
    include <icon>.
    
    SELECTION-SCREEN:
        PUSHBUTTON 2(10)  but1 USER-COMMAND cli1,
        PUSHBUTTON 12(30) but2 USER-COMMAND cli2
                               VISIBLE LENGTH 10.
    
    AT SELECTION-SCREEN.
      CASE sscrfields.
        WHEN 'CLI1'.
          ...
        WHEN 'CLI2'.
          ...
      ENDCASE.
    
    initialization.
      but1 = 'Button 1'.
    
      CALL FUNCTION 'ICON_CREATE'
        EXPORTING
          name   = icon_information
          text   = 'Button 2'
          info   = 'My Quickinfo'
        IMPORTING
          RESULT = but2
        EXCEPTIONS
          OTHERS = 0.

    Regards,

    Naimesh Patel

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2007 at 03:42 PM

    ok I can have buttons now, but I want them in the buttom of the screen,

    if any body can help, he lets his mail and I will send him the screen that I should have in program

    thanks

    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.