Select-stament inside of Loop

Hello, i am stuck fixing this problem concerning ATC checks. 

LOOP AT it_vbak ASSIGNING FIELDSYMBOL(<vbak>).
      SELECT knumvkposnstunrkschlkdatukherkkinak
         FROM konv
               INTO TABLE @IT_konv
               WHERE knumv @<vbak>knumv AND
                     kdatu IN @s_kdatu AND
                     kposn IN @s_kposn AND
                     stunr IN @s_stunr AND
                     kschl IN @s_kschl AND
                     kherk IN @s_kherk AND
                     kinak IN @s_kinak.
    ENDLOOP.

I want to compare the tables, but because of the structure of konv and vbak I can’t seem to find a solution.

Scroll to Top