Decimal point in item unit

Source: Internet
Author: User

This article briefly describes the number of decimal places, the entire number of digits, and the number of digits displayed in SAP.

1.1.1 decimal point definition of item unit

As shown in, the transaction code cuni sets the unit and decimal point of the item. You can set a decimal point at icons 1 and 2.

Icon 1: The number of digits displayed

Icon 2: indicates the entire number of digits.

As shown in, if decimal places in PC is set to 0, that is, decimal places are not given the decimal point. If decimal places rounding is set to 0, decimal places is rounded up.

Next, we will use the unit PC as an example to demonstrate the corresponding effect.

1.2 Scenario Description

Next, we will create a material zmrp014, set the basic unit of the material to PC, and then check the influence of the decimal point of the material on different applications such as Bom, production order, purchase order, and inventory movement.

1.2.1 set the unit of the item to PC

Set the basic unit of item zmrp014 to PC

1.2.2 BOM Maintenance

As shown in, the transaction code cs01 creates the BOM for the finished product zmto. In this Bom, enter the component material zmrp014 and enter the number of zmrp014 required for each finished product zmto to be 1.111 PC. You can enter the decimal point in the system, at the same time, the system prompts "decimal point problem ".

You can also import the number of decimal points when importing BOM data in batches.

1.2.3 production order maintenance

The transaction code CO01 creates a production order for the finished product zmto. The number is 1, 10, and 100 respectively. Check the quantity of raw materials as follows:

1. the number of created production orders is one, and the number of components brought out by the previously maintained BOM system is 1.111. However, because the unit is set to an integer, the system performs an upward order, shows the result of the integer. Therefore, the number of components (zmrp014) is two.

2. Create 10 production orders. According to the definition in Bom, the system determines that 11.11 of the required components is required, and then rounded up, as shown in, the number of components (zmrp014) is 12

3. Create 100 production orders. According to the definition in Bom, the system determines that the number of components is 111.1. After the result is rounded up, as shown in, the number of components (zmrp014) is 112.

4. manually modify the number of components (zmrp014)

As shown in, change the number to 111.110. The system prompts you to enter the decimal point after you press Enter.

1.2.4 raw material procurement impact

Transaction code me21n: Create a purchase order for material zmrp014, enter 11.11 of the purchased quantity, and the system automatically determines that the number is 11. When you enter 11.11 again, the system will keep the number unchanged at 11.11.

1.2.5 impact of Material Movement

The transaction code mb1c moves the item zmrp014, and the number of inputs is 10.110, that is, the system supports a decimal point when moving the item.

1.3 system logic description 1.3.1 number of decimal point Length Control

As shown in, when you create a purchase order for materials (zmrp014) in the unit of PC, enter a quantity of 10.1111 (four decimal places), and the system will prompt that it does not conform to the numerical format.

Check that the field corresponding to the quantity in the purchase order is Ekpo-menge, and the length of this field is only three decimal places. Therefore, no matter how the Unit is set, the system can only enter three digits.

1.3.2 unit rounding and display

In the transaction code cuni, set the unit to an integer decimal point and display the decimal point,

In this example, the Unit PC of zmrp014 is set to different display decimal points and the entire decimal point has different effects on BOM and production orders. The specific impact is shown in the following table.

Unit settings

Bom impact

Production Order impact

Show decimal point

Decimal point

Bom Input

Bom display

One production order is required

10 production orders required

100 production orders required

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

1.3.3 Summary

We need to differentiate the differences between the three:

The number of decimal places of the unit, the rounded digits of the Unit, and the decimal point display of the Unit are controlled by different methods (fields.

1. number of decimal places

The number of decimal places that can be entered in the document is determined by the attribute of the field. In this example, when you enter the number in the purchase order, the number of decimal places that can be entered is limited by the decimal point length defined in the EKPO-MENGE of the field corresponding to the number, generally 13 digits in total, three of which are decimal points.

2. The unit is the integer.

The entire number of units defined in the transaction code cuni. The overall logic is that the system will automatically perform the integer operation. The method of the integer operation is to rounded up, you can manually enter more digits.

Depending on different applications, the methods for system tuning vary.

3. display of decimal places in units

The number of decimal places defined in the transaction code cuni. The length displayed by the system takes longer digits in the display length and input length. Specifically, the number of components in Bom is used as an example.

Enter 1. If it is defined as 0 decimal places, 1 is displayed. If it is defined as 2 decimal places, 1.00 is displayed.

Enter 1.111. If it is defined as 0 decimal places, 1.111 is displayed. If it is defined as 2 decimal places, 1.111 is displayed.

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.