cancel
Showing results for 
Search instead for 
Did you mean: 

UPDATE Handling Unit using API_HANDLINGUNIT does not work.

tony_raimo2
Explorer
0 Kudos
138

I'm trying to call the public API to update a Handling Unit in an S/4 2023 on-prem system.  The GET operation works, however, the PATCH operation throws this error.  Has anyone seen this error before?

{
    "error": {
        "code": "HU_RAP/066",
        "message": "Operation UPDATE not supported for LO-HU",
        "@SAP__common.ExceptionCategory": "Provider_Application_Error",
        "innererror": {
            "ErrorDetails": {
                "@SAP__common.Application": {
                    "ComponentId": "LO-HU-API",
                    "ServiceRepository": "SRVD_A2X",
                    "ServiceId": "API_HANDLINGUNIT",
                    "ServiceVersion": "0001"
                },
                "@SAP__common.TransactionId": "8452C63109A70020E0066FDA3E13200B",
                "@SAP__common.Timestamp": "20241114013306.193137",
                "@SAP__common.ErrorResolution": {
                    "Analysis": "Use ADT feed reader \"SAP Gateway Error Log\" or run transaction /IWFND/ERROR_LOG on SAP Gateway hub system and search for entries with the timestamp above for more details",
                    "Note": "See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)"
                }
            }
        }
    }
}
 
Here are some more details about how I'm making the call in PostMan:
URL:  
 
Headers:
x-csrf-token  =  8g_-04avJscfSv8vIpDaWg==
if-match        =  W/"SADL-020241029183518C~20241029183518"
 
Body:
{
    "HandlingUnitWidth": 5,
    "UnitOfMeasureDimension": "CM"
}
 
 
 

Thank you,

View Entire Topic
GrahamRobbo
Active Contributor
0 Kudos

Yes it does. Yet the error text says "Operation UPDATE not supported for LO-HU". 🤷🏻‍