How to insert a hyperlink in ABAP documentation
In SE38 you can create your own online documentation. I want to insert a hyperlink in this documentation so that when the user clicks the 'I' icon, he can click directly on the hyperlink in the documentation.
In my research I found that when you are editing the documentation, you must choose Insert -> Link. Once I click that, I get a popup asking for the following fields:
"Field based on what Document Class is chosen":
Name in Document:
Does anyone know what I need to fill in those fields?
Sandra Rossi replied
I don't see why you couldn't do it. Up to now, everything you said makes sense to me.
If your URL works from your web browser, then it will work by clicking the hyperlink from the program documentation, by first creating the 2 function modules.
In function module XXXX_OBJECT_SHOW (replace XXXX with your own document class, ZSOL for example), instead of A1, maybe you can use the LOIO (in your example: 0696394D0A59C252E10000000AC113C3), which is 32 characters long, to build the URL.
For example :
CONCATENATE 'http://mdsxaork0.erp2.test.com:08000/sap/bc/solman/SolmanDocuments/400?_CLASS=SOLARGEN&_LOIO=' dokname '&LANGUAGE=EN&RELEASE=620&IWB_INDUSTRY=/KWCUST/&TMP_IWB_TRY_OTHER_LANG=X' '&TMP_IWB_TRY_OTHER_IND=X&TMP_IWB_TASK=PREVIEW2&' INTO l_url.
and in your documentation :
<DS:XXXX.0696394D0A59C252E10000000AC113C3>SOLMAN documentation</ >
Hope it's clear. Tell me if I missed something.