‎2006 Jun 19 11:57 PM
Hi Friends ,
I have created a program to create PO's using a load program . This program is set up to have POs created for each Company Code Vendor, Purchase Org, Plant, Buyer combination. The input fields for the load program are:
LIFNR Vendor Number
EKORG Purchasing Organization
EKGRP Purchasing Group
BUKRS Company Code
WERKS Plant
EMATN Material Number
MENGE PO Quantity
The input file i have has 3 material nos. 2material nos belong to the same vendor and create 1 PO . The third material no belongs to different vendor and creates a 2nd PO .
The problem i have is that when i run the progam it creates 2 PO's . The PO which contains 2 material Nos gives me the 2nd line with quantity 1000 instead of 1 .
The first line and the second line in the PO should have the quantity 1 .
The first line correctly shows the Po quantity 1 EA.
The second one shows the PO quantity 1000 LB .
The error in the return BAPI t_return is :
"Order quantity violates rounding rules (See long text)"
Please advise .
Thank you
‎2006 Jun 20 7:23 AM
in that case u have to check the BSU of the material in MM03.
regards
Prabhu
‎2006 Jun 20 4:25 PM
Hi Prabhu ,
The rounding value for one of the material is 1000.000 and the unit is LB in /NMM03 .
When i try to upload this material with order quantity 1 . It creates a PO with order quantity 1000.000 and order unit LB . It gives me a warning when creating the PO that
"Order quantity violates rounding rules (See long text)"
Please advise .