Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Cannot add or update document; specify a UoM code


Need some help urgently.

I am facing an error "Cannot add or update document; specify a UoM code" when adding Sales order to SAP via Di-api.

Client has SAP 9 32 bit pl-12.

My development environment has

SAP 9 32 bit pl-00.

I am currently unable to fetch the UoM associated to Item via getbykey() function nor can assign any pre-defined value at sales order line level cause at debugging shows it is only readable field.

Will Pl-upgradation at my development environment help me in any way or there exists any other solution.

Please give some advice.

Thanks and Regards,


Former Member

Hi Saurav,

That can be.

In a test environment try to add/change the UoM in all items that are in the BOM and try to add the SO.

I think that can be the problem.



0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question