cancel
Showing results for 
Search instead for 
Did you mean: 

How to stop PO Upload Qnty fr Overwritten by Rounding Value & Min Lot Size?

Former Member
0 Kudos

Dear all

I have the quantiy specified in my PO upload excel template. However, each time I upload,the quantity specified in the PO upload template will be overwritten by Rounding Value & Min Lot Size Value set in the MRP View 2 of this Material?

And the warning message appears is:

Order quantity violates rounding rules (See long text)

Message no. ME386

Diagnosis

The rounding rule(s) marked with 'X' has/have been violated:

[X] Order quantity rounding value

I am thinking if I can use User Parameters to prevent this but I have no idea which one to use or if it is the correct approach.

Please advise. Thanks in advnace

Edited by: Daimos on Oct 6, 2009 3:28 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I am using customised in house PO upload program to do so. Each time after I successfully upload to the system, I can see from the LOG that there is such warning message of "Order quantity violates rounding rules (See long text)".

And the I go to view the PO, the PO quantity has been adjusted to meet the quantity mentioned in the rounding value of MRP2 of this material. And that is what I mean by the Quantity value in the PO upload excel is overwritten by the rounding value.

Please help.

former_member208123
Active Participant
0 Kudos

Typically ME21N will adjust the quantities to the rounding and lot requirements in the material master, when you enter manually you need to enter, then over type the quantities to get the value you wish to enter.

Why are you trying to load purchase orders that do not match your material master rounding and lot requirements?

Former Member
0 Kudos

Dear James

There are reason for this. As we are using the PO for the purpose of purchasing between Plant. And we do not use Stock Transport Order.

So, Plant B (new plant) will be the buyer to buy from Plant A (old plant), where in the PO, Plant A is the vendor now.

I just found out one SAP Note 301105 - Unwanted rounding to rounding value (ME386)

Summary

Symptom

When you create a purchase order, the purchase order quantity is rounded to a multiple of the rounding value (MARC-BSTRF) maintained in the material master/article master for the plant/site. The system generates message ME386 "Order quantity violates rounding rules (See long text)".

This program behavior is not desired if you only want to use the rounding value for the requirement quantity in the material requirements planning (MRP).

Additional key words

ME21, ME22, ME27, ME386

Cause and prerequisites

The program behavior is not a program error; it corresponds to the program logic implemented (as described in Note 154203).

Solution

You can avoid the rounding according to the rounding value when you create the purchase order as described in the following. This has no effect on the rounding through the material requirements planning (MRP) according to the rounding value when you create a purchase requisition.

1. Releases 4.0B to 4.5B

Here you can change the program behavior with the program modification as specified in the relevant correction instruction.

2. Releases 4.6A and later

Here you can change the program behavior via a user exit as described in the relevant correction instruction (user exit EXIT_SAPLMDR1_005, enhancement MDR10001).

Refer to Note 212981 when activating enhancement MDR10001 (Releases 4.6A to 4.6C)!

Source code corrections

I am thinking to implement some kind of user exit or program logic in the customised upload PO program that if the Vendor = Plant A and the Company Code = CoCd of Plant B, it will ignore the rounding value.

What do you say?

Edited by: Daimos on Oct 6, 2009 4:59 AM

former_member208123
Active Participant
0 Kudos

Not too sure why you would put rounding profiles in materials in plant B when you do not want the rounding, but the user exit is the only way to achieve the requirement.

Former Member
0 Kudos

Dear James

We do not touch on Rounding Profile but we use Rounding Value.

The reason we have rounding value for all the materials in Plant A (old Plant) is that vendor has set the Minimum Packaging Quantity (MPQ) and the Minimum Lot Size (Minimum Order Quantity).

To change all of these Minimum Lot Size and Rounding Value in material master codes will need a lot of effort and we still need these values later.

That is the main reason.

former_member208123
Active Participant
0 Kudos

Sorry, my question was why do you have rounding for materials in plant B? Is not plant B where you do not want the rounding?

Former Member
0 Kudos

It is because the old plant A is consolidated with another plant to become plant B (new plant).

And the rounding value for the material in Plant A will be reused in Plant B as we will reuse the same set of vendors in the future.

That is the reason

Former Member
0 Kudos

Dear all

I found the answer already. We have to use user exit to hand situation like this and I have set some conditions such as vendor = Plant A (Old Plant), company Code = CoCd of new plant and etc.

Enhancement: MDR10001

User Exit: EXIT_SAPLMDR1_00

Thanks for the help.

Answers (1)

Answers (1)

danndy
Member
0 Kudos

This message was moderated.