Interface of Function Module for Agent Determination
Use
The interface of a function module for rule resolution is described by the following parameters:
Table Parameters
AC_CONTAINER, Reference Structure SWCONT
Rule container with rule-specific parameters that must be available as input values for rule resolution.
ACTOR_TAB, Reference Structure SWHACTOR
Table with results of rule resolution as return values.
The SWHACTOR structure has the following logical appearance:
|
Field Name |
Type |
Length |
Short text |
|
Otype |
CHAR |
2 |
Object type in Organizational Management |
|
ObjID |
CHAR |
12 |
ID of object in Organizational Management |
The structure consists of two fields:
-
OType includes a two-character character field that contains the identification of the object type in Organizational Management. At this time, the following object types are permitted as the result of rule resolution:
O
Organizational Unit
S
Position
C
Position
A
Work center
US
User name
P
Person (PD master data)
The entries for OType are checked against table T779O.
-
ObjID includes a twelve-character character field that contains the identifying name of a user and/or the unique ID (eight-digit number) of an object in Organizational Management.
-
Exceptions
If the function module for rule resolution is exited via the NOBODY_FOUND exception, or the ACTOR_TAB table is returned empty, the status of the Cancellation for rule resolution without result for further procedure indicator is decisive. For more information, see Cancellation for Rule Resolution Without Result.