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

FM: HELP_OBJECT_SHOW

Former Member
0 Likes
1,752

can any one plz tell me how the FM help_object_show works and its parameters in details

regards

nilesh

1 REPLY 1
Read only

Former Member
0 Likes
895

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.