Symptom
When posting goods receipts via API_MATERIAL_DOCUMENT_SRV and the 'CreatedByUser' field is passed, the posting fails with error 'Field 'CreatedByUser' cannot be set for this operation on header level' (MM_IM_ODATA_API_MDOC/001)
Read more...
Environment
SAP S/4HANA Cloud Public Edition
Product
Keywords
API_MATERIAL_DOCUMENT_SRV, CL_API_MATERIAL_DOCUME_DPC_EXT, LS_HEADER_FORBIDDEN, forbidden field, MM_IM_ODATA_API_MDOC001, MM_IM_ODATA_API_MDOC/002, Blocked Stock SE24, check_forbidden_item_fields. API_MATERIAL_DOCUMENT_SRV/resource/A_MaterialDocumentHeader' , KBA , MM-IM-GF-BAPI , BAPIs for Goods Movements , MM-IM-GF-BAPI-2CL , BAPIs for Goods Movements (Public Cloud) , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview