I developed one report.and I wrote some code in start-of-selection event.Here I didot get any data. Now I want it will show message 'no record found' at the same selection screen.
select some value.
if sy-subrc ne 0.
message 'no record found' type 's'.
leave to screen.
in the above code our screen is go out. I dont want type 'E'.