‎2008 Jul 03 10:20 AM
Hi ,
give me the steps to create change pointer for own data base table .
‎2008 Jul 03 10:41 AM
Hi,
pointers - as the name says - point. They point to change documents. So you've got to create change documents first:
1) Define Chenge Document Object (tcode SCDO)
2) Generate function
3) Check that all dataelements you want to trace are checked as relevant for cahnge documents
4) build in function wherever you change DB
6) define an ALE Message type (WE-81 you don't have to use ALE)
5) acticate change pointer creation (BD50)
6) define tables/fields for change pointers (BD52)
7) filter CP unwanted CP (at least duplicates for the same object) with BADI BDCP_BEFORE_WRITE
If 3) is not fullfiled for some tables or you want to skip some points you may use FM CHANGE_POINTERS_CREATE_DIRECT.
Have fun,
HP
‎2008 Jul 03 11:33 AM
hello,
whatever u said ,i done
But,still it is not creating change pointer in BDCP
‎2008 Jul 03 12:01 PM
Hi,
call FM CHANGE_POINTES_READ fo find pointers (They may be either in BDCP2 or BDCP/BDCPS).
You may also check creation of pointers in DEBUG at the and of FM CHANGEDOCUMENTS_CLOSE (activate DEGUG for update).
Kind regards,
HP
‎2008 Jul 03 1:18 PM
hi,
After defining table fields to change pointer ,where i want to assign this FM CHANGE_POINTERS_CREATE_DIRECT to create CP
‎2008 Jul 03 1:30 PM
‎2008 Jul 03 2:48 PM
1) Creation fith CHANGE_POINTERS_CREATE_DIRECT is inly neccessary when you do NOT write change documents (or the flag at certain dataelements are missing)
2) Filtering: BADI name is BDCP_BEFORE_WRITE. To look at definition use tcode SE18 for implementation use SE19. Note: activate implementation. For debug activate update debugging.
regards, HP