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 ...
Oracle Order Management 使用 Oracle Workflow 在 Oracle Order Management 11i 中 Oracle Order Management 是一个关键的企业资源计划(ERP)模块,用于处理企业的订单生命周期管理。它提供了全面的功能,从订单...
《Pro WF:Windows Workflow in .NET 3.5》是一本深入探讨Windows Workflow Foundation (WF) 技术的专业书籍,该技术是微软.NET Framework 3.5中的一个重要组成部分。WF提供了一种在应用程序中实现工作流逻辑的方式...
本教程将深入探讨Windows Workflow in .NET 4,包括它的核心概念、设计模式以及如何在实际项目中应用。 WF提供了一种声明式的方式来定义和执行业务逻辑,使得流程的创建和维护变得更加直观。通过WF,开发人员可以将...
为SharePoint 2010 Workflow 开发 Custom Workflow Activity(Develop Custom Workflow Activity for SharePoint 2010 Workflow). SharePoint2010提供了很多有用的开箱即用的Activity(活动action),我们可以在...
### WORKFLOW AND PARALLELEXTENSIONS IN .NET FRAMEWORK 4 #### Microsoft TPL 和 Windows Workflow Foundation 整合使用 在 .NET Framework 4 中,引入了新的并行编程模型来支持多线程操作,这其中包括了 **...
### 使用Domino Workflow的核心知识点解析 #### 一、Domino Workflow简介 - **定义与概述**:“Domino Workflow”是一种企业级工作流解决方案,旨在帮助组织优化业务流程管理。它集成于IBM Lotus Domino/Notes平台...
### 关于《Beginning WF: Windows Workflow in .NET 4.0》的知识点解析 #### 一、概述 《Beginning WF: Windows Workflow in .NET 4.0》是一本专为希望学习并掌握Windows Workflow Foundation(WF)技术的开发人员...
(并修复“转到定义”!) 通过采用此工作流程,您将获得; 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" 是一本针对初学者的指南,旨在帮助读者从零开始深入理解WF技术,并通过实例学习来达到精通的程度。 这本书可能涵盖以下关键知识点: 1. **WF基础**:介绍WF的基本...
本项目"workflow-in-mvc-simple-demo"旨在提供一个简单的示例,展示如何将工作流集成到MVC应用中,以实现更加灵活和可维护的业务逻辑。 首先,让我们深入了解一下工作流(Workflow)。工作流是一系列按特定顺序执行...
public static function createDefinition(): Workflow { $definition = (new DefinitionBuilder()) ->addPlace('created') ->addPlace('paid') ->addPlace('shipped') ->addTransition(new Transition('pay'...
Improved : Better performance for saving/loading workflow definitions, instances and tasks when using ADO Fixed : Workfklow blocks not displayed when language different than English was used Fixed : ...
$workflow = (new Factory)->make('article', function (Definition $definition) { $definition->initial('draft') ->transitionTo('pending', 'submit_for_review') ->transitionTo('published', 'approve') -...
《Pro.WF.Windows.Workflow.in.NET.4.0》是一本深入探讨.NET 4.0框架下Windows Workflow Foundation(WF)技术的专业书籍。WF是微软提供的一种用于构建长期运行的业务流程的应用程序框架,它允许开发者创建和管理...
根据提供的文件信息,本书《Pro WF: Windows Workflow in .NET 3.0》由Bruce Bukovics撰写,是一本深入探讨Windows Workflow Foundation (WF)在.NET 3.0中的应用的专业书籍。以下是从该书标题、描述及部分展示内容中...