Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Submit command does not return to Zprgm

Hi Experts

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.

Tags:
Former Member
replied

So just check existence of dump yourself (read SNAP or SNAP_BEG) and only submit standard report when some dumps are to be extracted.

Regards,

Raymond

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question