cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Process Automation Action Open API

parab_neha
Explorer
925

Hello,

In my existing workflow service , I have service task which calls odata service(Post method) from ECC system. Destination is created using Basic authentication. As I understood, similar is possible with action project. As a first step of creating action project I need to provide openapi spec of json type. How to get this open api file from existing odata service ? How can I create API from odata service ?

Thanks,

Neha Rane.

tobias_breyer
Advisor
Advisor
0 Kudos

Hi Neha,

have you checked the respective API page on api.sap.com? Technically, it is possible that besides the OData-related EDMX format, API documentation can also be made available in other formats, like OpenAPI YAML or JSON.

Regards,

Tobias

parab_neha
Explorer
0 Kudos

Hi Tobias,

I am using custom odata service . So it is not available on api.sap.com.

Thanks,

Neha Rane

Accepted Solutions (1)

Accepted Solutions (1)

Archana
Product and Topic Expert
Product and Topic Expert

Hello Neha,

You can generate the openAPI specification for your custom API from various different options over the internet. OpenAPI 2.0 or 3.0 and above are must to create an Action Project and connect to external systems.

parab_neha
Explorer

Thanks Archana,

Could you pls provide me some reference links over the internet for custom Odata service open API specification generation ?

Thanks,

Neha

Answers (2)

Answers (2)

nishantbansal91
Active Contributor
0 Kudos

Hello Neha,

I also have the similar case. I need to consume the approvers from API( ABAP on Cloud Service) into process automation.

I am trying to consume it via action project. But I didn't get how to generate the open API specification for custom oData service.

Which information needs to pass to below tool.

I tried to pass the metadata file of the service in the .xml format and it downloaded the empty file

https://convert.odata-openapi.net/

Karthik-Thiru
Product and Topic Expert
Product and Topic Expert

Hi Nishant,

It is not needed anymore to generate Open API spec from the OData metadata. Actions already supports direct upload of OData specification file. You can download the $metadata response of your OData API into a .xml file and then upload this file during the Action creation.

Additionally, soon there would be a feature to create Actions from a BTP destination pointing to a OData API, which would be simpler than the current approach to download and upload specification file.

rcaziraghi
Participant
0 Kudos

Hello archana.shukla and parab.neha

I've been searching for this references with no success. Please share them if possible.

Thank you!

parab_neha
Explorer

Hello ,

https://convert.odata-openapi.net/

I am using this.

Thanks,

Neha Rane