08-25-2014 12:56 PM
e Hi,
I have updated code into the USER EXIT for the QA Usage decision.
I have maintained message and assignment of the type 'E' into the OMCQ transaction ,
My code in USER EXIT is
IF i_rqeva-vmenge04 <> i_rqeva-anz_fehler.
MESSAGE e100(m7) .
ENDIF.
But system is showing Only Information message.
It requires to be error message.
With Regards,
Deven
08-25-2014 1:29 PM
08-25-2014 1:02 PM
08-25-2014 1:14 PM
08-25-2014 1:16 PM
Hi,
please have a look at this thread (it is no solution, only for information):
http://scn.sap.com/thread/265301
Regards,
Klaus
08-27-2014 5:45 AM
Hi.
I have updated like following,
But system shows display message only.
How to set continue and cancel button as system is showing syntex error.
IF i_rqeva-vmenge04 <> i_rqeva-anz_fehler.
* MESSAGE e100(m7) with ' Blocked Quantity Not Equal To Defects quantity.'.
CALL FUNCTION 'POPUP_DISPLAY_MESSAGE'
EXPORTING
TITEL = 'Error Message'
MSGID = 'M7'
MSGTY = 'E'
MSGNO = '100'
MSGV1 = 'Data input error'.
IF SY-UCOMM = 'OKAY'. "*Continue button
...
ELSEIF SY-UCOMM = 'RW'. "*Cancel function
...
ELSE.
...
ENDIF.
ENDIF.
08-27-2014 5:53 AM
Hi,
Instead you may use POPUP_TO_CONFIRM and Perform your task according to user Choice.
08-25-2014 1:29 PM
08-28-2014 10:26 AM
Hi,
It is working now ,But i have doubt whether it is Best practice,
I have select following coding,
System first choosen Error Dialogue and then exit screen with Dump.
Pl. suggest.
IF i_rqeva-vmenge04 <> i_rqeva-anz_fehler.
CALL FUNCTION 'POPUP_DISPLAY_MESSAGE'
EXPORTING
TITEL = 'Error Message'
MSGID = 'M7'
MSGTY = 'E'
MSGNO = '900'
MSGV1 = 'Data input error'.
MESSAGE ID 'M7' TYPE 'X' Number '900'.
Write : 'Error'.
ENDIF.
08-28-2014 11:02 AM
If its giving Dump then definitely its not a Good Practice.
The point where you are coding might be executed in Update Task , so for that reasons try with some other alternatives.
Try with BADI alternatives or any other EXITs if available ,
And in the end if everything fails a good debug job with the transaction may end you up with a suitable point where you can Implicitly Enhance and fit in your code.
09-25-2014 6:26 AM
Hi,
Issue is resolved by coding to the std Program,
Thanks for your valuable inputs,
With Regards,
Devendra
09-25-2014 6:30 AM
08-28-2014 10:38 AM
Hi Devendra,
Please refer below
message id 'XXX' type 'E' number 'YYY'
with ABC .
Regards,
Thangam.P