SAP Fiori Add A Custom Workflow in 6 Steps
SAP Fiori Add A Custom Workflow in 6 Steps
Overview
Prerequisites
Step 1. Get workflow definitions
Step 2. Define workflow scenarios
Step 3. Add a tile to Launchpad
Step 4. Define decision options
Step 5. Implement the BADI for decision update
Step 6. Display application data
With “out-of-the-box” SAP Fiori, you can add any workflow scenarios with
generic contents to the SAP Fiori Approve Requests application.
Launchpad
Approve
Requests with
Generic Contents Business Enriched
Capital
Expenditure
UI development
Backend Systems
1SAP4Business NetWeaver
SAP Business
Suite Non-SAP
BPM 3rd Party
5 Suite
BOR : FORMABSENC
https://<hostname>.<domain>:<port>/sap/bc
/ui5_ui5/sap/arsrvc_upb_admn/main.html?sa
p-client=<Client>?scope=CUST
• Service URL:
/sap/opu/odata/IWPGW/TASKPROCESSING
;mo/ScenarioCollection?$filter=key%
20eq%20'Z00_ABSENCE'
• Semantic Object: WorkflowTask
• Action: approveRequests
• Parameters: scenarioId=Z00_ABSENCE
BADI : /IWWRK/ES_WF_WI_BEFORE_UPD_IB
CASE iv_decision_key.
WHEN 0001. "Approved
ls_container_line-value = 'A'.
ls_formabs-procstate = 'A'.
WHEN 0002. "Rejected
ls_container_line-value = 'R'.
ls_formabs-procstate = 'R'.
ENDCASE.
Link: help.sap.com
You can include application data in HTML format by implanting the BADI.
You can add business context data by implementing the context service
or BADI.
• Context Collection in Gateway 2.0 SP06 (Version 1)
Context Collection
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG.
The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or
warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group
products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing
herein should be construed as constituting an additional warranty.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in
Germany and other countries.
Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.