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

Customize fields for change document

Former Member
0 Likes
472

Hello there,

I'd like to be able to customize the fields for which change document entries are created. As change documents normally depend on setting the "change document" flag on the data element, I wonder how best to achieve this.

1. Is there a way to programmatically change the data element and re-generate the change document code when an entry in the customizing table is added/deleted?

2. Alternatively, I could flag all of my data elements as change relevant, then do the field comparison myself in my applicaton and pass to the generated FM the old values in fields for which no change should be recorded. In this case, what would be the best way to re-use the field comparison logic of the standard, so as to be consistent and not re-invent the wheel?

3. Is there any other way to do this? Maybe it's even in the standard, but I didn't find anything. I'm on a 7.00 basis.

Thanks,

Sebastian

PS: I'd also be grateful for pointers to tutorials/example coding, e. g. a class that encapsulates the calls to the generated functions.

If there's any document on the performance impact of creating change documents, I'd also be grateful to know about this.

1 ACCEPTED SOLUTION
Read only

Former Member
2 REPLIES 2
Read only

Former Member
Read only

Former Member
0 Likes
372

question closed. I have not found a way to do what I originally wanted, but that was far too complicated anyway. Thanks for the link.