SAP Message AM228 - The use of the last &1 characters in field &2 is restricted (&3 of &4)

Diagnosis
The address data maintained in field &V2& occupies &V3& of &V4&characters The last &V1& characters of the field &V2& can be used onlywith restrictions.

System Response
In this form the data can be saved and used up to the complete length ofV4 characters.
In some scenarios, the system only uses the first 35 characters of namefields, of the fields 'Street', 'City', 'District', as well as the first10 characters of the field 'Search Term 1'.
These cases are:

  • ALE: the address data can only be transferred with 35 characters (search
  • term 1 only 10 characters) in the case of some ALE message types (IDOCtypes) for reasons of compatibility with other releases and components.The message types in question are:
    DEBMAS
    CREMAS
    DEBCOR
    CRECOR
    The problems do not occur if the relevant address data in IDOC ADRMAS issent in each case, together with these message types.
    • EDI: the address data can only be transferred with 35 characters (search
    • term 1 only 10 characters) with the standard UN/EDIFACT for reasons ofcompatibility.
      • Print: addresses are formatted with only 35 characters in some print
      • forms for standard envelope windows. If the address number is in theaddress output structures, you can output the address fields in fulllength in forms. (See OSS note 145753 for FI forms.)

        Procedure
        If you do not want the address data to be truncated in these scenarios,only use the first 35 characters of the name fields, of the fields"Street", "City", "District" or the first 10 characters of the field"Search Term 1" during maintenance, or abbreviate the texts, ifnecessary.
        INCLUDE 'CUSTOMIZED_MESSAGE_INFO' OBJECT DOKU ID TX

307985SAP BP: messge AM228 customizable in BAPI envirnmnt
397668Move-in: Messages of type 'W' (warning)
385174MESSAGE_TYPE_UNKNOWN short dump with address checks
733116AM228: PO_BOX_LOC and SORT1 fields truncated
42162540 character name entries: Warning in the address data