Skip to Content
avatar image
Former Member

SAP HANA REST API.

Hi,I need to extract the metadata from SAP HANA Database using REST API.

I found this link : https://help.sap.com/doc/f32a797a5ec94d8ba4d7ed240d95bfae/2.0.01/en-US/tutorial-API___.html

Can you guys explain this link, i mean request parameters?

Thank you,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • May 29, 2017 at 04:59 PM

    Please check the Using the SAP HANA REST API documentation.

    Best regards

    Frank

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      I find some code in Metadata API.

      Which code it is ?

      var strPayloadFromJava = "{}";
      var strHeaderServiceName = "checkMetadataExistence";
      var strSapBackPack = strPayloadFromJava;
      var strAccessPath = cMetaDataAccessP + '/VIEW/RT/TABLES';  
      var request = new $.net.http.Request($.net.http.GET, strAccessPath);  
      request.headers.set('SapBackPack', strSapBackPack); 
      request.headers.set('Service-Name', strHeaderServiceName);         
      var response = client.request(request, destination).getResponse();
      
      
      
  • May 31, 2017 at 03:53 PM

    A word of caution about using this REST API. It is implemented in XSC and reliant upon the HANA Repository - both things which are obsolete and will be removed in the future. XSA and HDI do not support this REST API. So before developing something new using this REST API, note the limited future it might have.

    Add comment
    10|10000 characters needed characters exceeded