Code: Alles auswählen.
Update vbap client specified set
ZZAFIELD = '5A'
ZZBFIELD = '6A'
ZZCFIELD = '7A'
where
vbeln = wa_vbap-vbeln
and posnr = wa_vbap-posnr.
Select * from vbap
into corresponding fields of wa_vbap
where vbeln = wa_vbap-vbeln
and posnr = wa_vbap-posnr.
Endselect.