SAP Fiori application My Inbox can display and process all types of worflow tasks but generally it shows only very sparse information about workitem. You can prepare your own ui5 app to substitute workitem detail page.
But for several commonly used documents SAP prepared standard substitute applications.
Namely they are:
- My Inbox - Approve Purchase Contracts
- My Inbox - Approve Purchase Order
- My Inbox - Approve Purchase Requisitions
- My Inbox - Approve Service Entry Sheets
- My Inbox - Approve Supplier Invoice
- My Inbox - Approve Travel Expenses
- My Inbox - Approve Travel Requests
- My Inbox - Maintenance Management
- My Inbox for Manage Bank Accounts
Prerequisites
You have to have active and functional core My Inbox 2.0 application.
Walkthrough
Activate OData serviceC_PURREQUISITION_FS_SRV.
Then on the backend system make a customization in transaction SWFVISU. Create Task Visualization option and in the list of task types select your task type and make a Visualisation Type INBOX_GEN.
Then select Visualisation Parameter of your task and create new parameters according to table
Save the customizing a reload your inbox app. Woof and magic happens.
Addition 05/2020:
First implementation was made on HUB system and customized PUR workflow. Now I made that settings on another system where there are separate Frontend server and also standard PUR WF (customized). And have found, that line items did not show. I have found that note 2525367 - Purchase requisition item display in My inbox app
Display of Detail Information for a Purchasing Document in an On-Premise Edition
For SAP S/4HANA on-premise editions, the details of the purchasing documents are displayed via a generic UI within the My Inbox app. The detail data is provided via a secondary OData service, configured in transaction SWFVISU in the back-end system. (Note: For supplier invoices, detail data is not supported. Therefore, a secondary ODATA service is not relevant.) To enable the display of details, you need to set up the corresponding OData service in addition to setting up the My Inbox app. The secondary OData service used can be found in the respective entry in the Fiori reference library. The details will only be display if this service is set up correctly.
Go to SWFVISU :
Select TS00007986, Visualization type : My Inbox Generic application, and go to Visualization parameter:
Component name : cross.fnd.fiori.inbox.annotationBasedTaskUI
QUERY_PARAM00 : data=/sap/opu/odata/sap/C_PURREQUISITIONITEM_FS_SRV;o=sid({SYSTEM}.{CLIENT})/C_PurRequisitionItemFs(PurchaseRequisition='{&_WI_Object_ID.Number&}',PurchaseRequisitionItem='{&_WI_Object_ID.Item&}')
QUERY_PARAM01 :annotations=/sap/opu/odata/IWFND/CATALOGSERVICE;v=2/Annotations(TechnicalName='C_PURREQUISITIONITEM_FS_ANNO_MDL',Version='0001')/$value
SCHEME : Sapui5



No comments:
Post a Comment