Skip to Content

This document explains the customization to be made to the standard integration for Business Partner Replication from SAP On Premise system with SAP Cloud for Customer Internal ID same as the Business Partner ID on SAP ECC system.

Note:

1. Please note that the Number Ranges on C4C cannot be Alphanumeric. (Either Alphabetical or Numeric is allowed)

2. Similar configuration as mentioned below can also be used for Material Master Replication.


Kindly check the below documentation which elaborate the same.

SAP C4C Integration: Customization to achieve the Product Internal ID same as SAP ECC Product ID

Standard behavior:

In Standard Integration Scenario, Account ID is assigned using the internal number range in C4C and stores the Business Partner ID in the External ID field.

Required Behavior:

To achieve Business Partner Replication with Account Internal ID on C4C same as Business Partner ID for SAP ECC.

Customization:

To achieve this, make the below changes in the message mapping of the middleware (SAP PI/SAP HCI) for this interface:

1. Maintain the External Number Ranges for Business Partners in SAP C4C such that it matches the Internal Number Ranges on SAP ECC.

2. In standard mappings, Field KUNNR from the SAP ECC IDOC is mapped to the Internal ID of SAP C4C.

3. Now add another mapping for this field. Add the mapping from KUNNR from SAP ECC IDOC structure to ReceiverInternalID of the SAP C4C.

4. Save the mapping and test the integration.

Results:

Performing above configurations will result for Business Partner Replication from SAP ECC to C4C with C4C Account ID same as the Business Partner ID from ECC.

To report this post you need to login first.

12 Comments

You must be Logged on to comment or reply to a post.

  1. Pragya Pande

    good blog..

    one thing to keep in mind though – this may cause an issue if account creation can be triggered from C4C and also can happen in ERP at the same time…

    (0) 
    1. Chandan Bankar Post author

      Thanks Pragya. 🙂

      If I correctly understood your comment, when account is created in C4C the internal number range from C4C is picked which can be synced in ECC as external number range.

      Regards,

      Chandan

      (0) 
  2. Shrikant Kamble

    Chandan,

    Customization Step 3. Do you have to remove leading zeros or append zeros to KUNNR while mapping to ReceiverInternalID ?

    Thanks & Regards,

    Shrikant Kamble

    (0) 
    1. Chandan Bankar Post author

      Shrikant,

      Step 3 will get the value of KUNNR into ReceiverInternalID similarly as it will come in the External ID on C4C.

      Regards,

      Chandan

      (0) 
  3. Malay Dwivedi

    Hello Chandan

    Thanks for this article. Some times clients do have such requirement.

    I have a query, whether an ERP Order number can be similar to a quote number in C4C. For instance, the Quote number is 1313 in C4C, can the order num be prefixed/suffixed by O or SO to number the Sales Order in ECC as SO1313 or O1313.

    Or is there any other way out….

    Thanks in advance.

    Malay

    (0) 
    1. Chandan Bankar Post author

      Thanks Malay, My idea for posting this document was to make the reader aware to try to see if any modification on message mapping can suffice the Number Range requirements. I posted the knowledge that I have gained.

      Unfortunately I have not tried this yet. But you can inspect the message mapping to understand how the standard mapping are and if any modifications can help you achieve your requirement.

      Looking forward to some document if you were able to achieve your requirement. 🙂

      Regards,

      Chandan

      (0) 
      1. Malay Dwivedi

        Thanks a lot Chandan, its always a pleasure to read your posts, as they are full of useful information.

        I will definitely try this once I get on to it. And if any luck, i wll definitely share with the community,

        regards

        Malay

        (0) 
  4. Florian Preuss

    Hi Chandan,

    good information to find here. I looked into the iflow of material master replication from ECC to C4C but havent’t found the C4C internal material number.

    With this it would be possible for our customer to have material numbers 1:1 as they are only created in ECC.

    Thank you for a quick hint.

    Best Regards

    Florian

    (0) 
    1. Chandan Bankar Post author

      Florian,

      For Material try mapping MATNR to ReceiverID in the MaterialMassReplicationRequest Web Service.

      Check and confirm.

      Capture.JPG

      Regards,

      Chandan

      (0) 
  5. Alejandro Kinsbrunner

    Chandan,

    Quick question about standard scenario: which would be the technical standard external field ID and table? I’d need to know this as, currently, on that field we are saving customers previous system ID.

    Thanks in advance.

    Regards.

    Alejandro.

    (0) 
    1. Chandan Bankar Post author

      Hello Alejandro,

      If you are referring to External ID (SAP ECC Customer ID): By default Customer ID from ECC is mapped into External ID, so If you want to map Customer ID to the Internal ID on SAP C4C, you will have to map KUNNR to RecieverInternalID in your middleware.

      If you want to know about Sender System ID (you mentioned Previous System ID), it is mapped into External System field in the Accounts on C4C in standard mapping.

      Else if you are referring to the Product ID mapping, check the below document.

      SAP C4C Integration: Customization to achieve the Product Internal ID same as SAP ECC Product ID

      Regards,

      Chandan

      (0) 
  6. Wolfgang Mayer

    Hello Chandan,

    we’ve performed the settings in PI and it works fine for initially creating accounts in C4C. However, as soon as an update of the customer is performed in ERP and the changes are replicated to C4C, the web service message flow in C4C shows error message “Solve Configuration Issue in ID Mapping for Element ID-CONTENT”.

    Are there any additional steps necessary for delta handling in ERP/C4C?

    Thanks & regards

    Wolfgang

    (0) 

Leave a Reply