cancel
Showing results for 
Search instead for 
Did you mean: 

Badi for ECC to CRM Customer replication track changes

sumit_mittal2
Active Contributor
0 Kudos

Hi Experts,

We have a requirement to call external web service whenever erp customers(BP) are getting replicated to crm both in case of creation and updation scenario.

Any Badi which gets triggered in the above scenario which we can implement to track changes in bp or any other approach to implement this requirement.

Thanks in advance..

Cheers,

Sumit Mittal

Accepted Solutions (0)

Answers (2)

Answers (2)

robert_kunstelj
Active Contributor
0 Kudos

You can try it with event handler. In swe2 define 2 new events for object type BUS1006. As event use CREATED and CHANGED. Under receiver call use "Function module" and then define your own Z function call.

Regards.

sumit_mittal2
Active Contributor
0 Kudos

Hi Robert,

Thanks for providing details..

We tried using the existing standard function module (CRM_REQ_RECORD_CREA_FROM_ORDER) as receiver function module and check FM (CRM_REQ_RECORD_CHECK_REQ_TYPE).. now when we try to create bp control doesn't hit in either of the FM's.. are we doing anything wrong?

Instead of the standard if we provided our own z- FM what should be the interface that it expects?

Thanks in advance..

Cheers,

Sumit

robert_kunstelj
Active Contributor
0 Kudos

I use it to send alerts and it is working fine. All I defined is:

Object Category BOR Object Type

Object Type BUS1006

Event CREATED

Receiver Type ZBP_CREATED (name of alert)

Receiver Call FUNCTION MODULE

Receiver Function Module SALRT_CREATE_VIA_EVENT

Linkage Activated CHECKED

robert_kunstelj
Active Contributor
0 Kudos

You can try it with event handler. In swe2 define 2 new events for object type BUS1006. As event use CREATED and CHANGED. Under receiver call use "Function module" and then define your own Z function call.

Regards.