Suppose if I have a statement like this:
select * from city into table it_city_table
for all entries in it_metropolitans
where city_id eq it_metropolitans-city_id
and winter ne 'cold'.
Now if it_metropolitans was formed from joining several other tables together, the extended ABAP syntax check says that I need to transform this for all entries statement into a JOIN. But I'm not sure how this can be done.
I tried searching for how a for all entries statement can be transformed into a join online without much success.
You can only transform this Select-Statement into a Join if
it_metropolitanscan somehow be selected from the database. Then you would join the two tables usingcity_idas the join condition.Usually the extended check only complains if the internal table is selected somewhere close in the same form/method. See if you can find the source table for
it_metropolitansand join with that.