The structure of the Parent with one child:
BEGIN OF TS_case_DEEP,
CASE_GUID type scmg_CASE_GUID,
CASE_TYPE TYPE SCMGCASE_TYPE,
EXT_KEY type scmg_ext_key,
worklistitem_ind type wdy_boolean,
WorkListItems TYPE STANDARD TABLE OF TS_worklistitem with default key,
end OF TS_case_DEEP .
The structure of the Parent with Multiple children:
BEGIN OF TS_SIMULATESO,
* These are all the Properties of Entity Type Simulate.
VBELN type C length 10,
AUART type C length 4,
VKORG type C length 4,
VTWEG type C length 2,
SPART type C length 2,
atp_ok type c LENGTH 1,
conf_date type c LENGTH 8,
gi_date type c LENGTH 8,
* Tables below should have the same name as the Navigational Properties of Entity Type Simulate
items TYPE STANDARD TABLE OF ts_item WITH DEFAULT KEY,
partners TYPE STANDARD TABLE OF ts_partner WITH DEFAULT KEY,
stock TYPE STANDARD TABLE OF ts_stock WITH DEFAULT KEY,
messages TYPE STANDARD TABLE OF ts_message WITH DEFAULT KEY,
END OF TS_SIMULATESO.
Cardinality is 1:M. I validated the Navigation Properties of Simulate and they match the definitions above.