Easy way to get object (database) attribute in to workflow

Rick Bakker rbakker at gmail.com
Mon Jan 18 18:19:31 EST 2010


Hello,

"I have copied a business object in swo1 and added some new database
attributes in to it."
Was that really necessary? With subtypes and delegation you could just
add attributes to the existing BO.

"Please can you give me an idea of how I would now get these
attributes in to my workflow."
Is it an existing workflow? Is it the main object of that workflow? If
so, you don't have to do much, just reference the new attributes - if
you use delegation.

Otherwise, you would have to create a task to instantiate the object
(using SYSTEM method GENERICINSTANTIATE) call that task in a workflow
step and pass the object instance to the workflow. That's more
flexible than passing separate attributes.

regards
Rick Bakker
Hanabi Technology


On Mon, Jan 18, 2010 at 12:46 PM, Shoaib Mirza <shoaib_mirza at hotmail.com> wrote:
> Hi
> Urgent fix required for a customer.
> I have copied a business object in swo1 and added some new database
> attributes in to it. I've been away from workflow for a while so I'm a
> little rusty!
>
> Please can you give me an idea of how I would now get these attributes in to
> my workflow. I know I have to instantiate the object so, do I have to also
> create a method, instantiate in the method, and then pass the attribute
> values in to the result parameter in this method; and then bind to wf
> container elements?
>
> Thanks
> Sunni
>
>
> ________________________________
> We want to hear all your funny, exciting and crazy Hotmail stories. Tell us
> now
> _______________________________________________
> 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