Application Development and Automation 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: 
Read only

Find Button in dialog programming

Former Member
0 Likes
1,066

Hi ,

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

points will be rewarded .

thanks

3 REPLIES 3
Read only

Former Member
0 Likes
740

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.

Read only

Former Member
0 Likes
740

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

Read only

0 Likes
740

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.