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

open email

Former Member
0 Likes
731

hello,

I hav a really absurd requirement.

im working on a screen program,now the client want when the user clicks on a specific button an explorer should open up with gmail.com.

also is it possible that v can give user name and password to gmail through sap.

i really dont knw if SAP supports somethin like this, can v do it using objects

hello,

I hav a really absurd requirement.

im working on a screen program,now the client want when the user clicks on a specific button an explorer should open up with gmail.com.

also is it possible that v can give user name and password to gmail through sap.

i really dont knw if SAP supports somethin like this, can v do it using objects

4 REPLIES 4
Read only

Former Member
0 Likes
673

Hi Amit,

Use FM CALL_BROWSER to open a link.

You can also do in this way

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:

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.

Regards,

Satish

Read only

0 Likes
673

can u pls elaborate the solution you have given me,i would be more than greatfull

Read only

0 Likes
673

Hi,

Write this code in PAI of the screen.

call method cl_gui_frontend_services=>execute

exporting

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

exceptions

others = 1.

Regards,

Satish

Read only

0 Likes
673

thanks for ur answer, is there any way that v can pass user name and password also

Edited by: Amit Sawant on Jan 9, 2008 5:58 AM