2008 Jan 08 1:35 PM
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
2008 Jan 08 1:42 PM
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
2008 Jan 08 2:05 PM
can u pls elaborate the solution you have given me,i would be more than greatfull
2008 Jan 08 2:20 PM
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
2008 Jan 08 2:45 PM
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
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |