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 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.

How to design a basic workflow in SAP

Go transaction SWDD

Enter your WF name and press ctrl+shift+f5 to create.

Following screen will be like:

1.jpg

Double-Click on ‘Undefined’ Step and Click on ‘User Decision’

2.jpg

Fill blank places required in the following screen. Then Press ‘Okay’.

3.jpg

We are going to add a mail after accept action.

Right-Click on ‘ACCEPT’ and click ‘Create…’

4

Select ‘Send Mail’

5

Fill ‘Subject’, ‘Body’ and click on Okay Icon.

6

Enter abbreviation and name of the workflow on the opening pop-up screen

Save and Activate application then press F8 to start.

Go to transaction SBWP

Make your last decision.

7

How to open debugger mode from txt file

If you can’t use “/h”, you can open debug mode by creating a txt file.

Firstly, open a txt file and write the codes below in.

1

 

[FUNCTION]

Command=/H

Title=Debugger

Type=SystemCommand

 

Save txt file and exit.

Drag txt file and drop on pop up screen.

Debegger mode is  now switched on.