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

Adding a hyperlink to a Dynpro in screen painter

former_member498918
Participant
0 Likes
1,812

Is it possible to add a hyperlink to a screen in R/3 version 46C.

We have an on-line form for RTPs which contains a lot of information which isn't available in the SAP RTP screen. The easiest way for us to get this information to the purchasers would be to add a hyperlink from the RTP screen ( SAPLXM02 screen 0111 ) to the on-line form.

Many thanks

Karen

1 ACCEPTED SOLUTION
Read only

Peter_Inotai
Active Contributor
0 Likes
1,162

You can add a text field, which responds to double click, then in the PAI you can call cl_gui_frontend_services=>execute like this:

Peter

CALL METHOD cl_gui_frontend_services=>execute

EXPORTING

document = gv_docu_url

maximized = c_flagged

EXCEPTIONS

cntl_error = 1

error_no_gui = 2

bad_parameter = 3

file_not_found = 4

path_not_found = 5

file_extension_unknown = 6

error_execute_failed = 7

OTHERS = 8 .

IF sy-subrc <> 0.

MESSAGE.

ENDIF.

You can add a text field, which responds to double click, then in the PAI you can call cl_gui_frontend_services=>execute like this:

Peter

CALL METHOD cl_gui_frontend_services=>execute

EXPORTING

document = gv_docu_url

maximized = c_flagged

EXCEPTIONS

cntl_error = 1

error_no_gui = 2

bad_parameter = 3

file_not_found = 4

path_not_found = 5

file_extension_unknown = 6

error_execute_failed = 7

OTHERS = 8 .

IF sy-subrc <> 0.

MESSAGE.

ENDIF.

4 REPLIES 4
Read only

former_member189629
Active Contributor
0 Likes
1,162

HI Karen

When an Internet user requests an ITS service by clicking on a URL hyperlink or keying in a URL address in a Web browser to run a IACEWT, the request is processed as follows:

1. The Web browser passes the request to the Web server.

2. The Web server calls the server-specific ITS extension WGate - WGate is the link between the ITS and the Web server. WGate is a Web server extension that encapsulates the various supported HTTP server interfaces such as: CGI (Common Gateway Interface), NSAPI (Netscape Server Application Programming Interface), ISAPI (Internet Server Application Programming Interface) in a transparent manner that passes the requested data to the ITS AGate component.

3. WGate forwards the request to the ITS server process called AGate (which may or may not reside on the same machine.)

4. AGate is the link between the ITS and the SAP R3 application server. AGate is the core processing component of the ITS. It receives Web browser request from WGate and communicates with the SAP R3 application server via the DIAG or RFC protocol.

5. AGate then processes the requests, and sends all relevant details (including logon information) to the SAP R3 system, which either starts the first dialog step of a new transaction of submits further data for the next dialog step of a transaction already started.

6. SAP R3 starts the transaction for the service requested and sends the screen output to AGate.

7. When the dialog step has finished, AGate retrieves the result from SAP R3, and is responsible for session management, including mapping of SAP R3 screen or function modules to HTML, web session timeout handling, SAP R3 connection management and generation of HTML documents that are sent back to the Web browser client.

8. AGate forwards the formatted HTML page to WGate.

9. WGate forwards the formatted HTML page to the Web server.

10. The Web server sends the formatted HTML page to the Web browser, where it can be viewed by the user.

The ITS is downward compatible, therefore the ITS release must be the same or higher than the SAP R/3 kernel release.

The above info is from the link: http://www.sap-img.com/bc047.htm

Check it out for more info

If you find it useful, please reward me for the same.

Good luck

Karthik Potharaju

Read only

Peter_Inotai
Active Contributor
0 Likes
1,163

You can add a text field, which responds to double click, then in the PAI you can call cl_gui_frontend_services=>execute like this:

Peter

CALL METHOD cl_gui_frontend_services=>execute

EXPORTING

document = gv_docu_url

maximized = c_flagged

EXCEPTIONS

cntl_error = 1

error_no_gui = 2

bad_parameter = 3

file_not_found = 4

path_not_found = 5

file_extension_unknown = 6

error_execute_failed = 7

OTHERS = 8 .

IF sy-subrc <> 0.

MESSAGE.

ENDIF.

Read only

0 Likes
1,162

Thank you to everyone who replied.

A button and the code from Peter did the trick.

Thanks again

Karen

Read only

Former Member
0 Likes
1,162

Hi Karen,

I think Peter's solution solves your issue.

YOu can also use the FM <b>call_browser</b> to open a link.

Regards,

Ravi