SWHACTOR Structure

Maorriyan maorriyan_santoso at yahoo.com
Wed Dec 29 06:43:23 EST 2004


Hi Serge,
I'm happy there's somebody out there answering my
questions.
Definetly we can assign AG Role directly from agent
step definition bu I have requirement to get AG Role
in my method based on material type and plant then
pass it     
as my responsible agent. Then later every user that
has same role will receive same notification.
According to your e-mail what I did is not the correct
approach isn't it?

 --- Serge Boulay <Serge.Boulay at n-spro.com> wrote: 
> Hi Maorriyan,
> 
> Normally you should use «Role» directly from the
> Agents step definition
> instead of «Expression». SWHACTOR normally returns
> User IDs, Positions,
> Jobs,... 
> 
> You can also create a role (maybe there is one
> already) through PFAC that
> would return all the objects assign (US, S, ...) to
> the role you want to
> use. You then use that standard role in your step
> definition using «Rule».
> 
> Hope this helps.
> 
> Serge
> 
> 
> -----Message d'origine-----
> De : sap-wug-bounces at mit.edu
> [mailto:sap-wug-bounces at mit.edu] De la part de
> Maorriyan
> Envoyé : 28 décembre 2004 06:18
> À : SAP Workflow Users' Group
> Objet : SWHACTOR Structure
> 
> Good day all,
> 1. I have container AGENT_FICO to store AG Role that
> refer to structure SWHACTOR. This container is going
> to be used as responsible agent. 
> after statement swc_set_element container
> 'Agent_FICO'
> agent executed, AGENT_FICO is truncated:
> OTYPE: AG
> OBJID:Z:MM_MAT_MAS
> Originaly my role is Z:MM_MAT_MASTER
> Is there any other structure that I can use since
> SWHACTOR has limitation length of OBJID field (only
> 12) or is there a way to find AG Role Id?
> 
> 2. Is it possible to make AG Role as responsible
> agent
> in agent type 'Expression' ?
> 
> Regards,
> 
> Maorriyan
> 
> =====
> Maorriyan
> 
>
________________________________________________________________________
> Yahoo! Messenger - Communicate instantly..."Ping" 
> your friends today! Download Messenger Now 
> http://uk.messenger.yahoo.com/download/index.html
> _______________________________________________
> 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
>  

=====
Maorriyan

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html


More information about the SAP-WUG mailing list