return to the selection screen after error message.
I have selection screen report using screen (Call screen 2001)
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.
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?