cancel
Showing results for 
Search instead for 
Did you mean: 

Mail Forms link to incident fiori launchpad

0 Kudos

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)

<HTML><head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> </head> <body id="CRMMAIL-TRACKING_GUID" style="font-family: "Courier New";"> <form> <p style="font-size: 12pt;"><br></p> <p style="font-size: 12pt;"><strong><font color="#003399" face="Arial" size="5">Support Incident Notification</font></strong></p> <p style="font-size: 12pt;"><font face="Arial">Dear</font> <input id="%SAP_CRMS_SRQM_GEN_FIELDS-CRM_SRQM_REP_FIRST" dir="ltr" value="Reporter First Name"><input id="%SAP_CRMS_SRQM_GEN_FIELDS-CRM_SRQM_REP_LAST" dir="ltr" value="Reporter Last Name"></p> <p style="font-size: 12pt;"><font face="Arial">We would like to inform you about an update in the 'Incidents' application that may be relevant to you.</font></p> <p style="font-size: 12pt;"><font face="Arial">Best Regards,</font></p> <p style="font-size: 12pt;"><font face="Arial">Your Support Team</font></p> <p style="font-size: 12pt;"><input id="%SAP_CRMS_SRQM_GEN_FIELDS-CRM_SRQM_NUMBER" dir="ltr" value="Service Request ID"><span style="font-size: 12pt;"> </span><input id="%SAP_CRMS_SRQM_GEN_FIELDS-CRM_SRQM_DESC" dir="ltr" value="Description"><strong style="font-size: 12pt;">- <font face="Arial"> support Changed the status to 'in process'</font></strong></p> <p style="font-size: 12pt;">Please Click <font face="0" size="4"><a href=""https://hosts:ports/sap/bc/bsp/sap/crm_ui_start/def%20ault.htm?sap-client=100&CRM-OBJECT-TYPE=AIC_OB_INCIDENT&CRM-OBJECT-ACTION=B&CRM-OBJEC%20T-VALUE=Service%20Request%20ID">here</a> </font></p> <p style="font-size: 12pt;"><input id="%SAP_CRMS_SRQM_GEN_FIELDS-CRM_SRQM_GUID" dir="ltr" value="Service Request GUID"></p> <p><span style="font-size: 12pt;">Please click </span> <font face="0" size="4"><a href="https://host:ports/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-sec_session_created=X#Action-SMMyIncidents&/detail/MessageResultSet(guid'{Service%20Request%20GUID}')">here</a> </font></p> <p style="font-size: 12pt;"><font face="Courier New" size="3"> <b> </b></font><br></p> <p style="font-size: 12pt;"><br></p> <p style="font-size: 12pt;"><br></p> </form> </body></HTML>

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

0 Kudos

You need attribute in mail form #LINK# see attachment, for more information. link.jpg and html-link.jpg

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member

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

0 Kudos

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 Kudos

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

Former Member
0 Kudos

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

BigWheel
Explorer
0 Kudos

Update:

The solution is as follows:

1. #LINK# is the right variable for the mailform.

2. The calling action has to offer parameter for an active FIORI setting.

3. If you want to have the URL to be generated with another URI instead of the host IP or similar then table httpurlloc has to be worked on for reverse proxy on UI2 and UI5 SICF url structure to be mapped then with the outside world URL.

You're welcome!

## old

Hi Anton,

I would be very interested in that "simple solution" since

https://host:port/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-sec_session_created=X#Action-SMMyIncidents&/detail/MessageResultSet(guid'12345678-1234-1234-1234-012345678912')

does not work here.

Kind regards

0 Kudos

Dear All, issue resolved ?

resolve, use #LINK# in mail form!

WRG
Discoverer

Hello.

If I use #LINK# in my mail form the generated link points towards the CRM ui and not FIORI.

How did you get it to generate a FIORIlink?

0 Kudos

it's realy works with simple solution... Thank you!

malaton
Explorer
0 Kudos

hello, did you solve it?

WRG
Discoverer
0 Kudos

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

Former Member
0 Kudos

+1, Im interested too :))