Code: Alles auswählen.
Loop at itab_zfak into wa_zfak.
write: / wa_zfak-zmandt.
Format Hotspot.
write: wa_zfak-zfaktura.
Format Hotspot off.
write: wa_zfak-zstatus.
write: wa_zfak-zremesa.
Endloop.
At line-selection.
Get cursor field faktura value val_zfaktura.
Delete from ZFAK
where zfaktura = val_zfaktura.