abapOpenChecks icon indicating copy to clipboard operation
abapOpenChecks copied to clipboard

LOOP, first thing is IF

Open larshp opened this issue 9 years ago • 2 comments

LOOP AT it_asdf ASSIGNING FIELD-SYMBOL(<ls_asdf>).

  IF <ls_asdf>-obj_up IS NOT INITIAL.

... ENDIF.

  • nothing here ENDLOOP.

larshp avatar Feb 23 '16 07:02 larshp

another example,

        loop at lt_table into ls_foo.
          if ls_foo-start le sy-datum.
            append ls_foo to lt_result.
          endif.
        endloop.

larshp avatar May 04 '17 05:05 larshp

another example,

        LOOP AT lt_filter_select_options INTO DATA(ls_filter_select_options).
          IF ls_filter_select_options-property EQ 'MATNR'.
...
          ENDIF.
        ENDLOOP.

larshp avatar Oct 15 '18 12:10 larshp