on 03-31-2022 4:08 PM
Hi community,
B1SL for HANA is installed on my machine and I'm able to login and get entities contents calling, e.g.:
GET https://hanaserver:50000/b1s/v2/BusinessPartners
I can get json content for all available standard entities.
Issue happens when trying to get same info using semantic layer with sml.svc, e.g.:
GET https://hanaserver:50000/b1s/v2/sml.svc/BusinessPartners
This is what i get:
{
"error" : {
"code" : 801,
"message" : {
"lang" : "en-us",
"value" : "View 'BusinessPartners' not exist or not exposed."
}
}
}
This happens with all endpoints, no matter the requested entity content.
Calling directly https://hanaserver:50000/b1s/v2/sml.svc endpoint:
{
"@odata.context" : "https://linux-hana-6:50000/b1s/v2/sml.svc/$metadata",
"value" : []
}
and here's metadata xml:
<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
<edmx:DataServices>
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="SAPB1">
<EntityContainer Name="SemanticLayer"/>
</Schema>
</edmx:DataServices>
</edmx:Edmx>
Any hint?
Hi thomas_sambruni,
Confirmed that sml.svc was delivered in Service Layer for Views Exposure only.
If there is a semantic view with the name BusinessPartners, it will work.
Kind regards,
ANKIT CHAUHAN
SAP Business One Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi thomas_sambruni,
As far as I know, sml.svc was delivered in Service Layer for Views Exposure only.
However, I will still check it for you and update you accordingly.
Kind regards,
ANKIT CHAUHAN
SAP Business One Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
97 | |
10 | |
8 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.