Skip to Content
Former Member
Feb 10, 2012 at 02:13 PM

Rejection reason



I have a requirement as below.

Whenever the shopping cart will be rejected by any of the approvers, the reason for rejection needs to be provided.

We need to Capture the decision as rejected whenever a shopping cart is rejected at either line item or header level, if itu2019s rejected make NOTM(Approval Note) at the LONGTEXT level mandatory for the user to provide in the reason of rejection.

If the user doesnu2019t provide in the reason for rejection, an error message should be thrown to enter the reason of rejection.

I suggested in one of the SDN link "",I created a pre exit to methods approve and reject methods of the class " /SAPSRM/CL_CH_WD_BOM_SC".But when I try to reject the SC at item level ,control is not going to my pre exit methods.

Can naybody please guide me on this to acheive my requirement?