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

Program Documentation Maintained ?

Former Member
0 Likes
1,032

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
742

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.

3 REPLIES 3
Read only

Former Member
0 Likes
743

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.

Read only

Former Member
0 Likes
742

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.

Read only

0 Likes
742

Thanks Prakash,

Your answer helped me alot.