‎2006 Sep 01 6:28 PM
Hi,
Please let me know How to find out whether documentation maintained for the program or not?
Most probably I am expecting table name.
My requirement is to show in the report that for a particular program documentation is maintained or not.
Thanks,
Vinay.
‎2006 Sep 01 6:50 PM
Use the FM:
<b>SRTU1_GET_REPORT_DOCUMENTATION</b>
Pass the language.
And in the tables IT_REPORTS pass the report name.
IF ET_DOCUS is initial. There is no documentatin for that report. Else documentation is found.
Or inside that FM SAP is using a FM <b>DOCU_INIT</b>. It is very simple.
CALL FUNCTION 'DOCU_INIT'
EXPORTING
id = 'RE'
langu = id_langu
object = ld_object
typ = 'E'
IMPORTING
found = ld_docu_found
xdokil = ls_dokil.
in LD_OBJECT they are passing the report name.
If LD_DOCU_FOUND is not initial, then there is no documentation for that report.
Regards,
Prakash.
‎2006 Sep 01 6:50 PM
Use the FM:
<b>SRTU1_GET_REPORT_DOCUMENTATION</b>
Pass the language.
And in the tables IT_REPORTS pass the report name.
IF ET_DOCUS is initial. There is no documentatin for that report. Else documentation is found.
Or inside that FM SAP is using a FM <b>DOCU_INIT</b>. It is very simple.
CALL FUNCTION 'DOCU_INIT'
EXPORTING
id = 'RE'
langu = id_langu
object = ld_object
typ = 'E'
IMPORTING
found = ld_docu_found
xdokil = ls_dokil.
in LD_OBJECT they are passing the report name.
If LD_DOCU_FOUND is not initial, then there is no documentation for that report.
Regards,
Prakash.
‎2006 Sep 01 7:22 PM
These are the some of the tables where u can see the documentation of the program.
DOKHL - Documentation: Headers
DOKTL - Documentation - text lines
DOKIL - Index for Documentation Table DOKH
Regards,
Prakash.
‎2006 Sep 01 7:34 PM