2010 May 13 12:25 AM
Hello all,
We have technical program documentation that is created in transaction SDOCU. This technical documentation is currently called from the program documentation, via hyperlink, using the following SAPSCRIPT syntax:
/= <DS:CHAP.ZFAAU001_TECHDOC>Technical documentation</>
This is the structure and chapter names from SDOOCU:
Structure created:
"Z_PROG_DOC, Custom Program Documentation"
Chapter:
"ZFAAU001"
I have been looking, unsuccessfully, for a function module or method of a class that will allow me to display the documentation created in transaction SDOCU, using ABAP.
Does anybody know how to do this?
I tried debugging SDOCU to see if I can find the code I was looking for. I was not successful.
I'm displaying an OO editable ALV grid on a screen that is used for data entry. I have a custom ALV toolbar with a button for application help. When I click on this button I want to display the technical documentation created in transaction SDOCU.
Thanks
Bruce
Hello all,
We have technical program documentation that is created in transaction SDOCU. This technical documentation is currently called from the program documentation, via hyperlink, using the following SAPSCRIPT syntax:
/= <DS:CHAP.ZFAAU001_TECHDOC>Technical documentation</>
This is the structure and chapter names from SDOOCU:
Structure created:
"Z_PROG_DOC, Custom Program Documentation"
Chapter:
"ZFAAU001"
I have been looking, unsuccessfully, for a function module or method of a class that will allow me to display the documentation created in transaction SDOCU, using ABAP.
Does anybody know how to do this?
I tried debugging SDOCU to see if I can find the code I was looking for. I was not successful.
I'm displaying an OO editable ALV grid on a screen that is used for data entry. I have a custom ALV toolbar with a button for application help. When I click on this button I want to display the technical documentation created in transaction SDOCU.
Thanks
Bruce
2010 May 13 7:47 PM
This code called the document.
*>> display application help
*
call function 'DSYS_SHOW'
exporting
application = 'SO70'
dokclass = 'CHAP'
DOKLANGU = SY-LANGU
dokname = 'ZFAAU001_TECHDOC'
DOKTITLE = ' '
HOMETEXT = ' '
OUTLINE = ' '
VIEWNAME = 'STANDARD'
Z_ORIGINAL_OUTLINE = ' '
CALLED_FROM_SO70 = ' '
STRUCTURE_ID =
IMPORTING
APPL =
PF03 =
PF15 =
PF12 =
exceptions
class_unknown = 1
object_not_found = 2
others = 3
.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |