Automatically add code to a Z_ABAP Source
I'd like to know, if there is any possibility to add some ABAP statements to the source code of some customer programs?
I want to add in every Z-Program after the START-OF-SELECTION part a Function, that read some Information about the Using of the program into an Z-Table automatically.
Is there a concept for this issue? Somthing like snote, it also maintain the source code automatically, but I think this transaction just overwrite the old source with the new one.
Or can I get the source code of the ABAP programs out of an table and insert there the new statements?
Thank you very much for your help.