cancel
Showing results for 
Search instead for 
Did you mean: 

Delivery quantity not rounded down to shippable Delivery units

Former Member
0 Kudos

Dear,

We are facing a problem with the  rounding of the Delivery quantity for one of our Materials.

This Material is a seal, with Base UOM of M (meters), sold and delivered in ROL (roles) of 20 M each.

In the Material master we have set:

  • the Sales unit (MVKE-VRKME) to ROL
  • the Delivery unit (MVKE-SCMNG/-SCHME) to 1 ROL
  • the Minimum order quantity (MVKE-AUMNG) to 20 M
  • the Minimum delivery quantity (MVKE-LFMNG) to 20 M

Now we have an available stock of 75 M.

When we create a Sales order for 4 ROL (80 M), during VL01N the system determines a Delivery quantity of 3,750 ROL (75 M, being the available stock).

This is wrong: it should always be rounded  down to shippable ROL’s, in this case 3 ROL (60 M).

Partial deliveries are allowed for this customer.

How can we accomplish this?

We already tried:

  • customizing a Rounding profile
  • to change the Rounding indicators (V_TVLP-RNDSG) in the customizing of the Delivery item category (0VLP)

This does not solve the problem.

Should we use a user exit (USEREXIT_AVAILABILTY_IN/_OUT) in RV03VFZZ?

If so, does anyone have experience/sample code?T

Thanks in advance for any clues,

Kind regards,

Bart

Accepted Solutions (1)

Accepted Solutions (1)

former_member223981
Active Contributor

Hi Bart,

The availability check result is not rounded in the standard system. This is documented in SAP note 547118:

*************************************************************************

10. Question

Why is the confirmed quantity a decimal fraction even

though I have activated the setting in Customizing that informs the system that

decimal places must not be used for the unit of

measure?

Answer

This setting in Customizing only refers to the

requested quantities accepted by the system. If you only ever work with whole

values (that is, inventory postings and all receipts and issues) and if a

document works with a sales probability of 100 percent, the whole numbers are

also retained even during the ATP invoice.

If, however, a document works

with a sales probability between 0 and 100 percent, quantities that are not

whole numbers can also be assigned. Consequently, quantities that are not whole

numbers also remain available and can then be assigned. Therefore, a result that

is not a whole number is possible even though Customizing is defined

differently.

The standard R/3 system does not need to have a rounding

function because the design objectives can only be defined individually and

other rounding problems would occur, such as conservative rounding or rounding

that would result in overassignment.

If you nevertheless want to use a

rounding function for the confirmed quantities, the EXIT_SAPLATPC_002 function

module is provided as a user exit for changing the result of the ATP check. In

this case, the T006-ANDEC and T006-DECAN fields must be analyzed depending on

the unit of measure used. The T_MDVEX-MNG02 quantity can then be adjusted

accordingly.

Refer also to Note 787037, which corrects this particular

rounding error.

Attention: The ATP check is always carried out with the

base unit of measure.

*************************************************************************

Hope this helps.

Answers (0)