Skip to Content

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

clarification on selection screen

HI All,

can any one of you please suggest me how to return back to selection screen after an information message is triggered.

actually my code is:

start-of-selection.

select stmt.

if sy-subrc ne 0.

message i000 with 'enter valid entries'.

endif.

end-of-selection.

write:/ 'no of records selected', records.

my requirement is like as soon as select stmt get fails ian information message should get popup and when i press enter i should return back to selection screen.

but here i'm getting end-of-selection get executed.

thanks

Tags:
Former Member
Former Member replied

After your message statement message i000 with 'enter valid entries', put the below line.

leave list-processing.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question