Insert an entry in Z Table after data load
I'm using current date (sy-datum) as selection parameter in a DTP routine. I need to store this date in a Z table so that next data load can refrence this date. I have already created the Z table. Where should I write the code to update the sy-datum date into the Z table. SHould I write the code in DTP itself in the end? or after the process chain completion (run a different ABAP program at end of process chain?). I want to use this date in subsequent loads.