on ‎2012 Jan 23 4:27 PM
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.
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.