on 03-31-2009 11:28 AM
Hi SRM Gurus,
In the N-Step approval BADI code, can I use expressions in determining the agent? Something like this:
CASE actual_approval_index.
WHEN 0.
ls_approver-approval_index = 1.
ls_approver-approval_agent = '&AGENT_0001.AGENTS&'.
ls_approver-name = 'Immediate Superior'.
ls_approver-approval_description = 'First approval step'.
APPEND ls_approver TO approval_table.
Would this be possible? Through this way, the system can dynamically determine that the next approver is the immediate manager of the WF initiator.
Or I got it wrong?
Regards,
Hello Marvin,
As far as I know we cannot use these kind of expressions. We will have to pass the real approver objects.
In your case you can find out the manager and then pass the user-id of the manager.
Rgds,
Prasanna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.