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

F1 help in dialog programming

Former Member
0 Likes
613

hello friends,

I have 2 questions on the dialog programming.

1. How can to create F1 help on particular input/output control?

2. I want to use a control for NOTES.

so, How can i display such a control with 3-4 line text area?

Regards,

RH

4 REPLIES 4
Read only

Former Member
0 Likes
523

>

> 1. How can to create F1 help on particular input/output control?

> 2. I want to use a control for NOTES.

> so, How can i display such a control with 3-4 line text area?

>

1. You need to do this at the data element level to to able to get the F1 help for a field on the screen, remember that the screen field should reference the data element too.

2. You will need to use the class CL_GUI_TEXTEDIT for using the text edit functionality.

Check this demo program SAPTEXTEDIT_DEMO_1 in your system

regards,

Advait

Edited by: Advait Gode on Feb 26, 2009 11:48 AM

Read only

Former Member
0 Likes
523

Hello,

u need F1 help in the data element leve .

Thank u,

santhosh

Read only

Former Member
0 Likes
523

Hi Ronny,

1. How can to create F1 help on particular input/output control?

2. I want to use a control for NOTES.

so, How can i display such a control with 3-4 line text area?

It is not necessary to create the help at the data element level. There is an event called PROCESS ON HELP-REQUEST in dialog programs which is trigerred when you press F1 on the input/output field. Thry the event.

For displaying text with 2-3 lines or more there could be many ways:

1. use popup: FM POPUP_WITH_TABLE_DISPLAY with the help contents formatted and entered in the table.

2. User Class CL_GUI_TEXTEDIT to display a text area.

Regards,

Prakash Pandey

Read only

Former Member
0 Likes
523

Thanks