SAP MDG · COMMUNITY

How do I use the upload modes for SAP MDG hierarchy maintenance?

SAP MDG hierarchy uploads support five modes: Delete All, Overwrite or Add, Move Children, Replace Nodes, and Remove Edges. Use Delete All only for full relevant-scope deletion, Overwrite or Add to add missing edges without changing existing ones, Move Children to re-parent children, Replace Nodes to redefine all direct children under a parent, and Remove Edges for selective edge deletion.

SAP MDG hierarchy uploads support five modes: Delete All, Overwrite or Add, Move Children, Replace Nodes, and Remove Edges. Use Delete All only for full relevant-scope deletion, Overwrite or Add to add missing edges without changing existing ones, Move Children to re-parent children, Replace Nodes to redefine all direct children under a parent, and Remove Edges for selective edge deletion.

# Quick Reference: How-To Use the Upload Modes for Hierarchy Maintenance

SAP MDG hierarchy maintenance supports five upload modes, each designed for a different type of structural change. The key decision is whether you need to delete all relevant edges, add missing edges, move children to a new parent, replace all direct children of a parent, or remove only selected edges.

Process flow

  1. Identify the hierarchy that needs to be maintained.
  2. Determine whether it is synchronized or non-synchronized.
  3. Determine whether it is version-dependent or version-independent.
  4. Select the upload mode according to the required operation.
  5. Define the file structure with the correct header, higher-level node, and lower-level node entity types.
  6. Include the hierarchy name where required by the selected mode and hierarchy type.
  7. Upload the file.
  8. Review the effect carefully, especially for synchronized hierarchies where one technical edge may occur in multiple hierarchies.

Referenced tables

ObjectPurpose
USMD_HRYReference data element mentioned by the guide for the four hierarchy characteristic combinations.

The remaining configuration, implementation details, and testing guidance continue from this answer more…

Related questions and keywords

Alternative questions

  • What upload modes are available for hierarchy maintenance in SAP MDG?
  • How can I upload or change hierarchies in MDG?
  • What is the difference between Delete All, Overwrite or Add, Move Children, Replace Nodes, and Remove Edges?','How do hierarchy upload modes behave for synchronized and non-synced?

Possible questions

  • Which upload mode should I choose?
  • What are the hierarchy file upload options?
  • What is a node in an MDG hierarchy?
  • What is the root node?
  • What is an edge in MDG hierarchy maintenance?
  • What is a parent node?
  • What is a child node?
  • How many root nodes can a hierarchy have?

Keywords

SAP MDGhierarchy maintenancefile uploadupload modesDelete AllOverwrite or AddMove ChildrenReplace NodesRemove Edgessynchronized hierarchynon-synchronized hierarchynodeedgeroot nodeparentchildleafversion-dependentversion-independentMDG 9.2S/4HANA 1809