Skip to Content
Product Information

Create Contracts with Same ID in SAP Cloud for Customer and in SAP ERP

You can configure contracts to have the same IDs in SAP Cloud for Customer and SAP ERP, irrespective of which system they’re created in.

By default, these sales documents get different IDs in both systems unless you enable this feature.
See the steps to configure this feature:

1. For Contracts created in ERP and replicated to C4C.

Make below changes to have the same ID for the replicated contracts in C4C as in ERP.

Outbound IDoc: COD_CONTRACT_CREATEFROM_DAT

Field that contains ERP contract ID: SALESDOCUMENTIN

This field has to be mapped in middleware to the RecepientID field in the C4C inbound interface: ContractReplicationFromExtIn.

Mapping in middleware:

Note: Ensure that the Contract external interval in C4C lies within the number range of the contract ID in ERP.

2. For Contracts created in C4C and replicated to ERP.

Make below changes to have the same ID for the replicated contracts in ERP as in C4C.

Outbound Interface: ContractReplicationExternalOut

Field that contains C4C contract ID: ID

This has to be mapped in middleware to the field SALESDOCUMENTIN of the inbound IDoc COD_CONTRACT_CREATEFROM_DAT

Mapping in middleware:

Note: Ensure that the external number range for contract in your ERP system is same as the Contract internal interval in C4C.

1 Comment
You must be Logged on to comment or reply to a post.
  • Hi Binoo,

     

    Thanks for the sharing this imp information related to transaction data like orders,quotes and contracts.

     

    Just curious to know – Do we have something similar for master data as well like Business Partners and products? If you could share information on that as well, it would be great.

     

    Thanks & Regards

    Himayat