Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member188878
Active Contributor
0 Kudos


This blog is ment to show case the MDG parallel workflow and sending Email notification to requestor after approval.it is base on the documentation mention under link  http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30681c36-5884-2e10-85a1-cd9499942...and also MDG-M: How To Send an Email Notification to the Requestor at Time of Material Activation. I thanks Rob for  good ducomentation which helps us to trigger the E-mail notification and also my colleguges who help me on this.

Business Scenario:While creation of material the two departments wants to approve the CR at the same time and also trigger the E-mail notification after activation of material.

1.Create the CR type.

2.Defining the services

3.Defining the user and Non-User decision table in BRF+,you have provide the Merge Type B(Badi) and Marge Paramaters as service which we defind in the perivous step.

Provide the workflow template which is created as per the Rob Docs MDG-M: How To Send an Email Notification to the Requestor at Time of Material Activation. and service names in the non-user decision table.

4.Define  BADI's use the Enhamcment spot USMD_SERVICE_PROCESSOR(SE18)

goto Badi Defination USMD_SSW_PARA_RESULT_HANDLER and Create implemenation

Provide the Implementation name ans text

Provide the Badi Name and implementing Class.

5.Providing the Code,click on the method IF_USMD_PARA_RSLT_HANDLER~HANDLE_PARALLEL_RESULT

check out the steps you have to provide the same steps in decision tables

6.Defining the filter types and save

follow similar method for defining the BADI USMD_SSW_SYSTEM_METHOD_CALLER and check the method

IF-USMD_SSW_SYST_METHOD_CALLER~CALL_SYSTEM_METHOD should be empty.

7.Create the CR for material

8.Check the status of Work flow you can see that the CR is in the two user que they can approve Parallel

Status of CR after approval from User 1

Status you can see the the both user has approved the CR and it went to next user

final approval the status has changed for Final Check Approved.

check the status of mail in SOST tcode and check the recipient

Open up the mail box and check the mail

we are working on extended Email notification once done will publish it as well.

Labels in this area