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

Qm02 completing the notification process while saving without fieldvalidate

Former Member
0 Likes
1,347

In qm02 when I press complete button based on condition it should come out from complete process but for me when I through an error in user Exit. Then the save button is in enable mode and when I press save.It over comes the error and completing the notification.

Please give me some suggestions on this query.

Edited by: SAP@AMS on Aug 18, 2010 7:47 PM

5 REPLIES 5
Read only

Former Member
0 Likes
958

Did you code the error message as an Error (E)? If you used W or I or S, the program will continue upon ENTER. Your code needs to manage what user can do at that point.

Read only

0 Likes
958

Raised an error MESSAGE ID '00' TYPE 'E' NUMBER '007' WITH 'Cause code'.Still I am facing the same Problem.

Still getting same issue.

Thanks,

AMS

Read only

Former Member
0 Likes
958

Raised an error MESSAGE ID '00' TYPE 'E' NUMBER '007' WITH 'Cause code'.Still I am facing the same Problem.

Still getting same issue.

Thanks,

AMS

Read only

0 Likes
958

Hi,

Try to use


MESSAGE s208(00) WITH text-w01 DISPLAY LIKE 'W'.

where text-w01 is your warning message.

What QM user exit did you use? In which part of change inspection lot do you want the error or warning message to be prompted?

Regards,

JQC

Read only

0 Likes
958

Thank u every one for your excellece contribution towards us.I got a solution and this Thread was resolved.In future refference I am placing the solution also so it may help some time.

I am raising a error message on a field which stops compleate flag in qm02.I am succeed in raising the message after error the compleate flag in disable mode.But when I click save even compleate flag in disable mode notification is getting compleated.

Soulution:

We need to use error message in user exit before validating the compleate flag.because After validation of completing flag it alredy stored in buffer so when we press save the completion is releasing directly.

Thanks,

AMS