Setting up Replication of Utility Objects between C4C and IS-U
This is a short guide for activating delta replication of technical utility objects between IS-U and C4C.
The utility specific objects that are supported in standard:
- Contract Account
- Connection Object
- Point of Delivery (POD)
Replication is always from IS-U to C4C, never the other way.
I would like thank Rajesh Venkatesan for his support in collecting this information.
Trigger Data Replication
In order to trigger the replication, we make settings in table / view SWFDVEVTY2. We need to perform this twice for each object, as we create one entry to trigger on create and one entry for trigger on change.
For all objects the following is the same:
Receiver Type: COD_UTILITIES_TECHOBJ_REPL
Class Name: CL_COD_UTIL_SWER_TECH_OBJ_DELT
Use transaction SM30 and open the table / view SWFDVEVTY2 in change mode.
Now enter a record like the one below:
You repeat the above for each of the following object types::
In total you will end up with 8 entries for this in the table.
Now every time the objects listed are changed or a new one created,the class CL_COD_UTIL_SWER_TECH_OBJ_DELT will be executed.
Sending data to the correct C4C tenant
IF YOU FEEL THERE IS A NEED TO DOCUMENT THIS STEP BY STEP LET ME KNOW AND I CAN ADD THAT.
To control sending data to the correct C4C tenant, implement the BADI: COD_UTILITIES_REPLICATION_CONF.
In this BADI you will find 2 methods (display BADI transaction SE18):
The GET_LOGICAL_PORT method is used for the technical objects (Connection Object, Premise and POD) and the GET_RECEIVER_SYSTEM is used for Contract Account.
The implementation of these 2 methods are very simple as we just need to pass the logical system number of C4C.
To identify the logical system number to use, go to transaction WE20 and open the Partner Type LS (Logical Systems). The PI consultant would have entered a logical system here for the C4C connectivity. Note this number down as we need this when implementing the BADI.
Below the implementation for each method – quite simple:
Then activate the BADI and the delta replication the the utility specific objects are enabled.