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

function keys for text

Former Member
0 Likes
430

Hai all,

How can we set a function key to text screens in dialog programming?

I have made the settings as respond to double click. But I dont know how to make actions such as calling another screen when click the particular text field in screen.

Thanks in advance.

S.Jenibalet.

3 REPLIES 3
Read only

Former Member
0 Likes
390

Hi Jenibalet,

You have to define a function code for F2 button in your pf status, say 'PICK'. That will be the function code for double click.

Then use get cursor statement

case sy-ucomm.

when 'PICK'.

get cursor ....

Regards,

Ravi

Read only

0 Likes
390

Thanks for your instance reply.

But I am asking function key for text in dialog .can we use pick in screen.

If we use Pick then in the get cursor, which name is to be given for the field if i am giving the name for text field the system wont accept it.

If possible can you give me a sample code for that with some example.

Thanks & Regards,

S.Jenibalet.

Read only

Former Member
0 Likes
390

I THINK YOU CAN NOT ASSIGN FNCODE IN SCREEN FOR TEXT BOX .

REGARDS

SHIBA DUTTA