‎2006 Nov 10 4:29 AM
can any one plz tell me how the FM help_object_show works and its parameters in details
regards
nilesh
‎2006 Nov 10 4:33 AM
ex---
You can find out the identifier of the help text (F1 help) defined for a field in the ABAP Dictionary using the HELP-ID addition:
DESCRIBE FIELD <f> HELP-ID <h>.
If the field <f> is defined with reference to a data type from the ABAP Dictionary, the statement writes the help text ID into the variable <h>. You can use the ID in a suitable function module to display the help text.
DATA: company TYPE s_carr_id,
h(20) TYPE c,
tlink TYPE TABLE OF tline.
DESCRIBE FIELD company HELP-ID h.
CALL FUNCTION 'HELP_OBJECT_SHOW'
EXPORTING
dokclass = 'DE'
doklangu = sy-langu
dokname = h
TABLES
links = tlink
EXCEPTIONS
object_not_found = 1
sapscript_error = 2
others = 3.
IF sy-subrc <> 0.
...
ENDIF.In this program, the field H receives the name of the data element S_CARR_ID. The function module HELP_OBJECT_SHOW displays the documentation for the data element in a dialog box.