Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Find Button in dialog programming

Former Member
0 Kudos

Hi ,

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

points will be rewarded .

thanks

3 REPLIES 3

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

0 Kudos

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.