Dear all,
I've created a new service OData using SEGW transaction and I've redefined /IWPGW/TASKPROCESSING for it. I've created a new Entity Set from a DDIC Structure with its corresponding Entity Type. A new association has been created between Task (principal Entity) and the new Entity (like dependent entity). Referential constraints is InstanceID.
When I call URI /sap/opu/odata/sap/ZDEMO_FUND_RESERVATION2_SRV_02/TaskCollection, no reference to new entity is displayed:
I've tried to add directly new properties in entity type Task, but there is the following error:
Property 'Belnr' of data object 'Task' has no Internal type assigned
Since, 'Task' entity doesn't have an associated structure because it's determinated by runtime object generator, I've created an enhancement in /IWPGW/IF_TGW_SRV_CONSTANT interface, where ty_task type is declared, adding new field 'Belnr'. But the same error occurs.
Any idea for solve it?
Thanks a lot.
Regards. Luis.