Вы находитесь на странице: 1из 10

How to Start Workflows in Error

White Paper
By
Vijay Agarwal

Abstract
Workflows are used in many of the business processes like such as creating a material master or release and approvals. Many times we face the problem of workflow going into error stage which stops the business process. This document will explain how to restart a workflow in error stage.

About the Author


Vijay is System.Analyst in Accenture. He holds a BTech degree in Electronics And Communication and has worked with Accenture since last 2 Years. He has SAP ABAP certification through SAP LAbs .Presently working as SAP HCM Technofunctional consultant.

About the Domain


SAP ABAP-Workflow consultants can use this document. This will help process the workflow in error.

Abbreviations
Term ERP ABAP Description Enterprise Resource Planning Advanced Business Application Programming

Contents

Introduction...........................................................................................................................................................2 The Deployment Logic...........................................................................................................................................2 Steps involved........................................................................................................................................................2 Conclusion.............................................................................................................................................................7 References..............................................................................................................................................................8

Introduction
A workflow which is in error stage stage can be started again. There are 3 possible scenarios: Case1: Workflow is in Error but its steps are in completed stage. Case2: Both the Workflow as well as some step of that workflow is in Error. Case3: Workitem is hanged or need to be processed again. Should be in progress status

The Deployment Logic

Steps involved
Case1: Workflow is in Error but its steps are in completed stage.

This can occur due to incorrect data already being populated in the completed steps. To rectify this error, the incorrect data needs to be changed first. Goto SWI2_FREQ -> Workflow Log ->

Click on the step whose container data you want to change.

Click on the execute button of Change Container. And double click on the field you want to change and change it.

Now go to SWPR and pass the parent workitem Id and restart the workflow. Case2: Both the Workflow as well as some step of that workflow are in Error. This can occur due to some data error in the process through which the workflow is initiated. To rectify this error, the incorrect data in the tables through which the workflow step is picking the values should be corrected. Then the worksite which is in error stage can be restarted through SWPR.

Case3: Workitem is hanged or need to be processed again. Should be in progress status The workitem can be processed again through SWIA.

Conclusion
This document could be used for error resolution of workflows. Objective of this white paper is to Standardize and automate the efforts of Architects in applying this solution and Developers using the logic to maximum effect so as to reduce the development cycle.Reusablity of efforts is key to deliver more in short time to reduce the turn around time in Project management.

References

Вам также может понравиться