Application Development and Automation 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: 
Read only

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

0 Kudos
1,676

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.

4 REPLIES 4
Read only

Former Member
0 Kudos
1,013

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

Read only

1,013

Solved by passing

gs_e1einem-bprme " Order price unit

Read only

darkjz
Discoverer
0 Kudos
1,013

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

Read only

0 Kudos
939

Hi Raul,

I am facing with similar issue, could I ask how did you "mapped to the iDOC to have the same value from EINA-MEINS to EINEM-BPRME"?

Thank you so much.

Lam.