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

Find Button in dialog programming

Hi ,

Can any one help me with the code for find button in dialog programming.

points will be rewarded .

thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 06:43 AM

    HI,

    Place the BUTTON on the screen and assign one Function Code (let say 'BUTTON1') and write the below code to execute when button is pressed.

    PAI:

    case SY-UCOMM.

    when 'BUTTON1'.

    --> Write your executing code here.

    endcase.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 06:47 AM

    hi,

    go to SE51 in that go to layout , inthat to the left hand side of the screen u can find some icons in that u can find Button select and drag on to screen. then set the attributes like function code.

    in pai,

    handle that button.

    case sy-ucomm,

    when 'fcode'.

    ur logic.

    endcase.

    Rgds.,

    subash

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      I have designed the layout . when u press find button dialog box appears and u need to enter the value .

      Based on the entered value i need to search for string in the internal table of the table control . If the string is found the cursor should be positined there.

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.