Application Development 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: 

Custom change object behind the XD02(Customer Master)

Former Member
0 Kudos

I want to use custom change object behind the customer fields scenario hence some tables does not exist in object DEBI . I enhanced the DEBI as a ZDEBI . But I dont know how to triggering the function module will be triggered instead of DEBI_WRITE_DOCUMENT. Can I do like this.

Edited by: carlos eduardo on Aug 4, 2008 10:20 AM

Edited by: carlos eduardo on Aug 4, 2008 3:57 PM

4 REPLIES 4

ian_maxwell2
Active Participant
0 Kudos

In order to do this you would have to either use a user-exit or an enhancment point to make the call the function. The change document functions are not dynamcially called.

If you extend an existing table (example, an append structure on the KNA1 table) then these new fields will automatically be passed to the existing change document object that KNA1 is part of.

~Ian

0 Kudos

Is that correct Ian? I thought you had to specifically state which fields should have change documents applied.

Rob

0 Kudos

>Is that correct Ian? I thought you had to specifically state which fields should have change documents applied.

It's correct, but I should clarrify that you also still need to ensure that the data elements are set to relevent for change tracking (either exiting data elements or custom). The reason that this works is that the entire work area (including append structures) is passed to the change pointer function which then dynamically looks at each data element used to decide if it is tracked.

~Ian

0 Kudos

So is this different from the functionality for change documents on, say, custom tables?

Rob

I just re-read your answer and saw "data elements are set to relevent for change tracking". I think that's the part I was missing.

Edited by: Rob Burbank on Aug 4, 2008 5:53 PM