Setting the Decimal Places of Freely Defined Lines
Purpose
You want to make the decimal places of self-defined
planning type lines visible in the planning table. You have recorded the following macro in your planning type:
- Planned incoming orders - planned invoiced sales = NotSold
(that is, the difference between orders taken and orders billed)
No decimal places are visible for the line "NotSold" in the planning table. This is because the line does not have a unit.
Process Flow
Create an additional structure for your information structure, and give it the name ZSxxxZ, where Sxxx is the name of the information structure. To do this, choose Tools
®
ABAP/4 Workbench
®
Development
®
Dictionary.
In the additional structure, create a field with a data element for the self-defined line. In the above example, you would create a field for "NotSold."
Choose a reference field with the required number of decimal places.
Change your planning type by adding to it the key figure you created in step 2. Key figures in additional structure ZSxxxZ are automatically offered to you in planning types based on information structure Sxxx. In the above example, you would choose the key figure "NotSold." You would define this key figure as the macro’s result line.
Result
The number of decimal places of the reference field determines the number of decimal places of the new key figure that are visible in the planning table.
See also:
Setting the Decimal Places of Key FiguresABAP Dictionary
(R/3 Library under Basis)Implementation Guide for the Logistics Information System