Skip to Content


May 29, 2017 at 04:46 PM


avatar image
Former Member

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

I found this link :

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

Thank you,

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Frank Schuler
May 29, 2017 at 04:59 PM

Please check the Using the SAP HANA REST API documentation.

Best regards


Show 1 Share
10 |10000 characters needed characters left 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();

Thomas Jung
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.

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thanks Thomas,

Actually, i am using SAP HANA Studio is installed in Windows and HANA Database is installed in Linux.

My question's are,

1) Can i use this REST API's ( for extract the metadata from HANA Database?

2)If not, how can i extract the metadata?I can see the metadata in SAP HANA Studio.

Please help me,


Yes this REST API exposes some metadata but with the warning I gave above.