2013 Jan 09 2:03 PM
Hello friends,
I developed a screen which has an output field that contains a web-link (http://xxx.com/yyyyy). The point is thar user wants to "click" on that link and access it.
Do you know if exists any property for doing that?
Thanks and regards!
Marce.
Hello friends,
I developed a screen which has an output field that contains a web-link (http://xxx.com/yyyyy). The point is thar user wants to "click" on that link and access it.
Do you know if exists any property for doing that?
Thanks and regards!
Marce.
2013 Jan 09 5:19 PM
SAPHTML_DEMO1 this is the standard SAP delivered program with which we can browse web links. May be you can get some idea with this program.
Regards
VEnk@
2013 Jan 10 5:59 AM
Suppose input field name is TEST_URL
in PAI you can check for the sy-ucomm or ok-code and then use following FM
CALL FUNCTION 'CALL_BROWSER'
EXPORTING
URL = TEST_URL.
Or
case sy-ucomm.
when 'TEXT'.
CALL FUNCTION 'CALL_BROWSER'
EXPORTING
URL = 'WWW.SDN.SAP.COM'
WINDOW_NAME = ' '
NEW_WINDOW = ' '
BROWSER_TYPE = BROWSER_TYPE
CONTEXTSTRING = CONTEXTSTRING
EXCEPTIONS
FRONTEND_NOT_SUPPORTED = 1
FRONTEND_ERROR = 2
PROG_NOT_FOUND = 3
NO_BATCH = 4
UNSPECIFIED_ERROR = 5
OTHERS = 6
.
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 |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |