Finding the instance of an object when you know the key

Michael Pokraka workflow at quirky.me.uk
Mon Mar 15 13:33:35 EST 2004


Hi Pat,
Two options: Use the wizard 'Create Object Reference', or if that's not
available (you don't mention your version) then roll your own task using
SYSTEM.GENERICINSTANTIATE.
 
Cheers
Mike
 
Patrice Nolin wrote:
> Hi,
>
> I'm trying to do something but I'm wondering if my solution is the best=
.
>
> We have some workflows where we receive the key of a object as a parame=
ter
> and we want to instantiate an object with that key.
>
> Now, we will probably just define a method on each object that will sea=
rch
> and return the object found.
>
> Is it the right approach ?
>
> Is there a generic object or function that can be use for that ?
>
>
> Thanks
>
> Pat
>
>
 


More information about the SAP-WUG mailing list