Home > Ask the SAP software/management Experts > SAP workflow/webflow Questions & Answers > Sending work items to approving office for PO release
Ask The SAP Expert: Questions & Answers
EMAIL THIS

Sending work items to approving office for PO release

Alon Raskin EXPERT RESPONSE FROM: Alon Raskin

Pose a Question
Other SAP Categories
Meet all SAP Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 13 November 2002

I need to trigger a Workflow to send a work item to an approving office to release a PO. But before triggering the event I need to check the PO doc type to see if it fulfills certain conditions. Where can I do this check? Is any coding required?


>

There are two places to do this:

1. In transaction SWETYPV, you can enter a Check Function Module that decides whether to kick off the Workflow. The check function module is executed after the event is raised but before the workflow is executed. In that Check Function Module you can check the document type and if it does not need approval then all you need to do is raise an exception (any exception is fine). If an exception is raised then the Workflow is not triggered. Please note that the Check Function Module must adhere to a standard interface. Please see the Function Module SWE_TEMPLATE_CHECK_FB for more information.

2. The other alternative is to use Start Conditions (only available in recent versions of Workflow). Start Conditions allow you to specify logical conditions that must be satisfied before the Workflow is kicked off. This is approach is identical to approach 1 but does not require any coding. Start Conditions are specified in the Workflow Builder for each event specified as a triggering event.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
SAP Java and J2EE
SAP CTO Sikka: SAP's innovation gets overlooked
SAP CTO expects today's SAP applications to be running in 2020
Tips on SAP ABAP
How to provide an SAP R/3 4.5B application server with a Web service interface
Consuming a Web service from an SAP 4.6c R/3 application server
SAP NetWeaver Configuration and Customization
Is C, C++ and Java knowledge required when learning SAP?
How to be a self-taught NetWeaver and ABAP expert
Getting started with a NetWeaver career
An ABAP user wants to learn XI

SAP workflow/webflow
How to replace a cancelled SAP workflow item
Retrieving content from an SAP workflow attachment
Changing reserved status of a workflow item
Why you shouldn't change SAP-related workflows in an SWUI
Using change documents to update a Z table
Approving workflows from Outlook
Calling a custom workflow
Tools for enabling SAP screens on a BlackBerry
Updating the absence infotype
Refreshing dynamic columns

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



SAP White Paper Topics
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
SearchSAP.com is a search service provided by TechTarget and is completely
independent of and not affiliated with SAP AG.
  TechTarget - The IT Media ROI Experts