cancel
Showing results for 
Search instead for 
Did you mean: 

Request failed with status 307

07-25-2023 11:09 PM
S_Logan Explorer
3232 views 9 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Tutorials: https://developers.sap.com/tutorials/build-apps-workflow-es5.html
--------------------------

HI Team

After setting up a new destination to SAP Gateway system , While adding new integrations in the DATA section of sap build app canvas .. I'm getting request failed with status 307 error . Can you please let me know on what needs to be done to resolve this issue ?

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Likes

My understanding that at present you do need to create separate destinations for each OData service. On the roadmap pretty soon I've seen that the way people will define their API connections will change, and I'm sure one of the advantages will be not having to create multiple destinations or perhaps destinations at all.

As for the dropdown: The dropdown must define a list of objects, each one with a label field and a value field. But the selected value is just a text value (as you can see at the top of the formula editor). You generally would define a page variable to hold the value that was selected. Or this value you might want to be held in a "New record" data variable field, as we show in Step 4 in this tutorial, https://developers.sap.com/tutorials/build-apps-workflow-es5.html

If you need more help, please describe the flow you are looking for with regards to your dropdown list.

S_Logan
Explorer

Thank you very much for sharing your inputs with regards to the destinations and the drop down .

I

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Likes

No problem ... please accept one of the answers 🙂

Answers (4)

Answers (4)

S_Logan
Explorer
0 Likes

Hi Daniel

When I changed the URL as you had suggested then I was able to proceed with the next steps ?

But I'm still not able to understand if we need to keep creating new destinations for every oData service that we created ?

Also following up on the next steps when I try to create a dropdown and bind that to the variable .. I see that system throws incompatible error as shown below ..

Can you please let me know if there is something missing which is causing the binding to be incomptabile ?

S_Logan
Explorer
0 Likes

daniel.wroblewski : Hi Daniel , Good Morning .. Can you please let me know if you have any inputs for me on the above request ?

Thank you

S_Logan
Explorer
0 Likes

Hi Daniel

Thank you for your response . So do I need to create a new Destination which points to this OData service..

If that is the case .. then do we have to keep creating multiple destinations whenever a new app is being built ..

Can you please help clarify this point ?

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Likes

The URL goes to the ES5 system but does not go to a specific OData service. SAP Build Apps requires you to specify an OData service document as the URL for a destination.

For example, ES5-Shop service can be specified with this URL, which will display fine in SAP Build Apps:

https://sapes5.sapdevcenter.com/sap/opu/odata/sap/EPM_REF_APPS_SHOP_SRV
S_Logan
Explorer
0 Likes

es5-destination-screenshot-new.jpg

Hi Daniel

Please find the attached screenshot of the destination that I had configured.

Also please the destination - https://sapes5.sapdevcenter.com