Code List Replication is a comfortable alternative to manual code list maintenance, which can reduce the maintenance effort tremendously, especially for larger code lists and where several languages need to be supported. The replication requires some additional steps for preparation, and then only a few small actions for the actual replication of a specific code list.
After some basic preparation steps that are necessary for all code list replication scenarios, every code list replication is carried out by the corresponding integration flow.
Evolution of Code List Replication
Code list replication has gone through several iterations, each reflected in how the corresponding integration flows are designed and triggered:
- Initially, code lists were replicated from SAP S/4HANA via the Data Replication Framework.
- This approach was later replaced by integration flows that fetched data independently from both SAP S/4HANA and the cloud CRM, triggered on a schedule by a timer. Fetching codes from the cloud CRM enabled comparison and thus allowed the deletion of codes that no longer existed in S/4. This was an optional feature that could be activated as Initial Load.
- The latest version reintroduces an inbound message as the trigger. Unlike the first approach, the message originates from the cloud CRM and contains configuration details, such as the initial load option. It can be scheduled from the Communication Configuration screen. Some details for fetching codes from the connected systems have changed, but the overall logic remains.
Most importantly, the latest approach doesn't need a separate technical user anymore for fetching codes from the cloud CRM. This is now all covered by the communication configuration and the communication system's inbound channel.
Update Strategy
When updating to the latest integration flow versions for code list replication, keep two points in mind:
- Update all code list replication integration flows at the same time to avoid a mixture of the code list replication architecture.
- Keep the package's script collection up to date. The script collection has been updated to support the new approach and is a required dependency for all code list replication flows. An outdated script collection will prevent updated flows from working.
How Code List Replication Works
The following screenshot shows the Design view of the Replicate Incoterms Classification from SAP S4HANA integration flow, with the most important steps highlighted.

- Inbound message to run the integration flow (refers to Scheduled Asynchronous Outbound Configurations in the cloud CRM)
- Fetch the currently maintained code values from the cloud CRM (refers to Synchronous Inbound Configurations in the cloud CRM; only required to remove codes)
- Fetch the currently maintained code values from SAP S/4HANA
- Compare code values and prepare the final code list for the cloud CRM
- Send the final code list to the cloud CRM, which may involve instructions to delete codes (refers to Asynchronous Inbound Configurations in the cloud CRM)



