Using Check Function Module in SAP Workflow
By Geethanjali K, Kaavian Systems from link
Following is a custom function module created for our demo purpose, which will check the conditions before triggering the workflow.
FUNCTION ZGEE_SALES_ORG.
*"----------------------------------------------------------------
*"*"Local Interface:
*" IMPORTING
*" VALUE(OBJTYPE) TYPE SWETYPECOU-OBJTYPE
*" VALUE(OBJKEY) TYPE SWEINSTCOU-OBJKEY
*" VALUE(EVENT) TYPE SWETYPECOU-EVENT
*" VALUE(RECTYPE) TYPE SWETYPECOU-RECTYPE
*" EXPORTING
*" REFERENCE(RESULT) TYPE C
*" TABLES
*" EVENT_CONTAINER STRUCTURE SWCONT
*" EXCEPTIONS
*" NOT_TRIGGERED
*"----------------------------------------------------------------
TABLES: VBAK.
DATA VKORG LIKE VBAK-VKORG.
SELECT SINGLE VKORG INTO VKORG
FROM VBAK WHERE VBELN = OBJKEY.
IF VKORG = '3000'.
RAISE NOT_TRIGGERED.
ENDIF.
ENDFUNCTION.
Now go to transaction SWE2 and insert your object type, event, and the receiver type.
Double click on your entry, following screen appears:
Provide the name of the customized function module name created earlier in the check function module field.
Now workflow is triggered only when the sales order is created with the sales organization 3000.
相关推荐
扫描书,不含示例代码,代码网上很多,自己下
Beginning WF: Windows Workflow in .NET 4.0 By Mark Collins Publisher: Apress 2010 | 500 Pages | ISBN: 1430224851 | PDF | 4 MB Windows Workflow Foundation is a ground-breaking addition to the core ...
Although there have been several efforts to refine work distribution, especially in workflow management, most literature assumes a static database approach which captures organizational roles, groups...
Oracle Order Management Using Oracle Workflow in Oracle Order Management Release 11i Part No. A96689-0
Using Domino Workflow
Pro WF: Windows Workflow in .NET 4.0 provides you with the skills you need to incorporate WF in your applications, using a lively tutorial style with each example illustrated in C#. This book gets ...
Professional Workflow in SharePoint 2010 - Real World Business Workflow Solutions
pro wf windows workflow in dot net 3.5pro wf windows workflow in dot net 3.5
Beginning WF Windows Workflow in .NET 4.0
Pro WF Windows Workflow in dot NET 3.5
为SharePoint 2010 Workflow 开发 Custom Workflow Activity(Develop Custom Workflow Activity for SharePoint 2010 Workflow). SharePoint2010提供了很多有用的开箱即用的Activity(活动action),我们可以在...
The workflow features in SharePoint are a powerhouse that you should tap into. With the help of this book, you can bring your business processes to life. The primary goal of this book is to teach you ...
Windows Workflow in .NET 4教程的PDF和书上带的源码
(并修复“转到定义”!) 通过采用此工作流程,您将获得; TypeScript 库项目的概念! (见下文‘用法’) gulp-typescript的增量构建所有项目的通用监视/构建任务。 项目构建顺序 - gulp all 。 BrowserSync设置...
Pro WF: Windows Workflow in .NET 4 provides you with the skills you need to incorporate WF in your applications, using a lively tutorial style with each example illustrated in C#. This book gets you ...
Beginning WF Windows Workflow in .NET 4.0 文字版PDF及源码 非常详细地介绍WF技术,从入门到精通,通过实例掌握。
It assumes a working knowledge of Workflow in the 5.x version. It is designed to give you enough information to rapidly start putting the new features to use. Please refer to the Workflow User’s ...
Lesson 2: Overview of Oracle Workflow Objectives 2-2 Workflow Terms 2-3 Oracle Workflow Overview 2-4 Major Components 2-5 Oracle Workflow Builder 2-6 Workflow Engine 2-7 Workflow Process Definition 2-...
Microsoft TPL 和Windows Workflow Foundation 整合使用