‎2009 Aug 12 9:01 AM
Hi there forum fellows,
I'd like to ask about program documentation which I'm able to create in SE38 (radio button 'Documentation')
1) How can I display the the documentation window from code? I mean which function module should I use to make eg.
IF (okcode = 'INFO') .
display documentation .
ENDIF .
2) When I display the documentation in program there is a string "Report: (reportname)" in the first line, whilst that string is not visible it the documentation-edit mode. How can I get rid of that first line not to be displayed in documentation window?
I will be thankful for help and tips. Greetings. P.
‎2009 Aug 12 9:14 AM
‎2009 Aug 12 9:10 AM
CALL FUNCTION 'DSYS_SHOW_FOR_F1HELP'
EXPORTING
DOKCLASS = 'RE'
DOKNAME = REPORT_NAME
SHORT_TEXT = 'X'
EXCEPTIONS
OTHERS = 1.
‎2009 Aug 12 9:11 AM
1) For your first requirement you may use call transaction SE38 and skip first screen.
2) The first line of the documentation is actually the title maintained in the program attributes. Since the title is a mandatory field, you cannot remove it. You may only change it to something more suitable.
‎2009 Aug 12 9:14 AM
‎2009 Aug 12 9:16 AM
Hi
If you create a documention it will just be available in selection-screen: if you press the icon for INFO it will be shown us the documentation.
So u shouldn't need to develop your own code to manage it.
If you need to show the documentation after running the report, there are fm like HLP_DOCULINES_SHOW in order to show it
2. I suppose the system uses it to write the description of the report
Max