SAP ABAP Data Element GRFN_AMLENGTH (Number of characters)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC (Application Component) Governance, Risk and Compliance
     GRFN_AUTO_MONITOR (Package) GRC Automated Monitoring Framework
Basic Data
Data Element GRFN_AMLENGTH
Short Description Number of characters  
Data Type
Category of Dictionary Type     Direct Type Entry
Type of Object Referenced     No Information
Domain / Name of Reference Type      
Data Type INT4   4-byte integer, integer number with sign 
Length 10    
Decimal Places 0    
Output Length 11    
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 Lngth 
Medium 18 No. of Characters 
Long 18 No. of Characters 
Heading Length 
Documentation

Definition

Number of valid positions of a field without separator (e.g. commas or periods).

Dependencies

Note that some data types have a fixed length. For example, the data type CLNT (client) always has three places. If you enter an invalid length for such data type, the system will issue a warning message and correct the error automatically.

The types RAWSTRING and STRING for LOB s have a variable length. A maximum length can be specified, but there is no upper limit. The maximum length is an actual length that cannot be exceeded. The maximum length is used for optimizations when storing string fields in the database.

The type SSTRING also has a variable length, but this is restricted upwards by the maximum length that can be specified. The greatest maximum length is 1333. The benefit of using it, and not CHAR, is that it is assigned to the ABAP type string. Its advantage over STRING is that it can also be used for key fields in database tables.

When using data types from ABAP Dictionary which are based on the predefined types RAWSTRING, STRING, and SSTRING, you have to consider in ABAP programs that the maximum lengths defined in ABAP Dictionary have no effect on the assigned ABAP types string and xstring. As a result, writing a string that is too long to a database can raise an exception. If required, you therefore have to apply a length restriction for strings in ABAP programs, for which the predefined function dbmaxlen can be used.

See also Use of Predefined Data Types from the ABAP Dictionary.

History
Last changed by/on SAP  20141106 
SAP Release Created in 600