Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

API_PRODUCTION_ROUTING cannot write longtext in Operation entity

brunodelladucat
Explorer
0 Kudos
215
  • SAP Managed Tags

Dear Community

I'm trying to write a longtext into an existing operation. But instead to get a value in property "PlainLongText" the property "OperationText" is updated

URI and Method: PATCH...sap/opu/odata/sap/API_PRODUCTION_ROUTING/ProductionRoutingOperation(ProductionRoutingGroup='50004073',ProductionRouting='1',ProductionRoutingSequence='0',ProductionRoutingOpIntID='1',ProductionRoutingOpIntVersion='1')

Body:

{

"PlainLongText": "Test

Line 2

Another Line

}

Can someone help how to proceed correctly?

Kind Regards

Bruno

1 REPLY 1
Read only

MartyMcCormick
Product and Topic Expert
Product and Topic Expert
0 Kudos
193
  • SAP Managed Tags

Hello

I am able to reproduce your problem in my system as well. Both OperationText and PlainLongText fields only update OperationText regardless of which one is passed (or both) in the API call.

I noticed that you already have an incident open with SAP Support and I think that is the proper channel to resolve your issue.

Thanks,

Marty