Skip to Content

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

abort bsp-application

Hello !

i have one question:


insert xy from w_xy.

insert ab from w_ab.

if sy-subrc <> 0.

message a001(xy).


if i have this code in a normal abap-Program it works fine and if i get the abort-message from the second insert, also the first is not done.

but if i have it in a on-input-processing in my bsp-application, i do get the errormessage (thats fine for me), but the first insert is done.

does anybody no why?

how can i abort my bsp-application immediately (like with the message a... in normal abap).

thanks very much for your help


Former Member

you can use the command


to rollback your changes in case of subrc <> 0.

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