Fiori My Inbox – Step 5. Adding action buttons
Please find series of documents in the SAP Fiori – My Inbox.
In the previous step4 with “Open Task” is OK in desktop but it does not fit in mobile devices.
In this step 5, we are going to add action buttons in the My Inbox app.
Define decision options in the backend:
You are going to define action buttons. You have captured the outcomes of the task in the step 1.
Go to the IMG in the backend.
Specify the workflow template ID and the Step No.
Define the action buttons. POSITIVE button icomes in green and NEGATIVE button comes in red.
If you set comment flag is on, approves can enter some comments.
Test the My Inbox.
You see the Approve and Reject buttons.
Hi Masayuki,
I've activated Fiori inbox and added Approve/Reject for one of my apps. This updates the workflow correctly after I implemented the BADI. However, I don't want the "Submit Decision"/Comments dialog box appearing after clicking approve. I unticked the "comments" in the above customizing but the popup box still displays. Any other setting I need to deactivate to remove this popup box ?
You can extend the app based on business requirements.
Hi,
I have added Approve and reject buttons. Now after clicking Approve, I got below error.
RFC call was not successful because of system failure 'Exception condition "ORG_OBJECT_NOT_FOUND" triggered'.
What else should be missing?
I can approve workflow directly in SAP and in Portal UWL without any issue.
-Bhavik
Please create a new discussion and share your custom workflow details. SCN members can give some comments. Discussion
Its not clear from the standard documentation, however the "Comments" checkbox in customizing only affects whether it's mandatory or not. To totally remove the popup, it appears necessary to enhance the S3 controller in WEB IDE.
Hi Masa,
I wanted to ask how to configure this if for Time approval is being used stand-alone standard task without workflow ID?
Unless you are asking for clarification/correction of some part of the Document, please create a new Discussion marked as a Question. The Comments section of a Blog (or Document) is not the right vehicle for asking questions as the results are not easily searchable. Once your issue is solved, a Discussion with the solution (and marked with Correct Answer) makes the results visible to others experiencing a similar problem. If a blog or document is related, put in a link. Read the Getting Started documents (link at the top right) including the Rules of Engagement.
NOTE: Getting the link is easy enough for both the author and Blog. Simply MouseOver the item, Right Click, and select Copy Shortcut. Paste it into your Discussion. You can also click on the url after pasting. Click on the A to expand the options and select T (on the right) to Auto-Title the url.
Thanks, Mike (Moderator)
SAP Technology RIG
Hi,
I performed all the steps but action button not added in My Inbox App.
Hi Masa;
What about "Icon MIME Repository Path" field? Is it working?
I tried several variations but cannot see any icon in the application.
Thanks.
Hi @Masayuki Sekihara Thanks for the excellent blog.
It Looks like this Approach will not work for WebDynpro or BSP Application Launch linked to the Task.
I did the same configuration for a Task, which is supposed to open a BSP Application, never showed Approve and Reject Buttons.
Interstingly even the Task filter is not working, as I defined set of Task and Activate the Task Filter, Inbox showing all the notifications, not restricting the Task defined under here
Thanks
Sam
It adds buttons in My Inbox app. It does NOT add buttons in called app.
Thanks
Hello @Masayuki Sekihara Thanks for sharing this Info !
Can i add more than one workflow item ID (WS3000015, WS3000017) and get all tasks to be approved related to the mentioned WF ids !?
What was your test result?
Return tasks related to the last workflow only .
but this with WFSERVICE not TASKPROCESSING service
Hi Masayuki Sekihara
when you click approve/reject, did it work?
in my case it didn’t work, I debug, the error msg says the workitem is not a “user decision”
the task in my case is an activity step(like yours), not user decision step.
the system is nw7.4, BoH.
thanks,
Jun
For non user decision task, BADI implementation is required in the step 6. It means, you need to call the approve logic in the BADI.
thanks, it worked after the badi is implemented.
It didnot worked for me after implementing badi, SAP_WAPI_WORKITEM_COMPLETE executed successfully but at the end it gives error you have no access to item. because SAP_WAPI_CHECK_INBOX return 1 and error message you are not a receiver of workitem.
Please help
I am trying to implement a custom workflow and I have followed the same steps however I am not getting the approve reject button
Hello @Masayuki Sekihara ,
I have tried to implement a custom workflow for the my inbox application. However I am unable to get the approve reject button on the app. Can you please suggest what can be done.
Hi Masayuki Sekihara ,
Thanks for such a nice blog.
My customer requirement is to hide footer buttons (e.g. claim, forward, open Task etc.) irrespective of any WF Type. Could you please suggest what's the best way to do it. We are on S/4 HANA 1909. I checked the Fiori Apps Library but there is no UI hook available in S3 View to hide them.
As per my understanding best way to hide them from oData side OR I need to extend the CA_FIORI_INBOX Fiori app and do the needful?
Looking forward your feedback. Thanks.
Regards
Manish Gupta