Instance not getting created

Mike Pokraka wug at workflowconnections.com
Mon Feb 14 07:07:58 EST 2011


You should use conversion exits, all object kays should use the internal
values - i.e. with leading zeroes.

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





More information about the SAP-WUG mailing list