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 not coming

Former Member
0 Likes
1,705

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,559

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.

12 REPLIES 12
Read only

Former Member
0 Likes
1,559

Madan..have u defined the text element for 001.

Read only

0 Likes
1,559

yes i have defined test element and saved that one...

Read only

0 Likes
1,559

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

Read only

0 Likes
1,559

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

Read only

Former Member
0 Likes
1,559

hi,

check these demo programs..

<b>DEMO_DYNPRO_F1_HELP

DEMO_SELECTION_SCREEN_F1</b>

Regards

vijay

Read only

Former Member
0 Likes
1,559

HI Madan

try including

CALLED_BY_DYNP exporting parameter

regards

kishore

Read only

0 Likes
1,559

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...

...

Read only

hymavathi_oruganti
Active Contributor
0 Likes
1,559

try using

POPUP_TO_DISPLAY_TEXT fn module

Read only

Former Member
0 Likes
1,560

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

Read only

0 Likes
1,559

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               = LONGTEXT
ENDMODULE. " help_f1_VBELN INPUT

Regards

vijay

Read only

0 Likes
1,559

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.

Read only

athavanraja
Active Contributor
0 Likes
1,559

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