Installation and Upgrade > Windchill ESI > Installing and Configuring Windchill ESI in an SAP Environment > Object Number Lengths in SAP > Object Numbering SAP Number Range Configuration > Exceptions for Document Numbers
  
Exceptions for Document Numbers
The following are exceptions to the object numbering criteria specified:
All numeric document numbers must fall within the defined external number range.
All alpha and alpha-numeric document numbers do not need to fall within a defined external number range.
External number range in SAP only stores 20 characters. The document number is actually 25 characters. All numeric document numbers that fall within the external number range of 20 characters must be padded with zeroes to meet the 25 character requirement.
Alpha or alpha-numeric document numbers do not need to be 25 characters.
Alpha and alpha-numeric document numbers can be created with a numeric external number range.
Numeric document numbers cannot be created with an alpha external number range.
If a numeric document number is sent from an external system that is less than 25 characters, a success message will be returned from the API, however the document will not exist in the SAP system. This will cause a data inconsistency between the two systems.