SAP Knowledge Base Article - Public

3249295 - Field PlainLongText not updated when using POST Request with Entity ProductionRoutingOperation of API API_PRODUCTION_ROUTING

Symptom

Field PlainLongText not updated when using POST Request with Entity ProductionRoutingOperation of API API_PRODUCTION_ROUTING

Environment

  • SAP S/4HANA, Cloud edition
  • Manufacturing

Reproducing the Issue

Call the API API_PRODUCTION_ROUTING with a Post Request using the Entity ProductionRoutingOperation  and payload :

Body:
{
    "PlainLongText": "SAP TEST
    Line 1
    Line 2"
}

Cause

if you provide less than 40 characters in PlainLongText field of operation entity, it will automatically consider the provided text in OperationText field but not in the operation long text field.

You need to provide a text length longer than 40 characters to enable the long text. Once you provide longer than 40 characters in PlainLongText field, first 40 characters will replace the OperationText field.

Currently, the Production Routing OData API has a constraint that it is only supporting unformatted text in PlainLongText field

Resolution

System works as Designed

Keywords

"Long Text" , Routing , , KBA , PP-BD-RTG , Routing , PP-PI-MD , Basic Data , PP-BD-RTG-2CL , Routing (Public Cloud) , Problem

Product

SAP S/4HANA Cloud all versions