Application Development 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: 

I want to call internet explorer in my program ?

Former Member
0 Kudos
136

Hi friends,

I want to call internet explorer in my program ?

What is the procedure ?

Thanking you.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
78

Hello,

use FM

CALL FUNCTION 'CALL_BROWSER'

EXPORTING

URL = 'http://www.sap.com'

WINDOW_NAME = ' '

NEW_WINDOW = ' '

BROWSER_TYPE =

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.

3 REPLIES 3

Former Member
0 Kudos
79

Hello,

use FM

CALL FUNCTION 'CALL_BROWSER'

EXPORTING

URL = 'http://www.sap.com'

WINDOW_NAME = ' '

NEW_WINDOW = ' '

BROWSER_TYPE =

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.

venkat_o
Active Contributor
0 Kudos
78

Hi,

Create one transaction code ZHTML by giving program SAPHTML_DEMO1 and screen no 100. then execute your transaction.

then give any link and press enter.It works.

Regards,

Venkat.O

Former Member
0 Kudos
78

hi there..

the best way is to use FM Call_Browser

: e..g.

: Call Function CALL_BROWSER

: Exporting URL = 'http://gmail.com'

reward if helpful

tc

Edited by: Prem Sharma on Mar 27, 2008 6:29 AM