on 2024 Jul 03 6:16 PM
Hello Gurus,
I have been trying to create Service using Api Accelerator Hub through BAS. Every time I try login via BAS to get access ApiHub I get an error "Could not get ApiHub Resource data.". I have logged in API Hub quite a few times to ensure that my credentials are right but so far I simply don't seem to get access through BAS.
Any pointers please....?
What do I need to do get this working?
Hi,
I don't know if you have solved it yet, but I'm having the same issue and I wanted to share a way around this problem.
The solution consists on creating a Destination in SAP BTP and consuming the Business Accelerator Hub API through it in BAS.
1. Access Business Accelerator Hub and search for the API you want to consume. In my case, I'm using Sales Order (A2X) as a demo.
2. Once in the API page, scroll down in the Overview tab to the API resources. There, click on Configuration Details. We will be using the links provided there. In my case, I'll copy the sandbox URL.
3. Go to the Destination section of your SAP BTP subaccount. Here you have to creat a Destination for Business Accelerator Hub with the following configuration.
The property URL.headers.ApiKey will not appear as an option in the dropdown, you have to write it yourself. The value will be your Business Accelerator Hub Api key.
The URL will be "https://sandbox.api.sap.com" for sandbox.
4. We can now go to BAS and add the service in the Service Center. Instead of selecting the Business Accelerator Hub in the Provider selection, we will choose 'SAP SYSTEM'. There, our recently created destination will appear. If it doesn't show, refresh BAS.
5. We select the apihub_sandbox service. In the Service Path Input, we have to copy the half of the API URL that we left behind when we created the Destination.
After clicking on Connect, the Add to Project button should be displayed and the API content should appear below the Connect button. After that, we can add the service to our project.
I hope that you find this useful.
Kind Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
13 | |
11 | |
10 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.