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: 

How to Log - 'Z' table changes - w/o rec/client parameter set.

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

u can track changes thru Transport Request.

Regards

Prabhu

9 REPLIES 9

Former Member
0 Kudos

u can track changes thru Transport Request.

Regards

Prabhu

0 Kudos

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

0 Kudos

Apologies if you've tried this alreday, but have you created a Change Pointer Message Class with the required fields in?

0 Kudos

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

0 Kudos

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.

Former Member
0 Kudos

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

sreeramkumar_madisetty
Active Contributor
0 Kudos

Hi

Have a Look in Transport Request Log Issues.

May be that can help you.

Regards,

Sreeram

Former Member
0 Kudos

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

Former Member
0 Kudos

I believe there is no other option to this requirement than swithcing the logging option on. thanks for all the valuable replies.

Raj