Skip to Content
Author's profile photo Former Member

Enhancing the Unified Inbox

Following the recent webinar on the soon to be released My Inbox which is intended to be a replacement for the Unified Inbox and Fiori Approve Requests, I thought it would be an opportune time to demonstrate the lost potential of what the Unified Inbox could have become if it were developed further or at least what is possible by enhancing it yourself.

The truth is we have all been longing for the long overdue “perfect inbox” and the reality is that as much as we would like to have a one size fits all inbox, it just doesn’t work that way, all users have different needs and all customers have different requirements. That’s not to say we expect 10 different versions of an inbox, but 1 just won’t cater for every one. 

Imagine a sock manufacturer made 1 size of socks for all their Customers. It may fit some perfectly and others a bit, but not quite comfortably. Then some customers it would simply not fit at all. But just like some sock manufacturers may make 2 sizes, 5-8 and 9-12. So should we  have 2 versions of the inbox. One which is “mobile first” and the other which is “desktop first”. Sure you can probably run the desktop one on a tablet and the tablet one on a desktop. But neither will feel optimised in the others’ environment.

That brings on my debate, is the “mobile first” approach sufficient for all users and scenarios as the only option?

I have recently been spending  a significant amount of time analysing the SAP Standard inbox options as per my document here: Workflow Inbox Feature Comparison Matrix. Followed by the decision to go with SAP’s new and widely unadopted Unified Inbox, as explained in my blog here: Journey into the Unified Inbox.

One of the biggest attractions of the Unified Inbox was it’s extensibility due to the way it has been designed as a UI5 component and the extensibility of the Process Gateway Task Processing service by redefining the Netweaver Gateway service. This was all made possible by new functionality as of SAP Netweaver Gateway SP08 which allows you to redefine a SAP standard service and overwrite the base service, as shown in this blog: Extending a service using the Gateway Service Builder. What this does is it allows you to redefine the service and access the redefined service via the original SAP standard URL. This is particularly useful in Enhancing the Unified Inbox as the standard Unified Inbox Component refers to the SAP standard TASKPROCESSING service.

The reality was that no inbox met 100% of our needs on the project. However the Unified Inbox was most certainly the closest and given the way in which it can be extended without ugly Z copies of the SAP standard application and Gateway service, this was a big advantage. It means we inherit all SAP bug fixes and improvements automatically. Although improvements no longer seem likely with the recent news that the Unified Inbox won’t be developed further. Sad news I believe as I really thought SAP were going in the right direction with the Unified Inbox.

Here is a summary the enhancements we made to make it fit our needs:

  • Preview pane – a feature which is available in the UWL, POWL Inbox and SBWP, seemed to have just been missed out in the Unified Inbox. I believe the explanation for this is that the stream view is supposed to replace the need for this, as well as the ability to open the Task details either in a new tab or in a pop-up view which covers the inbox.
  • Attachments in the main view, not through Stream View
  • Comments in the main view, not through the Stream View
  • Linked Objects – with the ability to launch the transaction linked to the linked object via OBN (Object Based Navigation)
  • Workflow Log / Processing Log
  • Custom Forwarding – restricted forwarding list of agents
  • Outbox – My Forwarded Tasks list and My Requests / Workflows Started by me.

The Standard Unified Inbox Component embedded in a custom UI5 Application

001.PNG

Custom Task Details UI5 Component (Preview pane) embedded in custom UI5 Application

By using the attachTaskSelectionChange function in the Inbox Control API you can register an event handler to know which task to load in the work item preview pane below.

002.PNG

Created By Agent Details

003.PNG

Attachments Upload and Display

Uses standard functionality in the TASKPROCESSING Gateway service.

004.PNG

Comments Create and Display

Uses standard functionality in the TASKPROCESSING Gateway service.

005.PNG

Linked Objects

Displays the linked objects for the task and allows the user to navigate to the linked Object using OBN (Object Based Navigation). In NWBC client this will open up the SAP GUI and in NWBC for HTML this will open up the webgui.

This required a new custom Entity set in the redefined version of the TASKPROCESSING Gateway service.

006.PNG

Workflow Log / Processing Log

This required new custom Entity sets in the redefined version of the TASKPROCESSING Gateway service.

007.PNG

Forward Task

Custom forwarding which returns a restricted list of agents to forward to:

009.PNG

Outbox – Tasks Forwarded by Me and Started by me (My Requests)

This adds in outbox functionality and allows the user to view tasks they have forwarded and their current status and Workflows they created (My Requests)

008.PNG

Outbox view at workflow header level with only workflow log shown

outbox.PNG

This is not meant to be a tutorial on how to enhance the Unified Inbox, but rather a demonstration to show that it is possible, and that you are only limited by your imagination and ability to code 🙂

Edit on 16/12/2014: Added screenshot of outbox view

Assigned Tags

      10 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Arijit Das
      Arijit Das

      Good one Brad! Another well explained and well articulated chapter. Maybe take it one step further and write a book on Unified Inbox!

      Cheers

      Arijit

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Thanks Arijit! Will have to wait and see what happens in the next few months 🙂

      Cheers,

      Brad

      Author's profile photo Alan Rickayzen
      Alan Rickayzen

      Great blog Brad 🙂

      I'm curious to learn more about your outbox. For example, was it sorted according to task-creation or task-creation time?

      If you could send me a screenshot at alan.rickayzen at SAP I'd be thrilled,

      Alan

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Thanks Alan!

      I have edited the blog and added an additional screenshot of the outbox view which is at workflow header level with only the workflow log visible. By default it is sorted by creation date descending but you can change the sort on the table control.

      Cheers,

      Brad

      Author's profile photo Barin DESAI
      Barin DESAI

      hi brad

      I have one question. I am trying to use unified list and it works fine for decision step.

      For leave approval I want to launch a custom webdynpro application.

      I am missing this link of how I can launch a custom webdynpro application on click of leave request.

      Leave request is visible in the worlist but on click it launches a blank page.

      thanks

      barin

      Author's profile photo Jocelyn Dart
      Jocelyn Dart

      Hi Barin,

      Just wondering if you have tried maintaining your custom webdynpro against the TS task id in the Task Visualization section of transaction SWFVISU ?

      Author's profile photo Jocelyn Dart
      Jocelyn Dart

      Just to clarify... the task execution link can be derived from transaction SWFVISU in the backend system which would let you handle the webdynpro scenario.

      Author's profile photo Barin DESAI
      Barin DESAI

      ho jocelyn

      thanks again.

      Problem is the swfvisu parameter. It needs much more dynpro than provided.

      LRF_WITEM_ID is not getting value hence runtime is not generating the right combination of url.

      If i use the webdynpro app as POWL then everything is fine.

      However the same is not ok if i maintain following in dynpram in visu for task 21500003

      LRF_REQUEST_ID={item.requestId}&LRF_REQUEST_ID={item.requestId}LRF_ARQ_MODE=A&wdconfigurationid=HRESS_AC_PTARQ_LEAVREQ&LRF_WITEM_ID=${item.externalId}

      thank you for looking in to this.

      have tried all possible notes with not much luck.

      I am still struggling to launch task 21500003 from unified inbox.

      regards

      barin

      Author's profile photo Former Member
      Former Member

      Hi Brain,

      this is very helpful and very well explained.

      I am new to SAP UI5 and have a similar requirement.

      Could you please share the code and step-by-step process to achieve My Inbox functionality.

      Thanks

      Shyam

      Author's profile photo Meenakshi SKS
      Meenakshi SKS

      Hello Brad,

      I have an requirement to hide the standard action button (FORWARD), is there a way to do that ..??

      Regards,
      Meena SKS