cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Agents determination using function module in Rule

Former Member
0 Likes
2,906

HI All,

I need to use SAP standard rule 75700139 in my fucntion module for determininig user id and based on user id for task user details are fetched.

When the rule is executed from PFAC values are entered and a key is generated wirh fetches required agents.

But i want to use function modulwe in rule directly.

PArameters are -

TABLES

ACTOR_TAB STRUCTURE SWHACTOR

AC_CONTAINER STRUCTURE SWCONT

Can anybody guide how function module can be directly used and what and how values are to be filled in these parameters.

Thanks.

View Entire Topic
vimalv
Active Participant
0 Likes

Hello Sanj,

ACTOR_TAB will be the table returned from the Function Module. It will contain the Agents determined from the Rule.

AC_CONTAINER is the Container from your Workflow/task.

It should contain entries for elements CHANGE_REQUEST, APPSTEP, SINGLE_PROC and AGENT_FILTER.

AGENT_FILTER is optional.

You can execute the FM in SE37 Test mode and fill the values and test.

Hope this helps.

Former Member
0 Likes

CHANGE_REQUEST is not a normal value. Its key generated through F4 help of PFAC while simulation.

Key generated for req 257 is BUS2250 000000000257000000 .

Kindly guide how this key could be obtained.