Prerequisites
To enable this functionality, http access to your ABAP system needs to be activated.
For more information, see the chapter "Activating ICF Services in Development
Systems" in the corresponding Configuration Guide for Configuring the ABAP Back-end for
ABAP.
Otherwise, the HTTP Link functionality is deactivated in the share link dialog.
Figure 1:
Dialog where the HTTP Link functionality is not available due to missing
http access activation
This functionality is provided in SAP NetWeaver 7.4 SP08 and higher
as well as in 7.31 SP14 and higher.
Context
You can initiate the creation of a hyperlink that refers to a specific development
object. The receiver can then open the ABAP source code of the development object in
a Web browser.
For this purpose, you can generate an email where the hyperlink path is added or
paste it from the clipboard manually into any document.
Limitations
Http links are available for the following development objects:
- ABAP programs
- ABAP includes
- ABAP function groups
- ABAP function group includes
- ABAP function modules
- ABAP classes
- ABAP interfaces
Procedure
- In the Project Explorer , select the development
object.
- In the context menu, select the Share Link... entry.
- In the Share Link dialog, select HTTP
Link.
- Choose Email link to generate an email from your default email
client.
An email is opened that contains a generated header and the hyperlink.
- [Optional:] Choose the Copy link to clipboard button and
paste the link into any document.
The hyperlink path is then saved in temporary storage. If you paste it, the
path is added as text in your document or editor.
Results
Example
The following example displays a hyperlink of a specific ABAP class that is opened in
a specific ABAP system:
https://app.server:44300/sap/bc/adt/oo/classes/cl_gui_alv_grid/source/main
Note The following prerequisites apply in order to be able to open the
hyperlink:
- In order to display the ABAP source code of the linked development object in
HTML, you need to install a Web browser or a text editor.
- A hyperlink handler defines the application that is launched when a
hyperlink is opened. This means you have to define a Web browser application
where you want to open the development object.
- It might be necessary to make the pasted hyperlink click-sensitive. To do
this, edit the hyperlink reference.