Skip to Content
0

Mail Forms link to incident fiori launchpad

Aug 03, 2017 at 03:50 PM

342

avatar image
Former Member

itsm.png

Hello Experts

We recently upgraded to SOLMAN 7.2 and I am trying to enhance our ITSM specific for the notifications for any changes on the incidents. I was able to create HTML mail forms and able to received the notification I was able to redirect the notification and link it to the incident direct to CRM_UI however that is not my goal

My goal is to have the link direct to the Incident Launchpad and not to the crm_ui

CRM_UI (when using below link it is working but this is pointing to the crm_ui)

https://host:port/sap/bc/bsp/sap/crm_ui_start/def ault.htm?sap-client=100&CRM-OBJECT-TYPE=AIC_OB_INCIDENT&CRM-OBJECT-ACTION=B&CRM-OBJEC T-VALUE=Service Request ID

Tried inserting the attribute "Service Request GUID" and added on the forms but the results is different from the actual URL when I access the incident though it give the correct GUID

005056BE6AE61ED79E8B8D60D49ADCB8 <<<<<<<< value without "-" hypen

Target URL (with the correct GUID)

https://hosts:ports/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-sec_session_created=X#Action-SMMyIncidents&/detail/MessageResultSet(guid'005056BE-6AE6-1ED7-8984-4B11BBC6DCB8') <<<<< on the actual data the GUID value has "-"


and when i inserted the
Service Request GUID attributs to the specific URL the results is below and it is giving error URL not found


https://hosts:ports/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-sec_session_created=X#Action-SMMyIncidents&/detail/MessageResultSet(guid'{Service%20Request%20GUID}')


Below is the coding as per the inserted attributes (see attached)


Support Incident Notification

Dear

We would like to inform you about an update in the 'Incidents' application that may be relevant to you.

Best Regards,

Your Support Team

- support Changed the status to 'in process'

Please Click 20ault.htm?sap-client=100&CRM-OBJECT-TYPE=AIC_OB_INCIDENT&CRM-OBJECT-ACTION=B&CRM-OBJEC%20T-VALUE=Service%20Request%20ID">here

Please click here




Please advise what would the best approach to redirect the link to the Launchpad

itsm.png (24.4 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

avatar image
Former Member Aug 04, 2017 at 09:41 AM
1

Hello Michael,

The variable for the GUID is "%SAP_CRMS_SRQM_GEN_FIELDS-CRM_SRQM_GUID"

So, try the following in your mail form and see if it works

https://hosts:ports/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-sec_session_created=X#Action-SMMyIncidents&/detail/MessageResultSet(guid'%SAP_CRMS_SRQM_GEN_FIELDS-CRM_SRQM_GUID')

If the above gives an error, try to put the GUID variable in double-Quotes (still keeping the single-quotes).

Please let me know if this works

thanx

Deepak

Show 3 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hello Deepak

Thank you for the response but unfortunately I have tried the suggestion but didn't work. it still give me HTTP request failed error

{"error":{"code":"0050569259751EE4BA9710043F8A5115","message":{"lang":"en","value":"In the context of Data Services an unknown internal server error occurred"},"innererror":{"transactionid":"1BD94D70F29A00D0E00595DA892E0D81","timestamp":"20170805145556.3129060","

I have tried adding below to the config below as per suggestion

The codes look like below

<p style="font-size: 12pt;"><font face="Courier New" size="3"><a href="https://hosts:ports/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-sec_session_created=X#Action-SMMyIncidents&/detail/MessageResultSet(guid'%SAP_CRMS_SRQM_GEN_FIELDS-CRM_SRQM_GUID')">hyperlink1</a> </font></p>

<p style="font-size: 12pt;"><font face="Courier New" size="3"><a href="https://hosts:ports/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-sec_session_created=X#Action-SMMyIncidents&/detail/MessageResultSet(guid'"%SAP_CRMS_SRQM_GEN_FIELDS-CRM_SRQM_GUID"')">H2</a> </font></p>

0
Former Member

Hello Deepak

additional comment, adding "%SAP_CRMS_SRQM_GEN_FIELDS-CRM_SRQM_GUID" was able to get the correct value for GUID however it giving different format (see screenshot)8-5-2017-11-16-59-pm.png the issue is that the formatting of the value is not match on the actual incident, from the screenshot the actual format something like xxxxx-xxxxxx-xxxx-xxxxxx but the format I get is xxxxxxxxxxxx

0
Former Member

Hi Michael,

Not sure... how the GUID is being formatted with the hyphens....

Could you get an ABAPer involved and ask him/her to debug to find the method/program and then maybe get some clues on how this can be achieved.

I'd also suggest to raise an OSS message to see if SAP can help...

Regards

Deepak

0
avatar image
Former Member Aug 04, 2017 at 02:14 AM
0

+1, Im interested too :))

Share
10 |10000 characters needed characters left characters exceeded
Welf Rüdiger Großekettler Sep 07, 2017 at 12:00 PM
0

Hello,

currently I am trying to achieve the same as OP.

The issue seems to be that: %SAP_CRMS_SRQM_GEN_FIELDS-CRM_SRQM_GUID creates the GUID without the "-" seperators, hence, the URL is not the same.

Any ideas how to proceed?

Best regards

Share
10 |10000 characters needed characters left characters exceeded
Anton Malaiko Jun 07 at 05:29 AM
0

hello, did you solve it?

Share
10 |10000 characters needed characters left characters exceeded