06-17-2008 7:39 AM
Hi ,
Can any one help me with the code for find button in dialog programming.
points will be rewarded .
thanks
06-17-2008 7: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.
06-17-2008 7: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
06-17-2008 7:51 AM
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.