on 2024 Jul 16 3:06 PM
Hello experts,
has anyone in this community ever implemented This API? I kindly ask for your assistance.
API: https://api.sap.com/api/OP_API_BILL_OF_MATERIAL_SRV_0002/overview
I want to create a material BOM without items but i couldn't do it, I have some error with my json body, fields are missing. I have looked at the documentation, specifically at the suggested JSON in the API Reference but I wasn't able to understand what is missing.
URL Request: (...)/sap/opu/odata/SAP/API_BILL_OF_MATERIAL_SRV;v=0002/MaterialBOM
HTTP Method: Post
Request body - JSON:
{
"BillOfMaterialVariantUsage": "1",
"IsMultipleBOMAlt": false,
"BillOfMaterialAuthsnGrp": "",
"IsConfiguredMaterial": true,
"BOMTechnicalType": "M",
"BOMGroup": "",
"BillOfMaterialStatus": "1",
"IsMarkedForDeletion": false,
"IsALE": false,
"BOMHeaderBaseUnit": "PC",
"BOMHeaderQuantityInBaseUnit": "2",
"DocumentIsCreatedByCAD": false,
"ProductDescription": "Super Bike",
"PlantName": ""
}
Status: 400 Bad Request
Error details:
{
"errordetails": [
{
"ContentID": "",
"code": "29/853",
"message": "Data is incomplete",
"propertyref": "",
"severity": "error",
"transition": true,
"target": ""
}
]
}
Thank you,
Best Regards,
João Vieira
User | Count |
---|---|
57 | |
11 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.