SAP ABAP Data Element LNGTH (Length)
Hierarchy
☛
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
⤷
PA-PA (Application Component) Personnel Administration
⤷
PBAS (Package) SAP HR Master Data Application Development
⤷
⤷
Basic Data
| Data Element | LNGTH |
| Short Description | Length |
Data Type
| Category of Dictionary Type | D | Domain |
| Type of Object Referenced | No Information | |
| Domain / Name of Reference Type | NUM2 | |
| Data Type | NUMC | Character string with only digits |
| Length | 2 | |
| Decimal Places | 0 | |
| Output Length | 2 | |
| 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 | 0 | |
| Medium | 0 | |
| Long | 0 | |
| Heading | 6 | Length |
Documentation
Definition
This value specifies the field length defined in the Data Dictionary.
Supplementary Documentation - LNGTH 0001
Use
Procedure
- Check the field length and shorten it if required.
Examples
According to the Data Dictionary, the 'cost center' field is 10 characters in length. Use numeric cost centers between 1 and 99999 (maximum 5 characters in length). Enter 5 as the length and 5 as the offset.
01 P0001-PERSG 01 00 (employee group : character 01)
02 P0001-PERSK 02 00 (employee subgroup: characters 02 and 03)
03 P0001-KOSTL 05 05 (cost center : characters 04 to 08)
04 'SMITH 06 00 (literal SMITH : characters 09 to 14)
Dependencies
Read the field documentation on Offset.
History
| Last changed by/on | SAP | 19950403 |
| SAP Release Created in |