SAP ABAP Data Element UWIDTH (Number of columns for currency/unit)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI-SL-IS (Application Component) Information System
     GRWT (Package) Report Painter / Report Writer
Basic Data
Data Element UWIDTH
Short Description Number of columns for currency/unit  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type UWIDTH    
Data Type CHAR   Character String 
Length 1    
Decimal Places 0    
Output Length 1    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Curr.width 
Medium 15 Currency width 
Long 20 Currency width 
Heading
Documentation

Definition

This parameter determines whether the currency or unit of measure should be printed after the amount and how many columns should be reserved for this purpose.

Using the print classes, you can define up to six different currency widths in one report.

Note

When defining the column width, you should take into account that the column width reserved for the amount is reduced by the unit width, the right margin, and an additional blank space between the amount and unit.

The formulas for this are as follows:

  • The unit width equals 0:

    Width for amount = column width - right margin

  • The unit width is greater than 0:

    Width for amount = column width - unit width - right margin - 1

Example

  • Right margin:     0
    Unit width:     0

       |--------------------|-----------------| 
| |Transaction curr.|
|--------------------|-----------------|
|Account A | |
| German Mark | 100.00-|
| Italian Lira | 1244000 |
| US Dollar | 200.23 |
|--------------------|-----------------|

  • Right margin:     0
    Unit width:     3

       |--------------------|-----------------| 
| |Transaction curr.|
|--------------------|-----------------|
|Account A | |
| German Mark | 100.00- DEM|
| Italian Lira | 1244000 LIT|
| US Dollar | 200.23 USD|
|--------------------|-----------------|

  • Right margin:     2
    Unit width:     3

       |--------------------|-----------------| 
| |Transaction curr.|
|--------------------|-----------------|
|Account A | |
| German Mark | 100.00- DEM |
| Italian Lira | 1244000 LIT |
| US Dollar | 200.23 USD |
|--------------------|-----------------|
History
Last changed by/on SAP  20010607 
SAP Release Created in