`
evangxli
  • 浏览: 230214 次
  • 性别: Icon_minigender_1
  • 来自: 大连
社区版块
存档分类
最新评论

转 Dynamic Parallel Processing in Workflow "Activity" 1

 
阅读更多

Dynamic Parallel Processing in Workflow

By Punit Jhanwar, YASH Technologies from link.

This blog is a step-by-step approach for using dynamic parallel processing in Workflow (For the concept of dynamic parallel processing, please click here). 
For our demo purpose, we have taken a simple example. A multiline element ‘Material’ is passed on to workflow and our step ‘Activity’ has to be executed n times (n denotes the number of materials in the multiline container element ‘Material’). In simple words, if 10 materials are passed to the workflow, then 10 work items are to be generated. Following is the step-by-step approach in achieving the same: 

1. Create workflow using the workflow builder. 

 

2. Create a Multiline container element for Material number .

 

 

3. Create a step ‘Activity’ in the workflow definition.

 

 

4. Click on the tab ‘Miscellaneous’.

 

In the field “Multiline Element”, click on F4 and select MATNR. 

 

 

5. Now go back to the tab ‘Control’.  From the list box, select ‘Create task’ 

 

Enter the abbreviation and name for the task.

 

6. Let us have the material number displayed in the work item text. For this, we need to create a container element for the Material (not a multiline element). 

 

 

In the properties, click on Import. 

 

7. Insert the container element MATNR in the work item text .

 

8. Choose the business object and the corresponding method for the material display (we have chosen a dummy method for our demo purpose).

 

Click on Save and come back to the main screen of step ‘Activity’.

 9. Define the binding between the activity and the task.

As seen in the above screenshot, there are two MATNR in the workflow container. One representing the multiline element that we have created for the workflow container and the other is an index of a MATNR. Since we have defined MATNR for the dynamic parallel processing, this step ‘Activity’ would execute for each entry in this multiline element MATNR. So MATNR() represents the index of the material during runtime. 

10. Choose the User in the Agents and specify the user id. 

11 .  Activate the workflow .

 

12. Execute the workflow. Test run your workflow definition by providing some test data

 

13. Now check your SAP inbox (Transaction SWBP). There would be three work items for three materials.

分享到:
评论

相关推荐

    Euro-Par 2010 Parallel Processing Workshops

    整个文件内容的综述表明,Euro-Par 2010 Parallel Processing Workshops 是一个在并行和分布式计算领域具有重要影响力的学术会议,它不仅聚集了来自不同国家的专家,也展示了并行处理及相关领域的最新研究成果。...

    WORKFLOW AND PARALLELEXTENSIONS IN .NET FRAMEWORK 4

    ### WORKFLOW AND PARALLELEXTENSIONS IN .NET FRAMEWORK 4 #### Microsoft TPL 和 Windows Workflow Foundation 整合使用 在 .NET Framework 4 中,引入了新的并行编程模型来支持多线程操作,这其中包括了 **...

    37th International Conference on Parallel Processing

    ICPP 2008国际会议目录!!!!!!!! 网格计算、P2P系统等

    Parallel Programming in OpenMP

    Parallel Programming in OpenMP

    Introduction to Parallel Processing: Algorithms and Architectures

    THE CONTEXT OF PARALLEL PROCESSING The field of digital computer architecture has grown explosively in the past two decades. Through a steady stream of experimental research, tool-building efforts, ...

    Advanced Parallel Processing Technologies 无水印pdf

    Advanced Parallel Processing Technologies 英文无水印pdf pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权...

    Advanced Computer Architecture and Parallel Processing

    - **移动处理**:Peter Sapaty的《Mobile Processing in Distributed and Open Environments》探讨了移动计算在开放和分布式环境中的挑战和机遇。 - **并行算法基础**:C. Xavier和S. S. Iyengar的《Introduction to...

    Java Parallel Processing Framework用户手册

    Java Parallel Processing Framework(JPPF)是一个开源的Java框架,专为分布式并行计算而设计。它允许开发者利用多核处理器、集群以及云计算资源来执行大量计算任务,从而提高应用程序的性能和响应速度。JPPF的核心...

    parallel-in-time algorithm: MGRIT

    The paper derives and analyses the (semi-)discrete dispersion relation of the Parareal parallel-in-time integration method. It investigates Parareal’s wave propagation characteristics with the aim to...

    指令级并行处理历史Instruction-level parallel processing history

    Instruction-level parallel processing history, overview, and perspective.pdf 指令级并行处理历史

    Advanced Computer Architecture Parallel Processing

    ### 高级计算机架构与并行处理 #### 计算机架构概述 计算机架构是计算机系统设计中的核心领域,它涉及计算机硬件各个组成部分的设计、组织以及它们之间的交互方式。计算机架构不仅关注处理器的设计,还包括存储器...

    Parallel Programming in OpenMP.pdf

    本文将基于《Parallel Programming in OpenMP.pdf》的部分内容,对OpenMP的基本概念、历史发展以及其在多线程与多处理之间的选择进行深入探讨。 #### OpenMP简介 OpenMP(Open Multi-Processing)是一种为共享内存...

    高清彩版 Pro .NET 4 Parallel Programming in C#

    本书《高清彩版 *** 4 Parallel Programming in C#》主要探讨了.NET 4环境下使用C#语言进行并行编程的方法与技术,旨在向读者展示如何编写能够在多核或多处理器计算机上充分利用计算资源的并行程序。并行编程能够...

    AMD_Accelerated_Parallel_Processing_OpenCL_Programming_Guide

    AMD出的教程,全面,深入浅出,看完这本书就可以完全掌握opencl并行了

    Pro .NET 4 Parallel Programming in C#

    本书《*** 4 Parallel Programming in C#》由Adam Freeman撰写,旨在教给C#开发者如何在.NET平台上使用C#进行并行编程。它强调实践而非理论,通过完整的代码示例来展示如何使用.NET框架中的并行编程技术来解决实际...

    Algorithms.and.Architectures.for.Parallel.Processing.

    《Algorithms and Architectures for Parallel Processing》是关于并行处理算法和架构的深入探讨,在这里我们可以从标题、描述、标签和部分内容中提取相关知识点。 首先,标题揭示了本书的核心议题:并行处理的算法...

    ???????!!.zip_parallel processing_zip

    平行处理(Parallel Processing)是一种计算机科学中的计算方法,它通过同时使用多个处理器或计算资源来执行任务,以提高系统的整体性能和效率。在处理大量数据或执行复杂计算时,平行处理能够显著缩短处理时间,是...

    Autodyn Parallel Processing Guide.pdf

    这份指南针对于版本19.0,发布于2018年1月。 并行处理是现代计算科学中的关键技术,它通过将大型计算任务分解为多个小任务,在多处理器或多核心系统上同时执行,极大地提高了计算效率和速度。在Autodyn中,这一特性...

    Cluster Computing - Architectures, Operating Systems, Parallel Processing & Programming Languages Apr 2003

    Cluster Computing - Architectures, Operating Systems, Parallel Processing & Programming Languages (v2.4) - Apr 2003 !!! - (By Laxxuss).pdf

Global site tag (gtag.js) - Google Analytics