08-26-2009 12:07 PM
I would like to see the documentation maintained for an FM via a button on my module pool program. I would like to know how I can do that.
I can see documentation of a report with the following FM
call function 'DSYS_SHOW_FOR_F1HELP'
exporting
dokclass = 'RE'
dokname = sy-repid
short_text = 'X'
exceptions
others = 1.
or else we can use the FM docu_get as well.
But these are restricted to a Report or a module pool. How can I see the documentation of a Function module? is there any FM?
08-26-2009 12:51 PM
workbench documentations may be accessed via SE61 transaction. There you'll see the list of possible dokclass (FU for function modules).
08-26-2009 12:13 PM
you can try with this FM but you will need to create a other text with se61
CALL FUNCTION 'POPUP_DISPLAY_TEXT'
EXPORTING
LANGUAGE = SY-LANGU
POPUP_TITLE = P_TEXT_H01
START_COLUMN = 10
START_ROW = 3
TEXT_OBJECT = P_0471
HELP_MODAL = 'X'
* IMPORTING
* CANCELLED =
EXCEPTIONS
TEXT_NOT_FOUND = 1
OTHERS = 2.
You must create the document to be transferred as a document of the
class "Text in Dialog" with the Documentation Maintenance Transaction
(SE61).
08-26-2009 12:51 PM
workbench documentations may be accessed via SE61 transaction. There you'll see the list of possible dokclass (FU for function modules).