‎2006 Nov 24 3:46 AM
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
‎2006 Nov 24 3:54 AM
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
‎2006 Nov 24 3:54 AM
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
‎2006 Nov 24 4:01 AM
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
‎2006 Nov 24 4:04 AM
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
‎2006 Nov 24 4:16 AM
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
‎2006 Nov 24 4:13 AM
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