Entering content frameBackground documentation Template Locate the document in its SAP Library structure

If you specify expansion type NM and subexpansion type N, you can define input templates for numerical values.

You can use the following decimal places in the input template:

1.

Z = optional place (eliminates leading zeros)

2.

B = optional place (no leading zeros eliminated - if the SAP System does not find any values, it replaces B with a blank)

3.

9 = fixed place (no leading zeros eliminated - if the SAP System does not find any values, it replaces 9 with a zero)

Note

The order of the decimal places in the template is as above from left to right before the decimal point.

If the number of decimal places is greater than the number defined in the template, the system displays asterisks (*) instead.

You can use the following decimal places in the input template:

1.

9 = fixed place (no following zeros eliminated - if the SAP System does not find any values, it replaces 9 with a zero)

2.

B = optional place (no following zeros eliminated)

3.

Z = optional place (eliminates following zeros)

Note

The order of the decimal places in the template is as above from left to right after the decimal point.

Example

Numerical Value

Template

Result

12.3456789

99.99BBZ

12.34567

12.3

99.99BBZ

12.30

123.45600

99.99BBZZ

**.4560

Which character you must specify in the template as the decimal separator and which character as the thousand separator (decimal point or comma) depends on the setting for the decimal separator in the header data for the respective report generation variant for which you later want to use the report template.

If you do not define a template, the system uses the dimension specified by the transfer parameter.

You enter the input template for dimensions after the input template for the numerical value. Separate the template definitions with a blank.

You can use the following decimal places in the input template:

D = optional decimal place (if R/3 finds no value Þ D is replaced by a blank)

Note

If the number of characters required by the unit of measure is greater than the number of characters you defined for the input template, the system outputs an asterisk (*) behind the unit of measure.

Example

Numerical Value

Template

Result

12.34 kg/l

99.99 DD

12.34 k*

12.34 kg/l

99.99 DDDDD

12.34 kg/l

Note

You can use "D-" to completely suppress the output of the dimension.

Example

Numerical Value

Template

Result

123.45 kg/l

999.9 DDD

123.4 kg*

123.45 kg/l

999.9

123.4 kg/l

123.45 kg/l

999.9 D-

123.4

 

The system processes both values of the interval separately and prepares the template accordingly.

Example

Numerical Value

Template

Result

12.34 -13.5 kg/l

99.99 DDDD

12.34 - 13.50 kg/l

 

The original accuracies are transferred.

Example

Numerical Value

Template

Result

> 12.34- < 13.5 kg/l

99.99 DDDD

> 12.34- < 13.50 kg/l

Note

You can also define an output function by copying the function module C14N_SYMBOL_METHOD and adjusting it accordingly, for example.

See also Function Module

 

 

Leaving content frame