on 2011 Jun 06 7:21 AM
Hello Gurus,
I am new to SAP work flow. Currently i am working on one scenario. I want to send a mail on creation of a material in MM01.
I create work flow for this, but now i want, " Every creator of material has a supervisor, i need, if a user create a material then mail should go to his supervisor.
I have a ztable to maintain user and his supervisor. EX: EMPUID SUP_MAIL. i need to fetch supervisor mail id based on creator user id.
Hope you get my scenario.
<h2> I am not able to understand where i have to write code to fetch sup_mail value and pass it to container. </h2>
Kindly suggest.
Request clarification before answering.
Hello,
As stated above, you program in the class (SE24) or business object (SWO1).
It can either be a method or, preferably (if itmakes sense), an attribute.
regards
Rick Bakker
hanabi technology
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The programming has to be done at your BO level.
swo1 transaction - enter your business object and click on display.
Select your method and click on the program button.
A program editor will open to enter our logic.
Please check this link,
http://help.sap.com/saphelp_nw70/helpdata/en/c5/e4b130453d11d189430000e829fbbd/frameset.htm
Regards
Keerthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As you have created the custom business object "Zobject" then please maintain the deletion between the standard BUS1001006 ( Material ) through tcode SWE_SET_DELEGATION and "Zobject, then all the custom method of "Zobject will available in the stadard object BUS1001006. Then you can use the standard object "BUS1001006" in which your custom method will be available.
Thanks and regards,
SNJY
User | Count |
---|---|
51 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.