on 05-14-2012 6:06 AM
Hi Experts,
How to use AC_CONTAINER & ACTOR_TAB tables in RULE in workflow.
I came to know that ac_container is for Input and actor_tab is for output. Can you please explore about these 2 tables.
If possible give me an example
Regards
Krishhna
Hi
AC_CONTAINER will have all the container elements that you want to make use in determining the approves you will have all those elements populated in this importing table parameter.
you can access the container elements by making use of MACROS
SWC_GET_ELEMENT <CONTAINER> <ELEMENT NAME> <VARIABLE TO HOLD VALUE>
ACTOR_TAB is some thing you populate the agents based on the object type
like
OBJECTYPE - US
OBJID = <SAPUSERNAME>
OBJTYPE - "S"
OBJID = <POSITION ID>
For example you can check the rule 168 from PFAC transaction
Regards
Pavan
Message was edited by: Pavan Bhamidipati
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You should not give any input to the function module you have to assign the rule in the Workflow step which you want to send for user action.. You cannot populate the ac_container parameter. You have to define the binding from workflow container to rule container.
If you are looking to debug function module from se37 then what you can do is click CTRL+F7 and it opens in debug mode then you try to chnage the values of the container elements in the debug mode.
US is User
P is Person Pernr
S = Position
O = Organization
C = Job
Regards
Pavan
Hi,
AC_CONTAINER & ACTOR_TAB both are use for output. Nothing is for input.
If you want to pass input then you have to use like PAVAN mention.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the SAP Press book SAP Practical Workflow 2nd Edition, on page 430 [Agent Determination Rules], it says about AC_CONTAINER, that it is the incoming container, and about ACTOR_TAB, that it is the outgoing list of agents [in agent format].
So, either the affirmation above is not true, or AC_CONTAINER and ACTOR_TAB change incoming and outgoing roles depending on the context in the WF where they are used. I am not 100% sure as I am learning WF as I type, but wanted to share what we found just in case our comment is correct and the uniqueness of incoming/outgoing role for those objects is applicable anywhere in WF.
For now, we know that for rules is what we wrote above.
Regards,
Juan
PS. Late answer, but who knows who may find the same answer in the future, and needs to get a clearer picture.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.