Submit command does not return to Zprgm
I have created one z program to extract the short dumps for the current date and append into excel. I have used submit command which calls the below program
SUBMIT rsshowrabax WITH s_datum EQ sy-datum AND RETURN.
The problem is where there are no dumps, system displays the error message "No short dump matches the selection criteria". and control does not return to my zprgm.
I have also tried using EXPORTING LIST TO MEMORY like below.
SUBMIT rsshowrabax WITH s_datum EQ sy-datum EXPORTING LIST TO MEMORY AND RETURN .
But it is also not working. As the control is not returning, I'm not able to execute other piece of code in my zprogram.
Kindly assist me.