Requirement - when creating new entries in to the table, i need to check if there is any record with the same key.
If exists, delimit the existing entry before saving the new one.
I am using the event Before saving entries into Data base table.
But i am not able to see the values of new record in this event.
Ex: table name is ZOVRD.
when i write
SELECT SINGLE *
FROM zovrd
into wa_zovrd
WHERE begda EQ zovrd-begda
AND endda EQ zovrd-endda.
In debugging there are no values populated for zovrd.