Skip to Content
avatar image
Former Member

How to get Account SalesOrg name using OData

Hello.

I'm working with OData services. Mostly using read operation (method GET).

I need to receive SalesData records for particular Account and read Sales Organization name. The problem is that when I'm calling AccountSalesData I see all corresponding SalesData records, but cannot find the Sales Organization name.

In response there is a uri to the SalesOrg node

https://myxxxxxx.crm.ondemand.com/sap/c4c/odata/v1/c4codata/AccountSalesDataCollection('00163E0AC1AF1ED690F473ABF617D90A')/AccountSalesOrganisationName

But when I open it, i don't see the title. Any ideas how to read the Sales Org name?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 08 at 01:00 PM

    Dear Customer,

    We checked the behaviour of the above and could see that the issue has been resolved with latest releases.
    The Sales Organization name will now appear after calling AccountSalesData, under Sales Organisation ID.
    I followed the below steps:

    1) Go to "Odata Console"

    2) Select "c4codata"

    3) Select "Test"

    4) Search for "Entity Set -

    AccountSalesDataCollection

    5) Select "Test" and Execute a "GET" Function

    6) Export the data to CSV and open the file

    There you will see a header Called Sales Org. ID


    Thanking you in advance,
    Kindest Regards,

    Armen Tsaturov
    SAP Cloud Support

    Add comment
    10|10000 characters needed characters exceeded