Ansicht
Dokumentation

J_4A9_ROUNDING_DELIV_UOM_MSO - rounding based on the delivery quantity from sales view material master

J_4A9_ROUNDING_DELIV_UOM_MSO - rounding based on the delivery quantity from sales view material master

ROGBILLS - Synchronize billing plans   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module rounds assignable quantities based on the delivery quantity and/or delivery unit of measure (UoM) maintained in the Sales view of the Material Master.

Depending on which of the following fields you select, the function module does the following:

  • Only delivery quantity
If you only enter the delivery quantity, the function module assumes that the corresponding UoM is the basic UoM. It checks and, if necessary, reduces the assignable quantity to an exact multiple of the delivery quantity.
  • Delivery quantity in an alternative unit of measure:
The function module first converts the allocatable quantity from the basic UoM to the alternative UoM. Depending on the rounding rule, the converted quantity is rounded (that is, rounding down to whole units). Then the function module checks the assignable quantity (in the alternative UoM) and, if necessary, reduces it to an exact multiple of the delivery quantity. Finally the allocatable quantity is reconverted based into the basic UoM.

Example

  • Only delivery quantity:
Sales order quantity = 90 pc
Allocatable quantity = 83 pc
Delivery quantity = 2 (assuming that UoM = basic UoM = pc)
=> rounded allocatable quantity = 82 pc
  • Delivery quantity in an alternative unit of measure:
Sales order quantity = 90 pc
Allocatable quantity = 83 pc
Delivery quantity = 4
Delivery UoM = box (1 box = 8 pc)
  • Conversion into alternative UoM:

83 pc, 1 box = 8 pc) = 10.375 boxes
  • Rounding:

10.375 boxes rounded down to whole units = 10 boxes
  • Checking and, if necessary, reducing:

10 boxes reduced to a multiple of 4 boxes = 8 boxes
  • Reconversion into basic UoM:

8 boxes = 64 pc
=> rounded allocatable quantity = 64 pc.





Parameters

EX_MESSG
EX_MPMNG
EX_MSGFL
EX_STMNG
IM_BDBS
IM_RORE
IM_STMNG

Exceptions

EXCEPTION_OCCURED

Function Group

J4A9

CL_GUI_FRONTEND_SERVICES - Frontend Services   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 3074 Date: 20240523 Time: 104105     sap01-206 ( 38 ms )