Passing data from Custom Role to workflow

Bob Tan tanbobby at yahoo.com
Wed Mar 8 05:52:14 EST 2006


Reasons on why data needs to be calculated during role
resolution aside. 

The fact of the matter is that SAP allows for such
returned element to be passed back from the role. 

Go to the container tab in PFAC and you will see an
icon that says 'add returned element' (ECC 5.0).

I have also tried utilizing this feature but failed. I
am able to successfully create the container element
in the role. I used the macro SWC_SET .... to populate
the container element. But during runtime, no values
are passed back into the container element. 

Appreciate any help if anyone has successfully used
this feature. 

Thanks in advance.


--- Mark Pyc <mark.pyc at gmail.com> wrote:

> G'day Ashkay,
> 
> Maybe a rethink in design is necessary. Why is there
> extra information being
> determined during Role Resolution?? If there is data
> that needs to be
> calculated and stored then maybe you should consider
> virtual attributes or
> functional methods which can be called prior to the
> role. The Role
> resolution can be simplified  by passing this
> relevant data in...
> 
> Just a thought.
> 
> Have fun,
> Mark.
> 
> 
> On 08/03/06, akshay.bhagwat at wipro.com
> <akshay.bhagwat at wipro.com> wrote:
> >
> > Hi All,
> >
> > I'm sure some days back I have come across similar
> post, but I lost it ,
> > rather not able to find it. So bare with me if
> this is a repeat question.
> >
> > I want to build role resolution using function
> module and in it along with
> > agents  I want to return some other data to
> workflow.
> > Whether it is possible to pass other data apart
> from agents from role
> > container to workflow?
> >
> > Waiting for your inputs.
> >
> >
> > Regards,
> >
> > Akshay Bhagwat
> >
> > SAP Practice
> >
> > *Wipro Technologies*
> >
> > **': +91 20 2293 3700 x 3608
> > Fax: +91 20 2293 3756
> >
> >
> > The information contained in this electronic
> message and any attachments
> > to this message are intended for the exclusive use
> of the addressee(s) and
> > may contain proprietary, confidential or
> privileged information. If you are
> > not the intended recipient, you should not
> disseminate, distribute or copy
> > this e-mail. Please notify the sender immediately
> and destroy all copies of
> > this message and any attachments.
> >
> > WARNING: Computer viruses can be transmitted via
> email. The recipient
> > should check this email and any attachments for
> the presence of viruses. The
> > company accepts no liability for any damage caused
> by any virus transmitted
> > by this email.
> >
> > www.wipro.com
> >
> > _______________________________________________
> > 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
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the SAP-WUG mailing list