If an object graph requires certain master data (referenced in mandatory references in the exporting system), this context must be created exactly in the target system before the import can be carried out.
However, you may want an export to contain its necessary context and create it automatically in the target system if it does not yet exist there. However, if the corresponding master data already exists in the target system, it should not be created twice but used for the import.
Application
- Instance resolvers are defined for the context types. The export then contains global references to these context objects.
- All references that refer to these context types are also explicitly included in the import.
In the export, all context objects referenced by the export can also be exported, but also annotated with their global reference.
During import, the system then checks whether the global reference can be resolved in the target system. If this is the case, the existing object is used and the data is discarded in the import. If the referenced object does not yet exist in the target system, it is created from the data in the import.