Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3212

Updating an EntitySet

$
0
0

Is it possible to update an entity set?

 

The gateway modeller tool has a checkbox which i assume enables "update" up an entity set (second column).

 

Screen Shot 2015-08-16 at 10.32.58 AM.png

In my scenario, I am trying to update a collection of "TimesheetData" using the entity set "TimesheetDataSet"

Without selecting the update option, the $metadata for the service shows sap:updatable ' "false", which is what one would expect (see below).

Screen Shot 2015-08-16 at 9.55.46 AM.png

When I activate update, the attribute for sap:updatable disappears from the $metadata altogether, which i did not expect.

Screen Shot 2015-08-16 at 10.37.26 AM.png

Screen Shot 2015-08-16 at 9.53.43 AM.png

Also, I cant seem to locate a method in any of the Gateway interfaces that would suggest this is possible to update an entity set. The only method available from what I can see is "/IWBEP/IF_MGW_CORE_SRV_RUNTIME~UPDATE_ENTITY".

 

Any guidance on how to update an entity set would be greatly appreciated.


Viewing all articles
Browse latest Browse all 3212

Trending Articles