for all entries - dont understand

https://www.youtube.com/watch?v=opVqOM7y8wM 


REPORT ytest_joins.

SELECT FROM spfli WHERE countryfr 'US'
  INTO TABLE @DATA(it_spfli).
IF it_spfli IS NOT INITIAL.

  SELECT carridconnidfldate FROM sflight
    FOR ALL ENTRIES IN @it_spfli
  WHERE carrid @it_spfli-carrid
  AND connid @it_spfli-connid
    INTO TABLE @DATA(it_sflight).
ENDIF.

DATA(lineslinesit_sflight )"number of lines

cl_demo_output=>displayname | { lines } | data it_sflight ).

Comments

Popular posts from this blog

sap abap import from excell to table (transparent table)

sap abap Import from excell to internal table that works 100%