Symptom
You have created a custom UI component for a Business Object and you can see that the DataLists for sub-nodes are not displayed correctly.
Environment
- SAP Business ByDesign
- SAP Cloud Applications Studio
- SAP Cloud for Customer
Reproducing the Issue
Prerequisites:
- You have a Business Object with at least three node levels (including the Root).
- You have multiplicity set for the sub-nodes.
- You have bound the node elements in nested DataLists to a UI component.
Steps to Reproduce:
When you open the UI component in the front end and select the sub-node instances, the lower node data is not loaded correctly.
Cause
Loading Type is set to "Standard" or "Always". This tries to load all the data for the DataList as soon as the UI component is loaded resulting in the display issue.
Resolution
Each DataList should have properties Loading Type "Lazy" and Default Lead Selection "True". These properties ensure that the data is only requested when needed and ensure that the correct data is then loaded as per the relationship between the parent and child DataLists.
Keywords
PDI, SDK, UI Designer, Loading Type, Default Lead Selection, Lazy , KBA , AP-RC-UIF , C4C UI Framework , Problem