Application Development 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: 

screen: illegal message in asset user exit

Former Member
0 Kudos

hi all,

I have done some validations in asset master user exit for some of the field while creating asset.

If for some valiation I put an error or warning message i.e.

message e001(zclass).

It just holds the screen and I cannot change the values. If I click BACK or EXIT button then it gives short dump saying:

screen: illegal message

During "Exit Command" processing, the program tried to send a " " message.

This is not allowed at this point in processing.

The program had to be terminated.

Screen name.............. "SAPLAIST"

Screen number............ 1000

Please advise.

Regards,

FS

2 REPLIES 2

Former Member
0 Kudos

Solved. Actually on the buttons i.e. back, exit it was passing message as blank. So i added the check that the Exit routines should be performed except of these buttons.

0 Kudos

Can u explain with example how you perfomed the check for the exit routine.

Thanks,

Noufal.p