To use change document functionality in your application:
Specify the change document object
Check in the dictionary, whether the data elements for the fields to be logged are flagged.
Generate the update program.
Program the call in your program.