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:
Expand
Code Block | ||
---|---|---|
| ||
{
"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.