cancel
Showing results for 
Search instead for 
Did you mean: 

BADI_CATS_APPROVAL

Former Member
0 Kudos

Hi,

I have the requirement that if a manager records time on behalf of his employee from 'ESS in MSS' then it should not go for approval to the manager again.

For this we have carried out the following configruation:

1. Created a CATS profile selecting option for Approval as 'With Approval procedures for Exceptions'.

2. The feature CATEX has been setup to return '0' - Approval not required.

3. The 'CHECK_APPROVAL_BY_EXCEPTION' method has been implemented in the BADI_CATS_APPROVAL where we have coded that if the manager is the created of the request, then the return value for of this method is '0' , i.e approval not required.

However, when we are recoding time from the RWT, the workitem is going for approval. WHen we put in a external breakpoint in the BADI, and we try booking time from RWT, then the BADI does not get triggered at all.

Can anyone please where i am going wrong?

Thanks.

Pinki

Accepted Solutions (1)

Accepted Solutions (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

have you checked exception in cac1?

You implement the CATS_APPROVAL enhancement spot with the

BADI_CATS_APPROVAL Business Add-In.

Here you can DETERMINE_APPROVER method.

Please read more here :

http://help.sap.

com/saphelp_erp2005vp/helpdata/en/fd/697b423737dc54e10000000a155106/

frameset.htm

Answers (0)