Skip to Content

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

return to the selection screen after error message.

hello friends,

I have selection screen report using screen (Call screen 2001)

In Start-of-selection

i have used 1 perform and 1 more in the first perform. And checking condition in the second perform.

My requirement is if condition is not satisfied, disply error message and return to the selection screen.

e.g.

Start-of-selection.
PERFORM process1.


FORM process1.
	------
	------
	PERFORM process2
ENDFORM.


FORM process2.
	------
	------
	IF sy-subrc <> 0.
		Display error and return to the selection screen.
	ENDIF.
ENDFORM.

Can we do that?

Regards,

RH

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