1 способ
1 2 3 4 5 6 7 8 9 10 |
LOOP AT t_ret INTO DATA(s_ret) WHERE type = 'E'. ENDLOOP. IF sy-subrc <> 0. COMMIT WORK AND WAIT. ELSE. cl_mess->add_message( it_bapiret = t_ret ). ROLLBACK WORK. ENDIF. |
2 способ. Новый синтаксис.
1 |
if line_exists( t_ret[ type = 'E' ] ). |