loop on an internal table and creating a range of all vbelns, which can use later in conditions for example.
WHERE vbeln IN lr_vbeln.
loop on an internal table and creating a range of all vbelns, which can use later in conditions for example.
WHERE vbeln IN lr_vbeln.