‎2008 Jun 12 7:55 AM
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
‎2008 Jun 12 8:24 AM
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.
‎2008 Jun 12 8:09 AM
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
‎2008 Jun 12 8:12 AM
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
‎2008 Jun 12 8:13 AM
‎2008 Jun 12 8:24 AM
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.
‎2008 Jun 12 8:28 AM
‎2008 Jun 12 8:31 AM
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
‎2008 Jun 12 8:38 AM
No, I dont think you can do that without Table Name.
You must provide table name as parameter
‎2008 Jun 12 8:30 AM
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