SAP Tutorials Blog


 


A SELECT loop can be specified with the syntax SELECT ... ENDSELECT.. In the following example, the row found and returned in a structure declared inline can be processed further.


SELECT FROM zdemo_abap_fli

  FIELDS *

  WHERE carrid = 'AZ'

  INTO @DATA(ls_sel_loop).

      

  IF sy-subrc = 0.

    ...

  ENDIF.

ENDSELECT.




Serkan AKKAVAK

Computer Engineer BSc

Head of SAP & Software Department

Contact : serkurumsal@yandex.com