‎2009 Feb 26 10:42 AM
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
‎2009 Feb 26 10:48 AM
>
> 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
‎2009 Feb 26 10:51 AM
Hello,
u need F1 help in the data element leve .
Thank u,
santhosh
‎2009 Feb 26 10:56 AM
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
‎2009 Mar 03 9:48 AM