Hello Rahul,
I am suspecting it is because, irrespective of firing the below URL's both the navigation properties are being append to the et_expanded_tech_clauses
- SalesOrderSet?$expand=OrderToItems
- SalesOrderSet?$expand=OrderToItems/ItemToMaterial.
When you fire
- SalesOrderSet?$expand=OrderToItems
INSERT only lc_expand_ordertoitems INTO TABLE et_expanded_tech_clauses.
When you fire
- SalesOrderSet?$expand=OrderToItems/ItemToMaterial.
INSERT only lc_expand_itemtomaterial INTO TABLE et_expanded_tech_clauses.
Please check this once.
Regards,
Ashwin