‎2009 Mar 11 11:15 AM
Hi Experts,
Im populating an error message in the standard transaction (VA03) to restrict the user from viewing the print preview of the document. The error message works perfectly well in the initial screen of the transaction. But when the same functionality is performed after entering into the document, its getting converted to an Abort message. Using the other message types as I,W,.. does not serve my purpose.
Is it anything to do with the screen number? What could be done to change the message type?
‎2009 Mar 11 12:17 PM
Hi,
as mentioned earlier the soultion provided is perfect use can use the message "message'' display like 'E'.
since the list or the document is not been generated and their is no screen as such the program goes for an abort status.
but when we have a screen than the Error message triggers the initial screen.
go with the solution provided..
it will work ..
thanks
‎2009 Mar 11 11:17 AM
HI
try below
message s000(00) with 'Message' display like 'E'hope it works
Thanks!
‎2009 Mar 11 12:17 PM
Hi,
as mentioned earlier the soultion provided is perfect use can use the message "message'' display like 'E'.
since the list or the document is not been generated and their is no screen as such the program goes for an abort status.
but when we have a screen than the Error message triggers the initial screen.
go with the solution provided..
it will work ..
thanks
‎2009 Mar 12 4:58 AM
Hi,
Thank you for your replies. But i cant check whether your suggestion will work or not because the statement "display like 'E'" is throwing syntax error. In one server its working and in the other its not. Probably due to some difference in the version.
Anyway i solved the issue by keeping an information message instead and cleared the sy-ucomm value after the message.