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

How do i create change pointers for fields which do not have Change Document enabled ?

saptarshi_sen
Explorer
0 Likes
1,530

Hi All,

I have a requirement where in i need to capture changes in tracking data for certain fields which do not have change document enabled. So i need to create changepointers everytime there is a change in the those fields and then generate outbound Idocs for the same.Could i have some help on how to trigger changepointers for the fields ?

Regards,

Saptarshi.

Hi All,

I have a requirement where in i need to capture changes in tracking data for certain fields which do not have change document enabled. So i need to create changepointers everytime there is a change in the those fields and then generate outbound Idocs for the same.Could i have some help on how to trigger changepointers for the fields ?

Regards,

Saptarshi.

5 REPLIES 5
Read only

Former Member
0 Likes
1,279

Hi,

CDHDR and CDPOS tables stores the chnages data of every data base table filed values.

Thanks,

Suresh M

Read only

0 Likes
1,279

CDHDR and CDPOS tables stores the chnages data of every data base table filed values.

No, CDHDR and CDPOS are only updated by the applications which call some generated FM. If a change object exists (check transaction SCDO) but some fields are not stored in CDPOS, check their data element, it carries a flag "Change Document" that is required for the field to be used, but of course the applications must call the change document FM.

There is a tool at open-sql level, look for a flag in technical settings of database file, "Log data change". But the log must be active in the system/client depending of a parameter rec/client of system profile, check via RZ11. if ON or client dependant ON, then all changes of files with this flag will be logged (disk space and performance problems can arise)

Regards,

Raymond

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,279

Did you try to set the flag "Change Document" on their data elements ?

Regards,

Raymond

Read only

0 Likes
1,279

Hi Raymond,

You were correct on the point above, that is exactly the problem i am facing. I had also proposed the same solution of setting the flag on for "Change Document" in the data element. However, in my case that does not look feasible/approved. (The fields i am concerned with are VTRKH-TRACKN, VTRKH-UEVBELN etc).Hence i need to look for an alternate way, which would create CPs out of the changes, and then would trigger Idocs.

Regards,

Sen.

Read only

0 Likes
1,279

Hello Sen,

(The fields i am concerned with are VTRKH-TRACKN, VTRKH-UEVBELN etc)

The solution to start the change pointer selection is to do MODIFICATION and enable change document triggering.That is how the framework works.SO i suggest get a key from the market place and enabale the change document.

Also may be article Change pointer will help.

thanks

~Raj