Number of decimal places for item units, rounding digits

Source: Internet
Author: User

1.1.1 The definition of the decimal point for the item unit

As shown in the following illustration, the transaction code cuni the unit and the decimal point of the item, and the decimal point can be set at icon 1, Icon 2.

Icon 1: Represents the number of digits displayed

Icon 2: Represents the integer number

As shown in the following figure, setting the unit PC's decimal point (decimal places) to 0 digits, with no decimal points, sets the integer number of decimal digits (decimal places rounding) to 0, and the delegate will be rounded.

In the following section, the unit PC is used as an example to demonstrate the appropriate effect.

1.2 Scene Description

Later, you will create an item ZMRP014, set the base unit of the item as a PC, and then view the impact of the item's decimal point on different applications, such as BOM, production order, purchase order, inventory move, and so on.

1.2.1 Sets the unit of the item as a PC

Set the base unit of the item ZMRP014 as PC

1.2.2 BOM Maintenance

As shown in the following illustration, the transaction code CS01 creates the BOM for the finished product Zmto, enters the component material ZMRP014 in the BOM, enters each production product zmto need ZMRP014 quantity 1.111PC, the system may enter the decimal point, simultaneously the system prompts will carry on "The decimal point question".

When you bulk import BOM data, you can also import the number of decimal points.

1.2.3 Production Order Maintenance

Transaction code CO01 Create production orders for finished products Zmto, the quantity is 1, 10, 100, to see the quantity of raw material requirements, as follows:

1. Create a production order with a quantity of 1, according to the BOM system that has just been maintained above, the number of components is 1.111, but because of the set up in the unit, the system is rounded up, the result of the rounding is shown in the following figure, so the number of components to bring out (ZMRP014) is 2.

2. Create a quantity of 10 production orders, as defined in the BOM, the system determines the need for component 11.11, after rounding up, as shown in the following figure, the number of components (ZMRP014) is 12

3. Create a quantity of 100 production orders, as defined in the BOM, the system determines the need for component 111.1, after rounding up, as shown in the following figure, the number of components (ZMRP014) is 112.

4. Manually modify the number of components (ZMRP014)

As shown in the following figure, the number of modifications is 111.110, the system prompts, enter the decimal point after entering.

1.2.4 Raw Material purchasing impact

Transaction code me21n, create the purchase order of the item ZMRP014, enter the purchase quantity 11.11, the system automatically determines the quantity is 11, when again enters 11.11, the system maintains the quantity to be 11.11 unchanged.

1.2.5 Material Movement Impact

Transaction code MB1C to the material ZMRP014 goods movement, the input quantity 10.110, namely in the system supports the goods movement to have the small number of points.

1.3 System Logic Description

Decimal point length control of 1.3.1 Quantity

As shown in the following illustration, create a purchase order for an item (ZMRP014) that is a PC, enter a quantity of 10.1111 (four-bit decimal), and the system will be prompted to not conform to the number format.

View the quantity in the purchase order corresponding to the field Ekpo-menge, which has a decimal point length of only 3 digits, so that the system allows only 3 digits to be entered regardless of the unit setting.

The 1.3.2 and display of the unit

Set the integer decimal point and Display decimal point for the unit in the transaction code Cuni.

The unit PC for the item ZMRP014 in this example is set to a different display decimal point and has different effects on the BOM and the production order, as shown in the following table.

Unit settings

BOM Impact

Production order Impact

Show decimal point

Take an integer decimal point

BOM Input

BOM Display

Production order requires 1

Production order requires 10

Production order requires 100

0

0

1.111

1.111

2

12

112

0

0

1

1

1

10

100

0

2

1.111

1.111

1.120

11.110

111.100

0

2

1

1

1

10

100

2

2

10.111

10.111

1.12

11.12

111.1

2

2

10

10.00

1.00

10.00

100.00

Summary of 1.3.3

We want to differentiate between the three:

The number of decimal places in the unit, the integer number of units, and the decimal point of the unit show that the three are controlled by different ways (fields).

1, the number of decimal places

The number of decimal places that can be entered in a document is determined by the properties of the field itself. In this case, the number of decimal places that can be entered when the quantity is entered in the purchase order is limited by the decimal point length defined in the number of field ekpo-menge, typically 13 digits, of which three bits are decimal points.

2. The number of units to take the whole

The total number of units defined in the transaction code Cuni, the general logic is that the system will automatically take the whole, the whole way is to take the whole, the system after the whole, you can manually enter more digits number.

In particular, depending on the application, the system does not have the same way of rounding.

3, the number of decimal places in the unit display

The number of decimal places defined in the transaction code Cuni, the length shown by the system to show the length and longer digits in the input length. Specifically, take the number of components in the BOM as an example

Enter 1, which displays 1 when the decimal point is defined to show 0 digits, and 1.00 if the decimal point is defined to show 2 digits

Enter 1.111, which displays 1.111 when the decimal point is defined to show 0 digits, and 1.111 if the decimal point is defined to show 2 digits

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.