How to use ‘Container Operation’ in SAP WF

Create 3 Workflow Container Elements.

I_CURR: Current Quantity of Apples at shopping bag

I_USED:  Quantity that client used apples.

I_REMAIN:  Quantity of how many apples remains at client’s shopping bag.

Create container element ‘I_CURR’

 1

Set Import Parameter and Mandatory ‘X’.

 2

Do the same operation for I_USED

Set Import Parameter and Mandatory ‘X’.

Create container element I_REMAIN .

 3

Mark Export parameter ‘X’

 4

Create ‘Container Operation’

 5.jpg

Fill your expression fields like in the following screen

 6

How to create ‘Condition’ step on SAP Workflow

Click on the link to learn creating a basic workflow.

Create a condition step on your workflow

1

If you don’t know to create a container element, please click here.

Click on ‘Click here to create a new condition’

Double-click on  following page at data container.

My container name is ELEMENT_TEST

2.jpg

Then click on ‘=’ and write your value in Constant input field.

Click on OKAY button or press enter.

3

4

How to insert internal table values into SAP Workflow Mail Body

Go transaction SWDD.

 

If you want to create a basic workflow, click on link.

Create a container element named ‘I_TABLE’.

 1

Open properties tab and select  Import, Export(not necessary) and Multiline parameters

 2

If you want to add specific values, open Initial Values tab, enter values.

 3

Copy your mail task number.

 4.jpg

Go transaction PFTC

Paste your task number and remove ‘TS’.

 5

Click on ‘Change’ button.

Open Container Tab and Click button Create.

Fill required fields like below

 6

Save changes and return to your workflow.

Under the body part of screen, click on Insert Expression button

 7

Select I_TABLE on the following screen

 8.jpg

Go transaction SBWP to look at your INBOX.

How to create ‘Container Element’ in SAP Workflow

This post gives information about creating ‘Container Element’ in workflow and use in expressions.

Double-Click to Create Button

 1

Fill required fields like in the following screen.

 2

Click on ‘Insert Expression’ button

3.jpg

Select created container.

 4

Then expression will be like:

 5

Press F8 to execute and enter zanil container parameter as you wish.