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

how can i create pushbutton

hi experts,

i know how to create selection screen.

but i want to know how can i create selection screen with push button.

please help

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 Oct 19, 2005 at 01:17 AM

    REPORT ZR_ALV_RB1.

    TABLES sscrfields.

    SELECTION-SCREEN BEGIN OF BLOCK ONE WITH FRAME TITLE TEXT-001.

    selection-screen: PUSHBUTTON 2(10) but1 USER-COMMAND cli1,

    PUSHBUTTON /12(30) but2 USER-COMMAND cli2

    VISIBLE LENGTH 10.

    selection-screen end of block one.

    AT SELECTION-SCREEN.

    CASE sscrfields.

    WHEN 'CLI1'.

    message i000(zz) with 'Button 1 was pressed'.

    WHEN 'CLI2'.

    message i000(zz) with 'Button 2 was pressed'.

    ENDCASE.

    initialization.

    but1 = 'Button 1'.

    but2 = 'Button 2'.

    START-OF-SELECTION.

    • Rest of your logic here.

    Please reward points accordingly.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2005 at 01:16 AM

    Hi ,

    ABAP has many Programming Types .

    You hav to create Screen Pgmming ( Module Pool ) .

    http://help.sap.com/saphelp_erp2004/helpdata/en/c5/aa575426ad11d2954d0000e8353423/frameset.htm

    Regards,

    j

    Do Award Points if u got any help.

    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.