0% found this document useful (0 votes)
94 views

Material Creation WF

This document provides instructions for triggering a workflow in SAP whenever a material is created using transaction code MM01. The workflow will send an email with details of the newly created material. Key steps include: 1. Using transaction code SWDD to build the workflow with user decision and activity steps to either create a task or send an email depending on the decision. 2. Configuring the workflow initiator, task details, and email details. 3. Setting the start event to trigger whenever a material is created. 4. Testing the workflow by creating a material in MM01 and checking email.

Uploaded by

Ved Prasanna
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
94 views

Material Creation WF

This document provides instructions for triggering a workflow in SAP whenever a material is created using transaction code MM01. The workflow will send an email with details of the newly created material. Key steps include: 1. Using transaction code SWDD to build the workflow with user decision and activity steps to either create a task or send an email depending on the decision. 2. Configuring the workflow initiator, task details, and email details. 3. Setting the start event to trigger whenever a material is created. 4. Testing the workflow by creating a material in MM01 and checking email.

Uploaded by

Ved Prasanna
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 18

Triggering workflow to send an email whenever a material is created By Chandrasekhar V, EDS

This example focuses on triggering a workflow whenever a material is created using MM01. TCode SWDD(Workflow builder) -> Click on Create button

Drag and drop the User decision step. Enter the following details

Select the agents Workflow initiator (expression) and click on Transfer and to graphic (tick mark button). Following screen appears.

Drag and drop Activity step into branch YES, Create new task click on the Display task -> Create task

Enter the work item text in the same screen as follows:

To get &_WI_OBJECT_ID.MATERIAL& in above screen, click insert variable icon (above that yellow icon). Save in local package. Go to Additional data menu Agent assignments -> Maintain.

Select it and click on Attributes from application toolbar and select General task radio button, click Transfer

Click on back 2 times.

Click

on

continue.

Select Workflow initiator as Agents and click on Transfer and to graphic button

To create the workflow container

Select workflow container and double click on BUS1001006 in the list displayed.

Click on properties tab and select the import check box and click on ok

Again open user decision, which was already created, and make changes as bellow In Parameter1 click F4 and select Material number as bellow

Click on transfer and to graphic Right click on branch No to send a mail

Double click on send mail. Enter the following details as in the below screen

Click on Transfer and to graphic

Save in a local package Click on the Basic data(ctrl+F8) from application toolbar and select Start events tab

Enter the details as in bellow screen

Click on Binding

Click on ok Save and come back to graphic, the following screen will appear

Save, activate and execute.

Go to TCode MM01 to create the material Enter the details in MM01 and click on Select view -> Basic data1 Enter the details in Second screen as below:

Save and come back.

Check

your

inbox

by

using

TCode

SBWP.

Double click on Work item executable

Click yes or no and check your inbox again

You might also like