Example Select.
select vbelv posnv vbeln posnn vbtyp_n into table it_vbfa
from vbfa
for all entries in it_vbap
where vbelv = it_vbap-vbeln
and posnv = it_vbpa-posnr
Example Select.
select vbelv posnv vbeln posnn vbtyp_n into table it_vbfa
from vbfa
for all entries in it_vbap
where vbelv = it_vbap-vbeln
and posnv = it_vbpa-posnr