cancel
Showing results for 
Search instead for 
Did you mean: 

Header and item level approval using N level BADI

Former Member
0 Kudos

Hi Experts,

I beleive we can use either header level or item level approval workflow (WS14000133 and WS14500015) using N Approval-BADI. Please advise what information approval will be able to see if we will be using WS14000133 (Header level approval). Can he see all line item information or header level only.

Regards,

Kamal

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

In SRM the same BADI is used for SC, PO, Invoice and others as well.. If you see the example implementation provided by SAP, you can see the use of CASE statement with different Business Objects and code under it.

Irrespective of the Header level or Item level approval workflow the same BADI has to be implemented.

The difference between Header and Item Level approval is

1) In Header level, approval or rejection is done for the whole cart (there can be 1 item or multiple items).

Approver will be able to see all the items in the cart.

2) In Item level, approval or rejection is done for each and every line item. here is an example ---

Line item 1 has Cost Center as Account Assignment Category and has to be approved by Users A and B.

Line item 2 has Internal Order as Account Assignment Category and has to be approved by Users C and D.

Item 1 goes to user A and once approved, it goes to B. they will not be able to approve or reject item 2. but we can restrict user A and B to see item 2 or not by setting a flag..

Item 2 goes to user C and once approved, it goes to D. they will not be able to approve or reject item 1. but we can restrict user C and D to see item 1 or not by setting a flag..

The SC will get released only after all the items are approved.

For Header Level approval, you need to fill the APPROVAL_TABLE.

For Item Level approval, you need to make use of APPROVAL_TABLE, ITEM_APPROVAL_TABLE and ITEM_APPROVAL_OBJ.

Examples provided by SAP might give you an idea how to code for Header and Item Level.

Hope this gives you some information .....

Regards,

PR.

Edited by: PR on Nov 25, 2008 10:50 PM

Answers (0)