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

Home Tr ainings Quiz Tips Tutorials Functional Cert Q' s Inter view Q' s Jobs Testimonials Advertise Contact Us

Corporate Trainings
Document Categories:
ABAP
TM
Adobe Forms
ABAP-HR
ALE & IDocs
ALV
BAPI
BASIS
BSP
Business Objects
Business Workflow
CRM NEW
LSMW
SAP Script/Smart Forms
BI/BW
eXchange Infrastructure (XI)
Enterprise Portals (EP)
eCATT
Object Oriented Programming
SAP Query
Userexits/BADIs
WebDynpro for Java/ABAP
TM
Others
What's New?
Inserting data from Internal Table
into the step Send Mail
Display GL Account long text
using enhancement framework
Differences between
polymorphism in JAVA and ABAP
Passing multiline parameters from
an ABAP Class event to a
Workflow container
Concept of Re-evaluate agents for
active work items in SAP
Workflow
Dynamic creation of component
usage in ABAP WebDynpro
Adobe Forms: Display symbols
like copyright and others
Deactivate Hold functionality in
Purchase order (ME21N)
Quiz on OOABAP
Add fields in FBL5N using BADIs
Tutorial on Wide casting
Defining a Range in Module Pool
Program
Copy fields from one
structure/table into another
structure/table
Side Panel Usage in NWBC
Introduction to SAP Event
Management
Display Statistical Report using
Function Module
Adding Explicit Enhancement to
custom program
Display data dynamically using
Field Symbols
SAP BODS - Beginners guide
Display text vertically (Rotate text)
in Adobe Form
Sending email with multiple tabs of
excel as a single attachment
Copying Sales Order attachments
to the invoice
Contribute?
Sample Specs
What's Hot?
Web Dynpro for ABAP Tutorials
SAP Business Workflow
Triggering of Events/Workflow upon Status Change
By Suresh Kumar Parvathaneni
Scenario: Triggering of events upon Status Change of a Production Order
Creation of Production Order: Before configuring workflow for Production Order, we would first create a
production order and observe the events that are triggered by SAP (by default).
Switch on the event trace using the transaction SWELS
Go to transaction CO01 and create a Production Order.


Press SAVE and click on the following button.

The Production order is created. Now go to either CO02/CO03 to understand the statuses set for the
document created.
SAPTechnical.COM Triggering Workflow on status change http://www.saptechnical.com/Tutorials/Workflow/SChng/SChng.htm
1 of 3 08/07/2014 12:53
Join the Mailing List
Enter name and email address below:
Name:
Email:
Subscribe Unsubscribe

Click on i button.

The above statuses are set to this document.
Switch of the event trace and check for the events triggered during the production order creation.

Now the requirement is to trigger a custom event, when the status MANC is set (please refer to the
above screens for details).
Steps to trigger a custom event whenever the production order status is set to MANC:
Go to transaction SWO1.
Create a custom business object by taking BUS2005 (Production Order) as Super type.
Create a new event, for example MANC.

Implement and Release the business object component and the business object.
Go to transaction BSVW (Status Management)
Click on Customer Settings

Go to change mode and click on New Entries.
Enter the following:
SAPTechnical.COM Triggering Workflow on status change http://www.saptechnical.com/Tutorials/Workflow/SChng/SChng.htm
2 of 3 08/07/2014 12:53
Press SAVE and select the above row and click on Status restrictions.
Click on New entries
Press F4 and select MANC from the list.

Save the entries.
Now create a production order (Tcode CO01) and if the status of the document is MANC, then the above
event would be triggered.
Following is the screenshot from event trace:

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
Home Contribute About Us Privacy Terms Of Use Disclaimer Safe Companies: Advertise on SAPTechnical.COM | Post Job Contact Us
2006-2007 SAPTechnical.COM. All rights reserved.
All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.
Every effort is made to ensure content integrity. Use information on this site at your own risk.
Graphic Design by Round the Bend Wizards
SAPTechnical.COM Triggering Workflow on status change http://www.saptechnical.com/Tutorials/Workflow/SChng/SChng.htm
3 of 3 08/07/2014 12:53

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