(Glue-2308) SAP objects

SNP Glue™ API allows SAP schema discovery through endpoint /sap-objects. It returns a list of SAP objects for which the user has authorizations.

Example of REST API call: 

GET

http://servername:portnumber/dvd/glue/api/v3/sap-objects?sap-client=800 

 

{ "objects": [ { "name": "ZSCD_BW2_OBJTAB", "type": "TRANSP" }, { "name": "ZTH_TEST_TABMAIN", "type": "TRANSP" }, { "name": "/ASU/V_SSMFOLDR", "type": "VIEW" }, { "name": "/ASU/V_SSMFOLDRC", "type": "VIEW" }, { "name": "/IMO/D/SD10", "type": "ADSO" } ] }

 Functionality is implemented in the SAP class /DVD/GL_EXT2_API_SAP_OBJECTS.