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

Agents determination using function module in Rule

Former Member
0 Likes
2,907

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
Eddie_Morris
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Sanj,

If you want to see the data passed into your function at runtime then set a breakpoint in your function and in the same session open PFAC and test the rule with the Simulate button. Execution should stop at the breakpoint and you can see the data held in the parameters. If it does not stop at the breakpoint then create an SAP shortcut on your desktop with:

Type: System Command

Command: /h

When you simulate the ruleyou get the popupand enter the test data. Now drag the shortcut over the 'Continue' button and now you are in de mode.Now just set a breakint in your function and it will stop there and you can check the data.

Regards,

Eddie