cancel
Showing results for 
Search instead for 
Did you mean: 

Need Help Creating An API Call In SAP Build Process Automation

slade_stewart
Explorer
0 Kudos
168

I'm having trouble figuring out how to call an API from my Process/Workflow in SAP Build Process Automation.  I've scanned some questions/posts on this site, and I currently have these 'targeted questions' whose answers would help refine my understanding and might lead me to further questions.  Any help that could be given would be greatly appreciated.

IMPORTANT BACKGROUND: My organization has some administrative constraints around new subscriptions to things like SAP Build Process Automation.  So I'm 'learning and building' the Process/Workflow (that we'll ultimately need to deploy to the organization's BTP) in my own trial BTP account.  My organization's BTP has been in use (without any subscription to BPA) for a while and is being used, etc.  It has a Destination where the CAP/CDS project or whatever that would serve this OData endpoint, is 'hosted'.  Endpoints deployed into that Destination are reachable/callable from 'anywhere', like Postman running on my local machine.  In the Business Process in my trial BTP account, I was thinking I could call over to that, but I'm beginning to think that I can only call to Destinations configured in the same 'BTP space' or whatever, as the Process.

QUESTIONS I HAVE

Is the best way for me to approach this in my Process/Workflow - is the best approach to have a Destination and then be using that Destination? (once I'm building this in my organization's BTP 'space', this Destination would already be there though it looks like I might need to add some attributes etc. to it.  While I'm working a trial account, I'd just set up a Destination with a 'passthrough endpoint' whose implementation just uses executeHttpRequest etc., to 'call over' to the endpoint in my organization's BTP Destination, etc.).

Once I've added and correctly added an configuration, is it true that then in my Process/Workflow, I should be able to add an Action and my endpoint (or somehow the Destination with some sort of 'drill-down' to the endpoint, etc.) would then show up in the Action box?

Any help would be greatly appreciated.  Thanks!

Accepted Solutions (0)

Answers (0)