on 01-28-2011 9:17 AM
Hi,
I create Business Contacts with BAPI_BCONTACT_CREATEFROMDATA from an external application.
Is it possible to add a URL to this contact, that can be opened from the SAP GUI?
Our customer uses the native windows sap gui. The browser should open and load the
URL if you click on the it.
Any hints how this could be done?
Thomas
Hi,
Here is a demo.
CALL METHOD cl_gui_frontend_services=>execute
EXPORTING
document = 'http://www.sap.com'
operation = 'OPEN'
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
synchronous_failed = 8
not_supported_by_gui = 9
others = 10
.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.
hope this helps u.,
Thanks & Regards,
Sukai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
the class cl_gui_frontend_services can help you.
please read the documentation of this class.
best regards
Sven
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can create a role and add an URL to it's menu. There are a number of different types of URLs offered. The URL menu item is under "Other".
A.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.