cancel
Showing results for 
Search instead for 
Did you mean: 

An error when using BAPI_INSPECTIONPLAN_CREATE

former_member383831
Participant
0 Kudos


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.

M

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member211676
Contributor
0 Kudos

Hi Mark

Please cross check input values while executing BAPI_INSPECTIONPLAN_CREATE in task table  for below components.

TASK_MEASURE_UNIT

TASK_MEASURE_UNIT_ISO

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.

Regards

Chennakeshava Rao 

former_member42743
Active Contributor
0 Kudos

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.

Craig