cancel
Showing results for 
Search instead for 
Did you mean: 

Show custom task description in Approve Purchase Orders Fiori app

saurabh_vakil
Active Contributor
0 Kudos


Hello experts,

We have implemented Approve Purchase Orders Fiori app in our landscape. The app is working fine and we are able to approve/reject PO work items successfully.

The PO work item in the back end Inbox shows a description as shown below:

Description

Please approve purchase order <PO_Number> created by <User_Name> for Cost Center <Cost_Center>.

But the Approve PO Fiori app does not show this description by default.

My question is can we have the Fiori app pick up this description by implementing the enhancement spot GBAPP_APV_PO in the back end system and show it in the Approve PO app?

Regards,

Saurabh

Accepted Solutions (1)

Accepted Solutions (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Saurabh,

You just need to extend the UI view and include the <PO_Number>, <User_Name> and <Account Assignment> in the S2 view which is the left hand side master list.

App Extensibility: Approve Purchase Orders - SAP Fiori Apps - SAP Library

Regards,

Masa / SAP Technology RIG

saurabh_vakil
Active Contributor
0 Kudos

Hi Masa,

Thanks for your response!

The PO work item contains a description which is as shown below in the SAP Inbox when we select the item.

We are looking to include this description as is in the Approve Purchase Orders app. Is this not possible using the enhancement spot and extending the UI the only option to achieve this?

Regards,

Saurabh

former_member182874
Active Contributor
0 Kudos

Hi Saurabh,

Because you are modifying the existing UI5 standard app, you need to download the code and extend and reupload using your namespace. Enhancing the badi for gbapp will only add fields in the backend gateway service. To display in UI, you need to enhance as Masa has mentioned.

If you want to display extra field data like : cost center(Also available in Account assignment) ; Previous approver etc, the same should be appended in the structure of the service so that UI5 can consume it.


Regards

Tejas

Message was edited by: Tejas Chouhan

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Saurabh,

All key values are in Approve Purchase Order app.  Difference is just long description or independ field. So I feel including the workitem description does not help a lot.

If it helps a lot, off cause you can include those by using UI extension point as I mentioned before.

I would implement email notification which has workitem long description and include the link for the Fiori app instead of including the description in the app.

Regards,

Masa / SAP Technology RIG

Answers (1)

Answers (1)

saurabh_vakil
Active Contributor
0 Kudos

Hi Masa & Tejas,

Thanks for your valuable inputs!

In our case showing the workflow description on the Fiori app screen was important because it showed certain details like previous approvers which are not displayed in the standard Fiori app.

We have achieved this by first extending the OData service GBAPP_POAPPROVAL to include the workflow description and then extended the SAPUI5 app MM_PO_APV to include the description field on the UI screen.

Regards,

Saurabh