SWHACTOR

Question: Good day all,
I have container 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
My AGENT_FICO container refer to SWHACTOR.
Is there any other structure that I can use since SWHACTOR has limitation length of OBJID field (only 12)

2. Is it possible to make AG Role as responsible agent in agent type 'Expression' ?

Answer:
Hi,

Why do you need an objid larger than 12. For a User or and organization objid you only have 12 char element.

If you want to store the role in SWHACTOR, the objid isn't the name but the role number.

Hope this helps,
_________________
Sérgio Teixeira

Answer:
Hi,

Why do you need an objid larger than 12. For a User or and organization objid you only have 12 char element.

If you want to store the role in SWHACTOR, the objid isn't the name but the role number.

Hope this helps,

Hi Sergio,
The reason I need larger than 12 is because need to store AG Role name that to be used as my responsible agent.
How to find AG Role id/ number?

Regards,

Maorriyan

Answer:
Hey...

SWHACTOR has two fields

Obect type = should of that Role (for Userid it is 'US')
Object id = your actual role number

~A.
_________________
~ @kimol.
Copyright ?2007 - 2008 www.jt77.com