We have a scenario to implement in SRM 7.02 SC Item based Workflow : Item 1 & Item 2 need different levels & approvers dynamically.
I understand for this I need to use BADIs - Process Config followed with Agent Determination Badi. I have already implemented the same, but facing below issue. Please share your expert opinion on the same.
Issue Description :-
We have dynamically created Process Levels via Process config Badi based on number of approvers for each item set based on a ztable, & we in Process Config badi we looping are in item & inside looping approvers and creating process levels for each item levels seqno like 100, 200,300...
But even though in code Level Seqno for item 1(3 levels) is set as 100, 200,300 and for item 2(2 levels) is 100, 200 still when viewed in Portal Approval tab, approver levels coming in sequence for item 1 & 2 with each item having 5 levels (Item 1 - 3 levels + Item 2 - 2 levels), with unused levels as System.
Item 1 Item 2
Level 100 - Approver A System
Level 200 - Approver B System
Level 300 - Approver C System
Level 400 - System Level 100 - Approver D
Level 500 - System Level 200 - Approver E
Though Ideally it should be seen like below in portal for each item:-
Item 1 Item 2
Level 100 - Approver A Level 100 - Approver D
Level 200 - Approver B Level 200 - Approver E
Level 300 - Approver C
Please suggest what could be the issue here.