on 2025 May 13 4:09 AM
Created a Destination in SAP BTP for S4 Public Cloud (API_BUSINESS_PARTNER - Service) and destination connection works fine also added all required additional property(sap.applicationdevelopment....,sap.build.usage,sap.processauto...).
But When creating a action for the "Odata Destinations" its giving error saying "Service unavilable.Failed to fetch the Metadata.Unexpected token '<',<html><.." id not valid json.
Tried changing few things in destination but nothing works ( Like adding $formt=json,other additional properties ) but no luck.
Please suggest if im missing anything or whats the issue.
Request clarification before answering.
I suspect the authentication is not working well.
When its authentication fails, the S/4HANA backend system returns error messages with HTML format and that would be be parsed in the caller system.
And then, what you may need to check fist would be about the authentication settings.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i am using basic authentication with the s4 login credentials.
URL : https://<xxxxxx>s4hana.cloud.sap/sap/opu/odata/sap/API_BUSINESS_PARTNER
Hello,
Do you also have an S4 Extensibility instance created for the respective Communication Arrangement?
Assuming this is an extension application built in SAP Build, as you have configured that parameter?
Please check this document.
Hope this helps.
Thank you
Tiago Ribeiro
@TiagoRibeiroi am trying to create a action in BPA and when i do Odata destinations i get this error.
creating S4 Extensibility instance is mandatory when creating actions connecting to s4 public cloud?
Not doing any extensibility .wanted to create a BPA to read Business partner details and create a form and send for approval.
current issue is while trying to read a BP from s4 public cloud to BTP BPA .Creating a action to read data from s4 Public cloud and for that created ODATA destination and when i try to create action and select the destination i get the above error.
here is the video i am following
Hello @suneelrelish
Can you also add the following parameters/properties in the destination pointing to S4 BP API?
I believe with these properties the connection should be successful.
Please try and let me know.
Thank you
Tiago Ribeiro
User | Count |
---|---|
30 | |
22 | |
16 | |
8 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.