I have some strange behaviour with the deep insert. I have implemented it 2 times.
- a parent with one child (e.g. SalesOrderHeader with SalesOrderItems).
- a parent with two children (e.g. SalesOrderHeader with SalesOrderItems and Partners)
The used user defined entities, but the above examples are just to make it clear.
When I POST the first one, I get both the SalesOrderHeader with the SalesOrderItems returned.
When I POST the second one, I get only the SalesOrderHeader returned. I am sure that I pass the data to the output parameter "ER_DEEP_ENTITY"
If I pass for the second one only the SalesOrderItems, I get all data returned.
I need the output, because it contains the keyfields of the data created.
Am I doing something wrong? Is this a problem of SAP?
Regards, Paul Lauwers.
Application Engineer at IFF.