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

Doubt : F1 Help

Former Member
0 Likes
883

Hi friends,

I want to incorporate F1 help in Module pool programming for input field called mat1.

How can i use this FM for it.Pls explain.

CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD'

EXPORTING

DOKLANGU = SY-LANGU

DOKTITLE = TEXT-002

CALLED_FOR_TAB = 'DEMOF1HELP'

CALLED_FOR_FIELD = 'FIELD1'.

Thanksm

Gaurav

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
855

It gives the documentation maintained for that dataelement.

Suppose you want to show documentation of MATNR

CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD'

EXPORTING

DOKLANGU = SY-LANGU

DOKTITLE = TEXT-002

CALLED_FOR_TAB = 'MARA'

CALLED_FOR_FIELD = 'MATNR'.

If you want it for your own dataelement, you must create the documentation first in SE11 for that dataelement.

8 REPLIES 8
Read only

Former Member
0 Likes
855

hi,

you can just go through the documenation of he function module if it's not available

go through the sap help documentation under

ABAP PROGRAMMING

USER_DIALOGS

SCREENS

SCREEN ELEMENTS

PROCESSING LOGIC

INPUT HELPS, FIELD HELPS

here u will get he explanation of how o get f1 help for a particular field

hope it is useful

if useful reward poins

Read only

Former Member
0 Likes
855

In the screen flow logic,

PROCESS ON HELP-REQUEST.

FIELD mat1 MODULE help_mat1.

Inside Module help_mat1, you can write your code and call that FM

Read only

0 Likes
855

hi,

I want info about the FM parameters..

Thanks,

Gaurav

Read only

Former Member
0 Likes
856

It gives the documentation maintained for that dataelement.

Suppose you want to show documentation of MATNR

CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD'

EXPORTING

DOKLANGU = SY-LANGU

DOKTITLE = TEXT-002

CALLED_FOR_TAB = 'MARA'

CALLED_FOR_FIELD = 'MATNR'.

If you want it for your own dataelement, you must create the documentation first in SE11 for that dataelement.

Read only

0 Likes
855

THANKS ALOT..

points awarded...

Read only

0 Likes
855

hi,

If i added a data element zabcd..But now it does not point to any table..Then wat should be my parameters for the FM.

Thanks,

Gaurav

Read only

0 Likes
855

No, I dont think you can do that without Table Name.

You must provide table name as parameter

Read only

Former Member
0 Likes
855

hi,

If i added a data element zabcd and it does not correponds to any table..

Then wat should be my FM para?

Thanks,

Gaura

Edited by: Gaurav Kumar on Jun 12, 2008 1:01 PM