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

IDOC change pointers

Former Member
0 Likes
703

Hi Gurus,

I have a requirement as below.

Send Customer Master Data from SAP ( Create/Update/Change) to TIBCO.

Detail

As per the initial analysis we found that we can go ahead with CHANGE POINTERS. Customer Address data also needs to be send along with Customer Data.

But below are the requirement in detail

We need to send only 14 fields to TIBCO.

TIBCO is asking for OLD VALUES along with NEW VALUES.

The changes needs to be send to TIBCO in "real time".

Questions

1) Can we use Change Pointers for this requirement?

2) If we can't use Change Pointers Is there any best way to handle it ?

Avi.

Edited by: Avi on Mar 11, 2011 2:15 AM

3 REPLIES 3
Read only

chaiphon
Contributor
0 Likes
548

Hi Avi,

You can check on transaction BD52 for the change object related to message type DEBMAS. If there are all the fields you want. you can reuse message type DEBMAS and reduced it to 14 fields via BD53. If the field on DEBMAS is not what you want you need to create your custom message type.

You can schedule the program RBDMIDOC to check the pointer and send the IDOC out every one minute. not sure whether one minute suit your "real time" scenerio.

Regards,

Chaiphon

Read only

Former Member
0 Likes
548

Hi Chaipon,

Thanks a lot for your reply.

I have couple of more questions.

Suppose if I create a custome idoc type and custom message type with the required fields, where/how can I populate those fields? I mean to ask do we have any user exit or badi ?

How can I ensure that it will get triggred when Customer is changed?

Also I need the data like "Changed time" " User name" " New Value " "Old Value" which I need to grab from CDHDR or CDPOS.

Avi

Edited by: Avi on Mar 11, 2011 4:48 AM

Read only

0 Likes
548

Check out the configuration in BD60.

You can create a new message type and put it there.

You can copy function module 'MASTERIDOC_CREATE_SMD_DEBMAS' to your Z function module and populate all the fields you want there.

Change pointer will run periodically. if you set a background job to run every 1 minute. it will grab anything create/change/delete during that time and generate IDOC. If you need real time less than 1 minute, you may need to consider other option.

All CDHDR data you can get from function module 'CHANGE_POINTERS_READ' in 'MASTERIDOC_CREATE_SMD_DEBMAS' then you can populate the field you want.