28.01.2013 Views

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Single Entity<br />

Any single entity (record) can be accessed by supplying the key field values after the Entity Set.<br />

● URI Construct:<br />

○ Single Key: /.xsodata/()<br />

○ Multiple Keys: /.xsodata/(=,)/<br />

● Sample URI:<br />

○ Single Key: /.xsodata/()<br />

○ Multiple Keys: http://hanaxs:8000/sap./sflight/spfli.xsodata/<br />

FLIGHTS(CARRID='AA',CONNID='0017')#<br />

● Sample ATOM Output:<br />

170<br />

P U B L I C<br />

© 2012 <strong>SAP</strong> AG. All rights reserved.<br />

<strong>SAP</strong> <strong>HANA</strong> <strong>Developer</strong> <strong>Guide</strong><br />

Defining Web-based Data Access

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!