on 06-19-2013 12:23 PM
Hi there,
I have checked the following guide, since I wanted to create a direct link to an Incident or Service Request in a mail form:
https://wiki.sdn.sap.com/wiki/display/CRM/URL%27s+for+quick+access+to+WebUI
Direct access to an object
Parameters to add:
crm-object-type (for example BT126_APPT)
crm-object-action (A = search, B = display, C = Edit, D = create)
crm-object-value (= guid)
Example: http://<HOST>:<PORT>/sap/bc/bsp/sap/crm_ui_start/default.htm?sap-client=020&sap-language=EN&sap-domainRelax=min&crm-object-type=BT126_APPT&crm-object-action=B&crm-object-value=4CF536DA49750074E1008000097E28D5
Note: Such URL could be useful when it is included in an e-mail, for example to notify someone about a CRM object. Add the object type as defined in the navigation profile (OP mapping) together with the action and the GUID of the object.
It seems like it wont work without the CRM object type in the link, but that means I have to have multiple actions and mail forms. Since I would need one action and one mail form for both Service Request and Incidents.
Shouldnt the system be able to determine the object type from the object value / guid? Anyone has a solution to this?
Kindly Regards
Hi Nicolai,
In SOlman 7.1 , ITSM for SMIN and SMDT I saw some actions in action profile where it contains this feature already.
You can check the actions like Support determination and email .. In this they have implemented where it will have a direct link to the incident.
Please check the code in that action so that you will get some idea.
Thanks,
Jagadish.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nicolai,
the object type you can get with:
lr_mapping_srv = cl_crm_ui_object_mapping_srv=>get_instance( ).
" needed!!
lr_bol_core = cl_crm_bol_core=>get_instance( ).
lr_bol_core->start_up( iv_appl_name = 'BT'
iv_display_mode_support = abap_true ).
lv_ui_object_type = lr_mapping_srv->determine_ui_object_of_bor(
iv_bor_object_key = lv_bor_object_key
iv_bor_object_type = ls_orderadm_h-object_type
iv_logical_system = ls_orderadm_h-logical_system ).
With this code I'm creating the link to the ticket.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.