cancel
Showing results for 
Search instead for 
Did you mean: 

Commercial Project - Create, Update | DemandSet | Unable to Update Effort

Vivek0459
Participant
0 Kudos

Hi SAP Folks,

i have tried to use PATCH method of DemandSet available in API "Commercial Project Integration (SAP_COM_0054)" but unable to Change Effort .

Attached payload and response message, Just wanted to know has any one used this method and got any success in updating any data in Demand?

https://XXXXXX.s4hana.ondemand.com/sap/opu/odata/CPD/SC_PROJ_ENGMT_CREATE_UPD_SRV/DemandSet(ProjectID='{{ProjectID}}',WorkPackageID='{{WorkPackageID}}',WorkPackageName='{{WorkPackageName}}',ResType='{{ResType}}',ResourceId='{{ResourceId}}',Workitem='{{Workitem}}',DelvryServOrg='{{DelvryServOrg}}')

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

former_member507644
Active Participant
0 Kudos

Hello,

According to the payload it seems the system is not able to find the Resource.

Maybe you could check if you maintained the ResourceId correctly.

Another possibility that I would like to raise, is that if you are trying to create a new demand entry you could try using POST method.

Best regards,

Eduardo

Vivek0459
Participant
0 Kudos

Hi eduardosperafico ,

Thanks for your response, but resource is already assigned on this demand and i would like to change that demand that's why is used PATCH but seems like there is some bug in this API .

BR

Vivek Singh

ana_goncalves
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi vivekkumar.singh2,

This may indeed be a bug. I would advise you to submit an incident for further investigation.

Kind regards,

Ana

Answers (0)