Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Error 'Enter order unit' in PIR Change using IDOC INFREC01

0 Kudos

Hi All,

I am creating Purchase info record using IDOC INFREC01 and condition type using IDOC COND_A04. Its working fine in case of create PIR.

But If I pass PIR number in the upload with other fields to be chnaged then IDOC goes the in the error with status 51 , Error

"Enter Order unit". I am passing both base unit of measure (MEINS) and purchase order unit (LMEIN).

Kindly help find out the issue....!!!

Thanks in advance.

3 REPLIES 3

Former Member
0 Kudos

Hi,

Check if you are passing the ISO code for unit of measure?

Also, Try debug using WE19 and find out where you are getting the error.

Hope it helps.

Sujay

Solved by passing

gs_e1einem-bprme " Order price unit

darkjz
Discoverer
0 Kudos

Hi Antim,

Thanks for that hint! Solved the problem for me. I mapped to the iDOC to have the same value from EINA-MEINS to EINEM-BPRME.

-Raul