Instantiate class object type

Mike Pokraka wug at workflowconnections.com
Wed Mar 10 10:41:16 EST 2010


This is usually a problem with the BI_PERSISTENT LPOR methods, but in your
case there's no need for a task. Create a static functional method with
your key as a parameter and use it directly in a step binding or container
operation:
&MYOBJ_CL&  <=  %ZCL_MYOBJ.GET_INSTANCE( &MYOBJ_BO.KEY& )%


On Wed, March 10, 2010 2:45 pm, Shai Eyal wrote:
> Hi all,
>
> This is quite weird but I'm probably missing something. I've create a new
> class. Testing it via SE24 works perfect for me. However getting the
> object instant into the workflow does not work.
> My workflow starts with BOR object event and during the flow I would like
> to instantiate the class object type.
> I tried to create a task that runs method CREATEINSTANCE. When I execute
> method CREATEINSTANCE via SE24 it returns the object correctly. However
> when I execute it via task, the binding resolve with nothing.
>
> What am I missing?
>
> Thanks,
>
>  
> Regards,
> Shai Eyal
> SAP Logistics senior consultant
> SAP Workflow & BPM specialist
> http://www.linkedin.com/in/shaieyal
> Mobile: 972-52-5816633
>
>
>       New Email names for you!
> Get the Email name you&#39;ve always wanted on the new @ymail and
> @rocketmail.
> Hurry before someone else does!
> http://mail.promotions.yahoo.com/newdomains/aa/_______________________________________________
> 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