Any Function Module to find the Agents of Rule in Background
Márton Zsolt
Zsolt.Marton at t-systems.co.hu
Thu Dec 21 04:10:00 EST 2006
Hi Swathi,
You could try the FM RH_STRUC_GET with following code
call function 'RH_STRUC_GET'
exporting
ACT_OTYPE = object
ACT_OBJID = objid
ACT_WEGID = 'SAP_TAGT'
ACT_PLVAR = act_plvar
ACT_BEGDA = datum
ACT_ENDDA = datum
tables
RESULT_TAB = result_tab
EXCEPTIONS
NO_PLVAR_FOUND = 1
NO_ENTRY_FOUND = 2
OTHERS = 3.
Cheers
Zsolt
________________________________
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Swathi_Devireddy
Sent: Thursday, December 21, 2006 6:56 AM
To: SAP Workflow Users' Group; SAP Workflow Users' Group
Subject: Any Function Module to find the Agents of Rule in Background
Hi,
I have a situation where the input parameters for my Rule differ.
And my WorkItem should be sent to all of them .
Say Once i need to Company Code to the Rule .
But i want to aggregate the users for both the company Code s
So I cannot do the binding.
So i want to execute the Rule in Background and consolidate all the users
in an iinternal Table and pass it through an expression.
I know the Rule number and Input parametrs.
Is there any Function Module to Determine the Agents of that rule.
Thanks & Regards
Swathi Devireddy
HCU-SAP
Satyam Computer Services Ltd
* : +91 44 6623 4796
* : +91 9884739090
________________________________
DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20061221/4bc83b6b/attachment.htm
More information about the SAP-WUG
mailing list