cancel
Showing results for 
Search instead for 
Did you mean: 

REPLICATION & REALIGNMENT BADI/User exit

Former Member
0 Kudos

Hello,

i'm searching for a Badi/User exit for the REPLICATION & REALIGNMENT in CRM Mobile Sales. I want to enhance the REPLICATION & REALIGNMENT for the BDoc CAPGEN_OBJECT_WRITE.

Best regards,

Strehle Thomas

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Thomas,

the very useful Badi CRM_30A_USER_EXITS is what you are after. The just choose the CAPGEN method for either download to mobile or upload from mobile.

Cheers

Andrew

Former Member
0 Kudos

Hi Andrew,

the Badi CRM_30A_USER_EXITS is helpful to enhance the mobile bridge. But i want to enahnce the REPLICATION & REALIGNMENT which is controled by the replication model (replication objects, publication, subscription). I want to edit the replication in the outbound queue of an mobile client.

Best regards,

Strehle Thomas

Former Member
0 Kudos

Hi,

If you are looking for changing the replication filter criteria, then you can create a new replication object, publicatin and subscription, unassign the old subscriptiong from your site and reassign the newly created subscription.

Former Member
0 Kudos

Hi,

if you really want to influence the realigment through coding (which I don't advice!), you can replace the replication wrapper function (SMOH_REPLICATION_WRAPPER_SYNC) in the standard flow context of the sbdoc (look at transaction smO8fd).

--> copy the standard function and call your own replication function in stead of /1CRMGC/CGCAPGEN_OBJ_WRITE_RRR.

This is tricky stuff, and it's hard to imagine that the functionality you seek cannot be implemented in the standard replication and realignment. But if it needs to done, it needs to be done.

Please also that into account that if you do this, future changes to the publications will not be present in your function, because the changes will be generated into the standard flow context function.

Have fun!

Michael.

Former Member
0 Kudos

Hi Thomas

Check this OSS note:526853

I hope it helps

Cheers

Former Member
0 Kudos

Hello,

the mentioned note only shows how to solve problems with BDocs which have an error status.

I want to enhance the REPLICATION & REALIGNMENT with a BAdi or an user ecit. Or is there another possibility.

Best regards,

Strehle Thomas