Merging a Composite Object Graph

The DCN merge command optimizes performance for certain applications, by merging an existing data graph within the SAP Mobile Server cache.

A graph represents a complete composite data tree instance starting from a single root data node, while a graph part represents one level within a graph. Sublevels are not included in graph parts.

If you do not use the merge command, individual DCN commands first delete each graph part within the cache, then send individual commands to reconstruct the graph within the cache.

Syntax

dcn_request={"pkg":"pkgName","messages": [{"id":"1","op":":merge", "graph":{graphData} }]}

Parameters

Examples

these examples include the entire DCN request and use the Mobile Business Object: restdemo Example Project, which you can download and install from the SAP® Community Network: http://scn.sap.com/docs/DOC-8803.