on 06-01-2015 1:33 PM
For CATS approval, we are using BADI_CATS_APPROVAL~DETERMINE_APPROVER to assign agents to standard task TS31000007. Export parameter RV_APPROVER from the BADI method is not a table, so we are not able to allocate multiple 'US' objects directly. We have tried to use a role as an object, objecttype 'AG', but this does not seem to work. Any ideas on how else to add multiple agents to the workitem using the BADI? If role (AG) as an object type is not accepted, which object types (other than user (US) ) are then valid in the BADI? Regards, Karin.
You could check if you can achieve the functionality by the default rule for the task (and not use the BADI at all) - see transaction PFTC and its default rules tab. (Of course you might not want to change the standard task, but create a copy of it first, and then change the task ID in the configuration to your own copied task).
Another option could be that you would create a simple workflow and use that instead of the task for your CATS approval. And of course within a workflow template you can do whatever you want (mainly create your own custom rule).
Regards,
Karri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
If you look at Task TS31000007 in PFTC > "Default Rules" , you will see a rule no 00000157(Chief) linked to it. You can change this rule to your cuustom rule to support multiple approvers.
"For working times that you do not want to be approved by the chief, you use the BADI_CATS_APPROVAL Business Add-In to determine the recipient."
Instead of using a Role AG , you can try Position S in BADI code to see if the multiple agents are supported. If not, you can raise an OSS message to report this issue.
Regards
Sandy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.