Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

QA11 USER EXIT

Former Member
0 Likes
530

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

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

1 REPLY 1
Read only

Former Member
0 Likes
466

check for a BADI for QA11 which might help U...Using se24 go to the class definition of badi and check which one is revelant...