When trying to upload the inspection plan using: BAPI_INSPECTIONPLAN_CREATE i get the error:
Unit ****** cannot be coverted to unit PC from material master.
Could you kindly help as cannot find the casue of error.
Please cross check input values while executing BAPI_INSPECTIONPLAN_CREATE in task table for below components.
and also cross check the material BUOM with above component inputs.
If all are correct then check ALE/EDI settings for this UOM in CUNI.
Yes.. I'm not that familiar with the BAPI but if you try to load the plan manually you should get the same error.
The error is caused by using a UOM in the inspection plan that does not have a conversion to the BUOM set up in the material master.
You either need to change the UOM in the inspection plan or define the UOM in the material master as an alternate UOM and provide the proper conversion factors.