cancel
Showing results for 
Search instead for 
Did you mean: 

Get the price information using ODATA in ByD

ildar_dlw
Explorer
0 Kudos

Hi colleagues,

I am trying to get price information from SAP BYD using ODATA interface. For this purpose I have created several custom ODATA interfaces.

Unfortunately, it comes to the series of dead ends:

- If I get material BO, there is no way to get price for it

- If get a Price List information, I can get the price within price list. But I can't get a Product identifier for this price

Could you please advise what is the best way to get a price for the item? Ideally, I need an ODATA service which will give a list of items/products with prices.

May there is an alternative way for it (like using a report from Business Analytics work center)?

Thank you

ildar

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hello Ildar.

It was usefull for me to check the integration Scenarios that are already created in ByDesign.

They can only be consumed with SOAP, but you will get the same Node structure to replicate it then when creating an OData Service.

In the documentation of each Service you can find some XML examples to test it.

If you never used SOAP before just download SOAPUI software and follow this tutorial: https://blogs.sap.com/2014/01/22/how-to-test-any-cloud-webservice-using-soapui-part-2-of-2/

ildar_dlw
Explorer
0 Kudos

Hi Marc,

thank you for idea. It would be great to to have the nodes in SOAP which match to the BO. In the Calculate Price request I see the following nodes:

  • Item
  • PriceComponent

And in ODATA editor, I see the following business objects:

  • SalesPriceSpecification (which is the price in my understanding)
  • SalesPriceList (which seems to be the price list)

If I go from the Material BO, there is no also something about the price.

Please correct me if I'm wrong, but there is no evident link between nodes in SOAP and BO.

0 Kudos

Hello Ildar.

Sorry but I am not confident with Materials for the moment and I can not give you more information about it.

I will recommend you to execute a SOAP Query to Materials to see all the information you can get from there. It is possible that you realize how to get the information you are looking for.

Hope you find it.