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: 

Creating Change pointer on Z Table

Former Member
0 Kudos
1,552

Hi All

I just have an old Z Table where I have prices in it. No I like to have a COND_A Idoc created, when the table entries are changed. For this I need to have change pointer created.

How do I proceed?

Herbert

1 ACCEPTED SOLUTION

Former Member
0 Kudos
326

1. You need to activate the change documents on the fields of the table. (SCDO transaction and also activate the change documents check box at the data element level).

2. Create a custom IDOC type and MESSAGE type for the fields that you want to send out.

3. Once this is done, you can write a program which will read the CDHDR and CDPOS tables to see if any change documents are generated for these fields and generate the IDOC.

Regards,

Ravi

Note - Please mark all the helpful answers

5 REPLIES 5

Former Member
0 Kudos
327

1. You need to activate the change documents on the fields of the table. (SCDO transaction and also activate the change documents check box at the data element level).

2. Create a custom IDOC type and MESSAGE type for the fields that you want to send out.

3. Once this is done, you can write a program which will read the CDHDR and CDPOS tables to see if any change documents are generated for these fields and generate the IDOC.

Regards,

Ravi

Note - Please mark all the helpful answers

Former Member
0 Kudos
326

OK, I added my table into transaction SCDO and I generated the update programs. I do not understand what you mean with activating the change documents on the data element level.... where is this?

After having done this, should I find an entry in CDHDR when changing the table?

Herbert

0 Kudos
326

Hi ,

You can find a check box at the bottom while defining data element.. You need to check that so that any change will be captured in cdhdr and cdpos tables.

Regards

Ashutosh

Reward points if helpful

0 Kudos
326

Hi

OK, i did this... does this meand that after that I should have entries in CDHDR and CDPOS when I change something in my table? This does not happen yet.

Herbert

Former Member
0 Kudos
326

HI all

I still have my problem. Who can help?

OK, i did this... does this meand that after that I should have entries in CDHDR and CDPOS when I change something in my table? This does not happen yet.

Herbert