<br><font size=2 face="sans-serif">IT WORKS!!!!</font><br><font size=2 face="sans-serif">IT ACTUALLY WORKS!!!!</font><br><font size=2 face="sans-serif">IT REALLY ACTUALLY WORKS!!!!</font><br><br><font size=2 face="sans-serif">Thanks to Paul and sap-wug-bounce. Y'all
are the bomb-diggity!</font><br><br><font size=2 face="sans-serif">Just some further info (in case anyone
else has this problem and so this email isn't pure spam)</font><br><font size=2 face="sans-serif">1. Had to subtype BUS2013 to my Z_BUS2013
and add an attribute of type EKPO-MATNR. SAP auto generated the "SELECT
SINGLE ..." code that filled the attribute with a material from 1
line item from the SA (no problem, all our SA's only ever reference 1 material,
we just change the SLOC). Only a couple of minor mods to the generated
code.</font><br><font size=2 face="sans-serif">2. The OSS note you mentioned is not
applied in our systems, but the workaround included in the note got the
wait step working. This is critical because in my case, the workflow
broke at the process control step - even though the problem was really
in the wait step. Once I did the workaround everything worked as
expected, but confusing at first.</font><br><font size=2 face="sans-serif">3. I had not seen the second link Paul
references, but that is the key. It is very thorough (a couple of
errors and assumptions, but figure-outable).</font><br><font size=2 face="sans-serif">4. Tested the positive case (created
an SA referencing the material) as well as the negative case (created an
SA not referencing the material) - only the positive test case triggered
the wait step.</font><br><br><font size=2 face="sans-serif">I can't thank you enough for taking
the time to answer my question. This workflow would have been a no-go
without your help. Whoot!!!!<br></font><font size=4 color=#808000><b> </b></font><p><font size=4 color=#808000><b>Michael McLey</b></font><font size=3 color=#808000><b></b><br>MBUSI - IT Parts & Administration </font><font size=2 color=#808000><br>Mercedes-Benz US International, Inc.</font><font size=3 color=#808000></font><font size=2 color=#808000><br>1 Mercedes Drive</font><font size=3 color=#808000> </font><font size=2 color=#808000><br>Vance, AL 35490</font><font size=3 color=#808000> </font><font size=2 color=#808000><br>PHONE: (205) 462 - 5239</font><font size=3 color=#808000> </font><font size=2 color=#808000><br>EMAIL: michael.mcley@daimler.com</font><font size=3 color=#808000>
</font><br><br><br><table width=100%><tr valign=top><td width=40%><font size=1 face="sans-serif"><b>wug@workflowconnections.com</b></font><br><font size=1 face="sans-serif">Sent by: sap-wug-bounces@mit.edu</font><p><font size=1 face="sans-serif">04/07/2010 03:41 AM</font><table border><tr valign=top><td bgcolor=white><div align=center><font size=1 face="sans-serif">Please respond to<br>sap-wug@mit.edu</font></div></table><br><td width=59%><table width=100%><tr valign=top><td><div align=right><font size=1 face="sans-serif">To</font></div><td><font size=1 face="sans-serif">sap-wug@mit.edu</font><tr valign=top><td><div align=right><font size=1 face="sans-serif">cc</font></div><td><tr valign=top><td><div align=right><font size=1 face="sans-serif">Subject</font></div><td><font size=1 face="sans-serif">Re: Wait Step for Unknown Object</font></table><br><table><tr valign=top><td><td></table><br></table><br><br><br><tt><font size=2>Agree with Paul, that's exactly what correlations
are designed for. What<br>may throw a spanner in the works is that the materials are at item level,<br>so you may need to work with a Scheduling Agreemeent item object. A less<br>elegant alternative is raise an event for each material when a scheduling<br>agreement is created.<br><br><br>On Tue, April 6, 2010 10:42 pm, Paul.Bakker@osr.treasury.qld.gov.au wrote:<br>> Michael,<br>><br>> Yep, this sounds like a good opportunity to use correlations. It's
a bit<br>> hard to get them to work the first time, but they are magic.<br>><br>> It will only work in your case if the 'scheduling agreement' (that
you are<br>> waiting for), can be identified by some (combination of) field values<br>> inside it<br>> (in your case, the material number(s)).<br>><br>> I would suggest you read the related SAP Help and blogs in SDN
(if you<br>> haven't done so already):<br>><br>> http://help.sap.com/erp2005_ehp_04/helpdata/EN/8d/25f07b454311d189430000e829fbbd/frameset.htm<br>> http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6976<br>> http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/14136<br>><br>> You may also need to implement OSS note 1335009.<br>><br>> Give that a go, and if you have any specific issues getting it off
the<br>> ground, please post them here.<br>><br>> cheers<br>> Paul Bakker<br>><br>><br>><br>><br>> michael.mcley@dai<br>> mler.com<br>> Sent by:
To<br>> sap-wug-bounces@m
sap-wug@mit.edu<br>> it.edu
cc<br>><br>>
Subject<br>> 07/04/2010 06:17
Wait Step for Unknown Object<br>> AM<br>><br>><br>> Please respond to<br>> "SAP Workflow<br>> Users' Group"<br>> <sap-wug@mit.edu><br>><br>><br>><br>><br>><br>><br>><br>> Hey All,<br>><br>> I have tried posting to this user group 1 time before with this question,<br>> but but I wasn't a member at the time and I get a "bad confirmation<br>> string"<br>> when I check the bounce. It's been > 3 days so I'm guessing
the first<br>> mail<br>> is gone. I hope I'm not double-posting or causing problems by
trying<br>> again.<br>> -----------------------------<br>> Anyhoo...<br>> I am working on a "new materials" workflow that has several
(let's call<br>> them) processes.<br>><br>> The first process is that a new material master record is created
and some<br>> work items go out to various users to adjust the material with some<br>> specific information. No problem here.<br>><br>> As a second process, I would like to wait for a scheduling agreement<br>> (purchase order) for this new material to be created and some more
work<br>> items sent out to adjust the scheduling agreement and a few other
things<br>> associated with the material. This is where I have my problem.
At the<br>> time the wait step is created, I do not have an object in the container
to<br>> represent the scheduling agreement (because it isn't created yet).<br>> Further, I believe the key for any scheduling agreement event uses
the<br>> document number and does not include the material. So how would
I create<br>> some kind of wait step for something like this?<br>><br>> The scheduling agreement references material numbers in each line
item,<br>> but<br>> a wait step seems to need the key of a scheduling agreement in order
to<br>> know that a specific event is meant for a specific workflow instance.<br>><br>> The users are definitely not looking for a general scheduling agreement<br>> workflow (that would affect all new scheduling agreements) - only<br>> scheduling agreements for new materials.<br>><br>> I have looked into something called a "correlation", but
so far I have not<br>> gotten it to work, and I'm not sure if it even will.<br>><br>> Any suggestions?<br>><br>> ... or maybe this doesn't make sense to anyone...<br>><br>><br>> Michael McLey<br>> MBUSI - IT Parts & Administration<br>> Mercedes-Benz US International, Inc.<br>> 1 Mercedes Drive<br>> Vance, AL 35490<br>> PHONE: (205) 462 - 5239<br>> EMAIL: michael.mcley@daimler.com<br>> If you are not the intended addressee, please inform us immediately
that<br>> you have received this e-mail in error, and delete it. We thank you
for<br>> your cooperation. _______________________________________________<br>> SAP-WUG mailing list<br>> SAP-WUG@mit.edu<br>> http://mailman.mit.edu/mailman/listinfo/sap-wug<br>><br>><br>><br>><br>><br>> ******************************************************************************************************************************************************<br>><br>> Only an individual or entity who is intended to be a recipient of
this<br>> e-mail may access or use the information contained in this e-mail
or any<br>> of its attachments. Opinions contained in this e-mail or any
of its<br>> attachments do not necessarily reflect the opinions of Queensland<br>> Treasury.<br>><br>> The contents of this e-mail and any attachments are confidential and
may<br>> be legally privileged and the subject of copyright. If you have
received<br>> this e-mail in error, please notify Queensland Treasury immediately
and<br>> erase all copies of the e-mail and the attachments. Queensland
Treasury<br>> uses virus scanning software. However, it is not liable for
viruses<br>> present in this e-mail or in any attachment.<br>><br>> ******************************************************************************************************************************************************<br>><br>> _______________________________________________<br>> SAP-WUG mailing list<br>> SAP-WUG@mit.edu<br>> http://mailman.mit.edu/mailman/listinfo/sap-wug<br>><br><br><br>_______________________________________________<br>SAP-WUG mailing list<br>SAP-WUG@mit.edu<br>http://mailman.mit.edu/mailman/listinfo/sap-wug<br></font></tt><br><font face="sans-serif"><font face="sans-serif, Arial, Helvetica" size="-1" color="#808080"><br>If you are not the intended addressee, please inform us immediately that you have received this e-mail in error, and delete it. We thank you for your cooperation.
<br></br>
</font></font>