cancel
Showing results for 
Search instead for 
Did you mean: 

Create/Update/Query Account, Contacts and Opportunities by OData

monica_cotes
Explorer
0 Kudos

Good day SAP Community,

I am familiar with Create / Update / Consult account, Contacts and Opportunities by SOAP, but totally new using OData and it seems to be the suggestion for version 1808 ... I need to create / update / consult account, contacts and opportunities by OData, but I'm not sure of some things:

1. In 'DESata Service Explorer', I see the standard service 'c4codataapi' with all the entities that I need. Can I use this without any changes or do I have to make a specific one so that it is available for use?

2. I do not see a way to create a technical user for OData authentication as I used to do in communication agreements with SOAP services. The theory mention two ways:

- Basic: enter the username and password used to log in to the target system.

- OAuth: enter the configuration details of OAuth.

For the first one I refer to the section 'Create an external data service' from this link https://help.sap.com/doc/f55a874a71504a35b37e3db28c59494c/1702/en-US/ODATA_APIs.pdf, but I can not find the view 'External Consumption of OData services in the right of access to follow the instructions. I do not know if this is the correct way to apply this option or if this refers to a user 'end user' and not a technical one for API authentication.

For the second option I found this reference https://github.com/SAP/hcp-portal-service-for-pcm/blob/master/README.md but I'm not integrating with SCP, in my case the OData service will be consumed by a Customer web page to create / update / consult account, contacts and opportunities.

By other side I also need to use OData to be consumed by BW, in this particular case how the authentication works?

I will appreciate your confidence in this requirement.

Thank you all in advance and best regards.

Accepted Solutions (1)

Accepted Solutions (1)

anurag_nath3
Employee
Employee
0 Kudos

Hi Monica,

1. In 'DESata Service Explorer', I see the standard service 'c4codataapi' with all the entities that I need. Can I use this without any changes or do I have to make a specific one so that it is available for use?

Answer: Yes you can use the above service for your requirement. We have released this service in 1808. You don't need to make any changes to this as it will have all the Business Object/Entity in the service

2. I do not see a way to create a technical user for OData authentication as I used to do in communication agreements with SOAP services.

Answer: We have extended the support of Basic Authentication. So you can continue to use Basic Authentication in any of the external tool

Regards,
Anurag

Answers (0)