friends,
good..i need to write a condition in QA11 (Record usage decision)..i found that there are 9 available exits..In QA11, there are two tabstrips, the second one (Inspection lot stock) is the one where i need to keep an exit based on a condition...but in none of the exits, the PAI (after entering the quantity in the corresponding fields) is getting fired...but in the enhancement QEVA0007, which is actually meant for a different purpose (UD: Control of compulsory comment or long text presetting), the PAI is getting fired...the values of the fields are getting populated in the structures avbl in it, but it's firing only when I SAVE it...i have triggered an error message in that exit, but when I execute the txn, it is getting displayed as an information message and the lot data is getting saved..when i debugged that exit, i found that subrc is 2 and if it's 2, message type is changing to 'I' (ref. MQEVAF34)..how to overcome this prob.? Or is there any other exit where my requirement can be fulfilled? Pl shed some light friends...thanks all