Symptom
Unable to post goods receipt for a purchase order using app "Post goods receipt for purchasing document" due to technical error "Failed to read property".
Environment
SAP S/4HANA Cloud Public Edition 2408
Reproducing the Issue
- Go to APP "Post Goods Receipt for Purchasing Document".
- Enter Purchase Order.
- Press Post.
- Encounter the following error message:
Sorry, a technical error occurred. Please try again later.
{
"message": "HTTP request failed",
"headers": {
"Content-Type": "application/json;charset=utf-8",
},
"statusCode": "400",
"statusText": "Bad Request",
"responseText": "{\"error\":{\"code\":\"CX_SXML_PARSE_ERROR/0\",\"message\":{\"lang\":\"en\",\"value\":\"Failed to read property at offset '1.190'\"},\"innererror\":{\"application\":{\"component_id\":\"MM-IM-F\",\"service_namespace\":\"/SAP/\",\"service_id\":\"MMIM_GR4PO_DL_SRV\",\"
Cause
A custom field has been created and maintained the same as a 'Checkbox' in app 'Custom Fields' and enabled this for MMIM_GR4PO_DL_SRV.
Resolution
A fix is planned to be released in the upcoming release CE2502.
In the meantime, the following workaround using a different custom field type is recommended:
- Disable the checkbox custom field in the UI service MMIM_GR4PO_DL_SRV within the App Custom Fields.
- Create a new custom field by using the Code List type, and define two entries (e.g. Y for Yes and N for No) in the list.
- Enable the UI service MMIM_GR4PO_DL_SRV for the new custom field.
- Add the new custom Code List field to the Post Goods Receipt for Purchasing Document app by Adapt UI.
- Then it will be able to select either Y or N from the list as needed.
Keywords
Failed to read property, Post Goods receipt for purchasing document, Post, Technical Error, Checkbox, Custom Field, Accounting Coding Block, MMIM_GR4PO_DL_SRV , KBA , MM-FIO-IM-SGM-2CL , Fiori UI for Stock and Goods Movements (Public Cloud) , Problem