SAP ABAP Data Element REBDPARTLENGTHDEF (AOID Code: Default Length)
Hierarchy
EA-FIN (Software Component) EA-FIN
   RE-FX-BD (Application Component) Basic Data
     RE_BD_AO (Package) RE: Arch. Object (Master Data of Architectural Object)
Basic Data
Data Element REBDPARTLENGTHDEF
Short Description AOID Code: Default Length  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type REBDPARTLENGTH    
Data Type INT1   1-byte integer, integer number <= 255 
Length 3    
Decimal Places 0    
Output Length 3    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name PART_DEF_LENGTH   
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 DefLength 
Medium 15 Default Length 
Long 20 Default Length 
Heading 10 DefLength 
Documentation

Definition

If you specified that the system generates the AOID code from the architectural object number (the AOID Code: Generate from AONR indicator is set), then you can specify here how many places of the number are used. If you do not enter the number of places, the system uses the maximum value.

Dependencies

Example

The following was specified in the Customizing table for automatic assignment of the architectural object ID (AOID):

Name of AO Type    Max.Length    DefLength    Use    Separator    From AONR

Locality    3         X

Bldg complex    13

Building    2        X     -    X

Part of building    1        X        X

Floor    2    1    X    .    X

Room     3    2    X         X

The system assigns the following architectural object IDs based on these object numbers and codes:

Name of Arch. Object Type   

AO Number    AOID Code    Generated AOID

Locality    WALLDORF    WDF (manual)    WDF

Bldg complex    1    COM1 (manual)    WDFCOM1

Building    2    02 (automatic)    WDF02

Part of building    A    A (automatic)    WDF02-A

Floor    4    4 (automatic)    WDF02-A4

Room    56    56    WDF02-A4.56

Explanation:

  • Where the Use in Subordinate Objects indicator is set, the codes are used as part of the AOID in the next level.
  • If a separator was specified, then this is added after the AOID of the object on the previous level. If the indicator is not set (in the example this applies to the building complex), then the code is only used for assigning the AOID of the current object itself (WDFCOM1 in the example).
  • If the From AONR indicator is set, then the AOID code is derived from the number. In this case, the system uses the number of places specified in the DefLength field to create the AOID code. In doing so, the system starts from right to left, and adds leading zeros if needed. If there is no value specified for this Def.Length, the system uses the value in the Max.Length field instead.

History
Last changed by/on SAP  20031111 
SAP Release Created in 200