Yes you can do this in SP7. You need to use the annotation: enable OData4SAP;
A little hint, annotations go after the close of the service definition itself in the xsodata file. Here is a complete xsodata example:
service namespace "sap.hana.democontent.epmNext" {
"sap.hana.democontent.epmNext.models::AT_PURCHASE_ORDER_WORKLIST" as "PO_WORKLIST"
keys ("PurchaseOrderId","PurchaseOrderItem");
}
annotations {
enable OData4SAP;
}
Then when I fetch the metadata I get extra columns such as sap:label
