Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

change document for custom transaction code

Former Member
0 Likes
1,108

Hello Friends,

I have custom transaction code this is attached with custom table. Now I want to use standard change document technology to track who change or who delete the entry in the custom table through custom transaction code. Please give me more details input on this since i don't have any idea how the standard change document works.

With Regards,

John.

3 REPLIES 3
Read only

Former Member
0 Likes
613

Hi John

The first thing is to create a change document object based on your Z-TABLE, use the trx SCDO to do that.

After creating your object the system'll generate the fm to be used to register the change document for the modification: this fm should be called <object name>_WRITE_DOCUMENT.

The trx SCDO generates several includes where the abap code to call that fm is just written.

So u need to call this fm in all transactions where the Z-TABLE can be updated, i.e u need to place the includes generated by SCDO in your program.

Max

Read only

0 Likes
613

Hi Max,

Thank you very much to reply. I am new to this.. can you please give some sample code how to include this function module.

With Regards,

John.

Read only

Former Member
0 Likes
613

check this thread

[change documents enabling|;

кu03B1ятu03B9к