You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Current »
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=800 |
---|
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.