04-23-2007 7:04 AM
Hi,
This is a unique situation. I have a Ztable with Log changes selected in Technical Settings. But due to perforance issue the rec/client parameter to be set which is usually done by basis guys is not done and not even going to be in future.
Now i want any other way of tracking any changes to this Z Table. I believe many of the developers might have gone through this once. Please share your knowledge.
Thanks in advance.
Raj
04-23-2007 7:07 AM
04-23-2007 7:07 AM
04-23-2007 7:11 AM
I can track changes to the table, but i also want changes made in the records of that table. Secondly CDHDR / CDPOS will only track if the Rec/client is set by basis - whereas this is not done here. Hence the Log changes flag in Tech-setting is ineffective and even does not log the changes in the records.
Raj
Message was updated by: Raj
04-23-2007 8:52 AM
Apologies if you've tried this alreday, but have you created a Change Pointer Message Class with the required fields in?
04-23-2007 10:00 AM
Hi Chris,
First of all thanks for reply. If you understood my requirement correctly then may be your solution be applicable.
Now I am not sure about what you are reffering to when you mention created a Change Pointer Message Class. Can you eloborate or provide any small example with my kindof scenarion.
Again thanks for reply.
Raj
04-23-2007 4:11 PM
I'm rather rusty on this, but assuming that the data elements on the fields on your Z table all have the "Change Document" flag set in SE11.
1) Create a message type through WE81(eg Z_CP_TEST)
2) In BD52, Assign the required fields for the message type (eg Z_CP_TEST again)
3) Activate through BD50
4) Use FM CHANGE_POINTERS_READ to read the change pointers for your message type (they're stored in CDHDR and CDPOS anyway)
Very simple, apart from (2) where the issue you'd need to get around is that the fields belong to tables, and the tables to objects (eg MATERIAL -> MARA-> MATNR or MATERIAL-> MARA ->ZZMYNEWFIELD) I would imagine that it would be possible to create your own custom object and attach z tables to it.
04-23-2007 7:11 AM
Hi,
All the changes to the tables with respect to fields are stored in CDHDR and CDPOS tables by passing correct inputs to those tables.
check them
you will know the log changes.
reward if sueful
regards,
Anji
04-23-2007 7:15 AM
Hi
Have a Look in Transport Request Log Issues.
May be that can help you.
Regards,
Sreeram
04-23-2007 7:17 AM
Hi Rajesh kumar,
By using two tables we can find out what change occurs.
The tables are CDHDR and CDPOS.
We can write the porgram by using this two tables then we fcan find the cahnges .
Note:
By usin this function modules we can find.
Change_document_header,
Change_document_position.
**********rewords some points if it is helpful.
Rgds,
P.Naganjana Reddy
05-09-2007 7:59 AM
I believe there is no other option to this requirement than swithcing the logging option on. thanks for all the valuable replies.
Raj