首页 > SAP > ABAP > Different types of containers in SAP Workflow
2019
08-29

Different types of containers in SAP Workflow

In SAP Workflow we have different types of components and each components will have their own containers to store the data at run time. The components of workflow are Workflow, Task, Event, Rule and Business Object method.

Each of these components have their own containers.So totally we have 5 types of containers in sap workflow. Inside the container we create variables to store the data of different type like SalesOrder#, NetAmount etc.

Containers consists of Elements and each element store the data that can be used to control the Workflow execution or can be forward to other steps in Workflow.

1. Workflow Container: It is like global container. You can create as many elements in the container.
To access the workflow container go to workflow builder SWDD and click on “Step Types That can be Inserted” under Navigation Area and choose Workflow Container.

Workflow Container

To create an element in the container double click “<Double Click to Create>“.You can also find some default elements available in workflow container like _WF_INITIATOR, _WF_PRIORITY etc..

Element in Workflow Container

2. Task Container : Task container can found at Task. These container elements are local  and only visible inside the task. you can display any task using tcode PFTC_DIS.

Task Container

3. Rule Container: To create or access the elements in the rule container go to tcode PFAC_DIS.

Rule Container

4. Event Containers: The even container contains elements as event parameters. Event container has some default parameters like “”_EVT_Object””, “_EVT_Creator””.

5.Method Containers: Methods containers are nothing but method parameters in business object method which are created automatically when method is defined.

Before wrapping up this tutorial we go through the different options we have while creating the Elements in these containers.

We have 4 tabs when you are creating elements in the containers.They are
D.Type , Properties, Initial Valu and Change Data

D.Type – we define the data type of the element.We have a provision to choose an Business Object Type like BUS2035 etc. You can choose data dictionary structure fields and also direct data elements

Data Type of a Container Element

Initial Value – here we can define the default value of the element

Initial Value of a Container Element

Properties – We can choose whether an element is Import, Export or Mandatory. you can see this feature like Function Modules Importing,Exporting parameters.

Properties of Container Element

Change Data – It tells us about the who Lastly changed the element and when it was created.

Change Data of a Container Element

1.  How data flows between these containers

Containers in SAP Workflow

最后编辑:
作者:yangsen
本站为个人博客网站,全由我个人维护,我从事SAP开发13年,其它ERP开发7年,基本都是零售行业。本站记录工作学习的过程, 有SAP相关询问专、兼职工作可随时联系我。 有网站相关的问题可直接在文章下方留言,或者联系我。 邮件:yan252@163.com给我。 QQ:415402519