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

Change Pointer

Former Member
0 Likes
1,285

Hi ,

give me the steps to create change pointer for own data base table .

6 REPLIES 6
Read only

Former Member
0 Likes
843

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

Read only

Former Member
0 Likes
843

hello,

whatever u said ,i done

But,still it is not creating change pointer in BDCP

Read only

0 Likes
843

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

Read only

Former Member
0 Likes
843

hi,

After defining table fields to change pointer ,where i want to assign this FM CHANGE_POINTERS_CREATE_DIRECT to create CP

Read only

Former Member
0 Likes
843

how to filter the change pointer(CP)

Read only

0 Likes
843

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