Skip to Content
0
Aug 24, 2015 at 07:01 PM

Submit - Handle error message

637 Views

Does anyone know if it's possible to handle error messages is submit statement?

I need it because I'm using submit inside a loop, and when error message occurs, it stops.

LOOP AT t_customer INTO w_customer.

cl_salv_bs_runtime_info=>set( EXPORTING display = abap_false

metadata = abap_false

data = abap_true ).

SUBMIT rfdkli41

WITH kunnr = w_customer-kunnr

WITH kkber = p_kkber

WITH rasid = p_rasid

WITH xc30 = p_xc30

WITH horda = p_horda

EXPORTING LIST TO MEMORY AND RETURN.

....


Thanks!