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

Use of Change pointers for triggering an Interface

Former Member
0 Likes
1,709

Hi All:

I want to send data to other system if there user creates/changes in following objects in SAP.

1) Quote

2) Contact

3) Customer

I am told to use change pointers for it but IDocs are not used and we want to use change pointers only for triggering an Interface.

I am looking for more information as I do not have much information about it.

Thanks in advance

Hi All:

I want to send data to other system if there user creates/changes in following objects in SAP.

1) Quote

2) Contact

3) Customer

I am told to use change pointers for it but IDocs are not used and we want to use change pointers only for triggering an Interface.

I am looking for more information as I do not have much information about it.

Thanks in advance

3 REPLIES 3
Read only

Former Member
0 Likes
833

Nilesh,

Whenever data is changed in a transaction it creates a change pointer/change document (not necessarily both).

Change pointers are stored in BDCP and BDCPV tables

Change documents are stored in CDHDR and CDPOS tables.

When you read the change pointers table using the function module change_pointer_read, you will get all changes made. Then you will get which document is changed and other details.

If you ar enot using IDOC approach, then go for tRFC approach.

Rgds,

Naren

Read only

0 Likes
833

Hi Naren,

Thank you for your answer.

Here is what I want to do.

Whenever there is a change to any of the following objects then I want to send the data to another system via file so I need to write a program and call whenever there is change as there are some conditions when I don't need to send the data.

1) Quote

2) Contact

3) Customer

Can you give me steps to achieve this?

Nilesh

Read only

0 Likes
833

Nilesh,

You can not schedule a program to run whenever there is a change. But you can schedule it to run at certain intervals to process all the changed documents.

You can achieve immediate triggering when using ALE/IDOCS as there will be an option to trigger immediatley after a change.

Let me try to look at a sample program which is used for processing change pointers.

Nilesh, I dont have code with me right now...but try using the FM change_pointers_read by passing the change document object as DEBI (customer) and the date ranges. You will get all the change pointers for DEBI in that date range and the document number is stored in the field CDOBJID (for ex customer number). Use that customer and pull all the information from customer table and build a file. Hope it helps.

Rgds,

Naren

Message was edited by:

Naren Someneni