Reg : Modifing a database Ztable
I have a ztable with 10fields and 11th field is date field. I also have a work area with these fields.
For every record in the Ztable...all the 10 fields have data but 11th filed does not have data(its empty).
Now I want to insert/modify/update database table ztable in such a way that:
IF the date field is empty..just update that date field only with SY-datum.
else leave it.
How do you do that?
Can you give me a sample code?