cancel
Showing results for 
Search instead for 
Did you mean: 

Send URL from R/3 inbox message

Former Member
0 Kudos

Have a quick question – We are looking into using a Webdynpro application to process workflow for requisitions release strategy. I have workflow working on R/3 side and am using ABAP program RSWUWFML2 to send R/3 inbox workitems to outlook email but the problem I have is sending an URL in the email message. This program is designed to send link to SAP workitem.

Is there an easy way to send email message based on workitems that contains a URL. This URL will point to a Webdynpro app

- Keith

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Keith,

are you working with WAS 6.40-> and/or are you using the Universal Worklist to host the work items?

If you don't have the UWL, you need the link to directly point to the WD application. Based on your design approach, you then either need the object key or the work item ID as import parameters for the WD application.

A good way I think to make this happen is to have a separate email send step in the workflow before the task. In this step, you can include a link pointing to the web dynpro app with the required parameters in the task description.

If you however have the UWL in place, I suggest you use extended notifications (http://help.sap.com/saphelp_nw04/helpdata/EN/d5/581ee8d56f1247bf34cfcd66d16d81/frameset.htm) instead of RSWUWFML2 to achieve this. With it, you can directly make the link point to the work item ID. From there on, you can make it UWL's responsibility to launch the WD app properly (use SWF_VISU or manual config to define the action handlers).

But to summarize, I don't think RSWUWFML2 is a good option regardless if you're on was6.40-> or not. If you have an older system, you can't use it to include the WD params. And if you're on it, extended notifications do the trick better.

Hope this helps,

Mikko

Former Member
0 Kudos

Hello Mikko,

We are on 4.6c right now and UWL has been looked at in our portal environment but we have not implented.

FYI - The driver for using a WD application in this scenario rather than using SAP shortcut attachment in the emails generated by RSWUWFML2 is to allow user to approve multiple workitems at once rather than each workflow item (ie req item indiviudually. The idea is to send one email and allow user to approve all items at once using WD application.

Appreciate your feedback. I am going to check into UWL and see when we plan to implement

Keith

Former Member
0 Kudos

Hi Keith,

ok no problem, you can do this without UWL as well.

Could you also tell what parameters you are passing to the WD app? Is it just a general application which digs up the data from the backend by itself?

If you don't need to pass any dynamic parameters to it, the RSWUWFML2 approach with a static link should do the trick. Just add the link to the message created by the report and the users can then launch the application as required.

If you however need to pass values (like a work item/object ID) to the application, then you'd need to create a separate mail step where you create the message containing the formatted link.

Best regards,

Mikko