<div>Hi Mike,</div>
<div> </div>
<div>You mean enhance SWW_WI_COMP_EVENT_RECEIVE_IBF to 'Z' function module???<br><br></div>
<div class="gmail_quote">On Mon, Feb 14, 2011 at 5:37 PM, Mike Pokraka <span dir="ltr"><<a href="mailto:wug@workflowconnections.com">wug@workflowconnections.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">You should use conversion exits, all object kays should use the internal<br>values - i.e. with leading zeroes.<br>
<div>
<div></div>
<div class="h5"><br>On Sat, February 12, 2011 8:50 am, Srinivas Reddy wrote:<br>> Hi Mike,<br>><br>> Found the issue. The problem is when I am passing the object key<br>> (VBAK-VBELN) I am only passing 8 chars XXXXXXXX if I am passing 10 chars<br>
> 00XXXXXXXXXX its working fine. I believe the receiver function module<br>> SWW_WI_COMP_EVENT_RECEIVE_IBF when reading the record comparing the VBELN<br>> with Object key is failing. I havent debugged yet but I guess this should<br>
> be<br>> the problem. Any suggestions in fixing this issue.<br>><br>> On Fri, Feb 11, 2011 at 4:14 PM, Mike Pokraka<br>> <<a href="mailto:wug@workflowconnections.com">wug@workflowconnections.com</a>>wrote:<br>
><br>>> This would indicate your step is not waiting for an object with your<br>>> key.<br>>> Perhaps your object instance isn't behaving correctly? Check your LPOR<br>>> and<br>>> FIND_BY_LPOR methods.<br>
>><br>>><br>>> On Thu, February 10, 2011 5:55 am, Srinivas Reddy wrote:<br>>> > Hi Mike,<br>>> ><br>>> > When I debugged the t-code SWUE after passing the Zclass ,Zevent and<br>
>> the<br>>> > object key VBELN I found the<br>>> > cl_swf_evt_linkage_services=>get_type_linkages<br>>> > is returning initial values in the return table (EX_LINKAGES). Is this<br>>> the<br>
>> > problem?? If so how can I create a linkage??<br>>> > On Wed, Feb 9, 2011 at 8:18 PM, Mike Pokraka<br>>> > <<a href="mailto:wug@workflowconnections.com">wug@workflowconnections.com</a>>wrote:<br>
>> ><br>>> >> Sounds like a problem with your keys. You say you generate a unique<br>>> >> object<br>>> >> key but thent he event is based ont he sales order. The object types<br>
>> and<br>>> >> keys must match for an event to be linked to an object.<br>>> >><br>>> >><br>>> >> On Wed, February 9, 2011 11:37 am, Srinivas Reddy wrote:<br>>> >> > Hi Experts,<br>
>> >> ><br>>> >> > As per the requirement my workflow will trigger when a sales order<br>>> >> billing<br>>> >> > block is changed to submitted status. For this I have used the<br>
>> >> standard<br>>> >> > events CHANGED for BUS2096 with start condition to check Billing<br>>> block<br>>> >> =<br>>> >> > Z2.<br>>> >> > This is two level approval workflow. As the decissions are to be<br>
>> taken<br>>> >> > from<br>>> >> > the UI screen. I have created a blank method in a ZCLASS for<br>>> decission<br>>> >> > step<br>>> >> > with terminating events ZAPPROVE and ZREJECT. To get a unique<br>
>> object<br>>> >> key<br>>> >> I<br>>> >> > have coded FIND_BY_LPOR and LPOR method. For testing I have changed<br>>> >> an<br>>> >> > existing sales order billing block status to Z2, the workflow is<br>
>> >> getting<br>>> >> > triggered and waiting for the first level approval with the correct<br>>> >> agent<br>>> >> > I<br>>> >> > checked this in SWI1. After this to continue with the first level<br>
>> >> approval<br>>> >> > I<br>>> >> > tried to create an event in SWUE passing the ZCLASS and ZPPROVE<br>>> event<br>>> >> with<br>>> >> > the object key (Sales order), the workflow is not continuing.When I<br>
>> >> > clicked<br>>> >> > on Event Reciver tab I am getting a message "No active receiver<br>>> >> exists"<br>>> >> > and<br>>> >> > also in SWI1 I could see the ZCLASS with no istance. Please help<br>
>> where<br>>> >> am<br>>> >> > I<br>>> >> > doing wrong.<br>>> >> ><br>>> >> > --<br>>> >> > Thanks and Regards<br>>> >> > Srini..<br>
>> >> > SAP Technical Consultant<br>>> >> > <a href="mailto:srinivasa.reddy.oota@sap.com">srinivasa.reddy.oota@sap.com</a><br>>> >> > +919886760677<br>>> >> > _______________________________________________<br>
>> >> > SAP-WUG mailing list<br>>> >> > <a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>>> >> > <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
>> >> ><br>>> >><br>>> >><br>>> >> _______________________________________________<br>>> >> SAP-WUG mailing list<br>>> >> <a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
>> >> <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>>> >><br>>> ><br>>> ><br>>> ><br>>> > --<br>
>> > Thanks and Regards<br>>> > Srini..<br>>> > SAP Technical Consultant<br>>> > <a href="mailto:srinivasa.reddy.oota@sap.com">srinivasa.reddy.oota@sap.com</a><br>>> > +919886760677<br>
>> > _______________________________________________<br>>> > SAP-WUG mailing list<br>>> > <a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>>> > <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
>> ><br>>><br>>><br>>> _______________________________________________<br>>> SAP-WUG mailing list<br>>> <a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>>> <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
>><br>><br>><br>><br>> --<br>> Thanks and Regards<br>> Srini..<br>> SAP Technical Consultant<br>> <a href="mailto:srinivasa.reddy.oota@sap.com">srinivasa.reddy.oota@sap.com</a><br>> +919886760677<br>
> _______________________________________________<br>> SAP-WUG mailing list<br>> <a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>> <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
><br><br><br>_______________________________________________<br>SAP-WUG mailing list<br><a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Thanks and Regards<br>Srini..<br>SAP Technical Consultant<br><a href="mailto:srinivasa.reddy.oota@sap.com">srinivasa.reddy.oota@sap.com</a><br>+919886760677<br>
<br>