2006 Feb 28 6:12 AM
hi friends ..
in dynpro screen i take a field t001w-werks.
i want f1 help for that.
i write followin fm in POH.
CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD'
EXPORTING
DOKLANGU = SY-LANGU
DOKTITLE = text-001
CALLED_FOR_TAB = 'T001W'
CALLED_FOR_FIELD = 'WERKS'.
break-point.
i want the text written in text-001 to be displayed during f1 help. but when i press f1 standard help of werks came.
2006 Feb 28 6:35 AM
Hi Madan,
it is obviously gives the standard F1help,if you want to give your own tablename , and fieldname .
CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD'
EXPORTING
DOKLANGU = SY-LANGU
DOKTITLE = text-001
CALLED_FOR_TAB = <b>'T001W'</b>
CALLED_FOR_FIELD = <b>'WERKS'.</b>
regards
vijay
hi friends ..
in dynpro screen i take a field t001w-werks.
i want f1 help for that.
i write followin fm in POH.
CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD'
EXPORTING
DOKLANGU = SY-LANGU
DOKTITLE = text-001
CALLED_FOR_TAB = 'T001W'
CALLED_FOR_FIELD = 'WERKS'.
break-point.
i want the text written in text-001 to be displayed during f1 help. but when i press f1 standard help of werks came.
2006 Feb 28 6:15 AM
2006 Feb 28 6:21 AM
2006 Feb 28 6:25 AM
Hi,
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbad0435c111d1829f0000e829fbfe/content.htm
Also Just check out this program:
DEMO_DYNPRO_F1_HELP
Best Regards,
Anjali
2006 Feb 28 6:31 AM
Hi Madan,
Hope its correct... Any way have a look in the below mentioned standard program. u may find some sol.
DEMO_DYNPRO_F1_HELP
Thanks
eswar
2006 Feb 28 6:25 AM
hi,
check these demo programs..
<b>DEMO_DYNPRO_F1_HELP
DEMO_SELECTION_SCREEN_F1</b>
Regards
vijay
2006 Feb 28 6:25 AM
HI Madan
try including
CALLED_BY_DYNP exporting parameter
regards
kishore
2006 Feb 28 6:33 AM
YES I HAVE ALREADY OPEN DEMO_DYNPRO_F1_HELP..STILL IT IS NOT COMING..
INTERESTINGLY IN DEMO_DYNPRO_F1_HELP F1 HELP IS NOT COMING PROPERLY.
FOR FIELD3 ...TEXT ELEMENT'S TEXT IS NOT COMING...
...
2006 Feb 28 6:30 AM
2006 Feb 28 6:35 AM
Hi Madan,
it is obviously gives the standard F1help,if you want to give your own tablename , and fieldname .
CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD'
EXPORTING
DOKLANGU = SY-LANGU
DOKTITLE = text-001
CALLED_FOR_TAB = <b>'T001W'</b>
CALLED_FOR_FIELD = <b>'WERKS'.</b>
regards
vijay
2006 Feb 28 6:44 AM
Hi madan,
you can use this FM 'HELP_DOCULINES_SHOW' also...
PROCESS ON HELP-REQUEST.
FIELD P_VBELN MODULE HELP_F1_VBELN.
MODULE HELP_F1_VBELN.DATA: HELPINFO LIKE HELP_INFO.
DATA: LONGTEXT LIKE TLINE OCCURS 1 WITH HEADER LINE.
DATA: EXCLUDEFUN LIKE SY-UCOMM OCCURS 1 WITH HEADER LINE.
longtext-tdline = 'Sales Order test help'.
append longtext.
CALL FUNCTION 'HELP_DOCULINES_SHOW'
EXPORTING
CUCOL = 10
CUROW = 3
HELP_INFOS = HELPINFO
LINENR = 1
TABLES
EXCLUDEFUN = EXCLUDEFUN
HELPLINES = LONGTEXTENDMODULE. " help_f1_VBELN INPUTRegards
vijay
2006 Feb 28 6:57 AM
THANKS VIJAY BABU..YOU ARE GR8.
THIS IS WHAT I WANT ...
I JUST CHANGE longtext-tdline = TEXT-001. IN UR CODE AND MY WORK GOT DONE.
REGARDS.
2006 Feb 28 6:54 AM
When you use your code
CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD'
EXPORTING
DOKLANGU = SY-LANGU
DOKTITLE = text-001
CALLED_FOR_TAB = 'T001W'
CALLED_FOR_FIELD = 'WERKS'.
only the text in text-001 will come as title of the standard popup help.
instead if you want your custom help written in text-001 to come for F1 on POH call a popup function to display the text in text-001.
This FM may be used in this case
POPUP_TO_DISPLAY_TEXT
Regards
Raja
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |