cancel
Showing results for 
Search instead for 
Did you mean: 

ServiceRequest and ServiceRequestItem OData services don't allow us to maintain specific fields

hakan_kose
Contributor
0 Kudos

We’ve been working on an enhancement in SAP CRM to send a work order created in SAP CRM to SAP Hybris Cloud for Customer – via OData service. However the OData service (/sap/c4c/odata/v1/ServiceRequest and /sap/c4c/odata/v1/ServiceRequestItem) don’t allow us to update quantities in work order items and some fields in work order header.

How can we solve this problem? Why does OData doesn’t allow us to update those fields? Is there any other way or work around to update these fields?

Kind Regards

Accepted Solutions (1)

Accepted Solutions (1)

Dedeepya
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Hakan,

Can you please test using the SOAP Service "ManageServiceRequestIn" with Operation "MaintainBundle".

The OData service modeled is on same lines as the SOAP service, so the prerequisites and limitations/restrictions documented for this SOAP service would also apply to the OData Service.

You can access documentation here :

https://myxxxxxx.crm.ondemand.com/sap/ap/ui/repository/SAP_BYD_WEKTRA/CP/cp.html?objname=II_A1SCRM_S...

For e.g. :

Prerequisites : Existence of Master Data, i.e. All of Master Data would only be referenced and not created. Some e.g.s of Master Data-Organizational Management Data, Employees Responsibilities, Products, Customers, Service Issue Categories, Service Levels.

Your Issues:

a) Quantity : You should be able to pass "Requested Quantity" (on UI it is "Planned Quantity") and "Fulfilled Quantity" (On UI it is "Actual Quantity") along with the "Quantity Unit of Measure Code"

b) Header : Please verify which fields it is you are trying to update, if it is Date fields please verify the format in which date is being sent.

Regards
Dedeepya

Answers (1)

Answers (1)

former_member277258
Discoverer
0 Kudos

Hi Hakan

I get your that you are unable to update quantities in workorder items and header.

But can you provide few more details so to answer your query correctly -

1. which API endpoint i.e. OData service you are using (as the example looks like to have the entityset name not the endpoint name)

2. Which property is which entity you are exactly pointing too

- Sumit