(Glue-2108) v3.1 SAP objects
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_1/sap-objects?sap-client=clientnumber |
---|
Example of the REST API output:
{
"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.