Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

Problem with a service redefined from /IWPGW/TASKPROCESSING

$
0
0

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:

 

2014-09-24_124758.jpg

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.


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>