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

activating change pointers

Former Member
0 Likes
1,024

Hi All!

I had activated chnage pointers on VBAK-Vbeln filed by using SAP access key. My requirement is to capture vbeln in CDHDR and CDPOS tables when ever a sales doc is created or deleted. After checking the change pointer on the data element of VBELN I still don't see any records being update to the CDHDR and CDPOD tables. Shall I have to do any further settings to activate the change pointers.

Please advise..

Regards

Praneeth

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
945

Praneeth,

I don't think you have declared a change pointer on the right field. If you see the document number will not change by itself, right.

So, you need to identify those fields that the user will change in a document and activate the change pointers on that. For example the quantity of the material, prices of the material etc.

Regards,

Ravi

Note - Please mark all the helpful answers

5 REPLIES 5
Read only

Former Member
0 Likes
946

Praneeth,

I don't think you have declared a change pointer on the right field. If you see the document number will not change by itself, right.

So, you need to identify those fields that the user will change in a document and activate the change pointers on that. For example the quantity of the material, prices of the material etc.

Regards,

Ravi

Note - Please mark all the helpful answers

Read only

0 Likes
945

Ravi,

I understand that but this is the only way we can capture the document number. I mean i only require VBELN whenever it is created or deleted.

regards

Praneeth

Read only

0 Likes
945

If you want to capture the document number, then you will have to deal with some user exit which will fire when the document is changed.

Change pointers on the document number are not going to help you as the number itself is not changing.

Regards,

Ravi

Note - Please mark all the helpful answers

Read only

0 Likes
945

Ravi,

I thought of the same approach initially but the requirement is to schedule the program in the background. If i am not mistaken MATNR is activated for change pointers and the value of MATNR also doesn't change but still it captures everything in CDPOS and CDHDR. I feel that I am missing something to activate the pointers for VBELN.

Regads

Praneeth

Read only

former_member404244
Active Contributor
0 Likes
945

Hi,

i don't think u can use change pointer method for ur requiremt,because thre are lot of configuration needs to be done to the MESSAGE TYPE (ORDERS),thre should be entry in BD50,BD52.So by checking only the change documnet in the dataelement for VBELN ,won't create an entry in CDHDR and CDPOS.

regards,

Nagaraj