How To Fix AM228 - The use of the last &1 characters in field &2 is restricted (&3 of &4)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: AM - Business Address Services

  • Message number: 228

  • Message text: The use of the last &1 characters in field &2 is restricted (&3 of &4)

  • Show details Hide details
  • What causes this issue?

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

    System Response

    In this form the data can be saved and used up to the complete length of
    &V4& characters.
    In some scenarios, the system only uses the first 35 characters of name
    fields, of the fields 'Street', 'City', 'District', as well as the first
    10 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 (IDOC
    types) for reasons of compatibility with other releases and components.
    The message types in question are:

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    DEBMAS
    CREMAS
    DEBCOR
    CRECOR
    The problems do not occur if the relevant address data in IDOC ADRMAS is
    sent 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 of
    compatibility.
    Print: addresses are formatted with only 35 characters in some print
    forms for standard envelope windows. If the address number is in the
    address output structures, you can output the address fields in full
    length in forms. (See OSS note 145753 for FI forms.)

    How to fix this error?

    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, if
    necessary.
    INCLUDE 'CUSTOMIZED_MESSAGE_INFO' OBJECT DOKU ID TX

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message AM228 - The use of the last &1 characters in field &2 is restricted (&3 of &4) ?

    The SAP error message AM228 indicates that there is a restriction on the use of the last characters in a specific field. This error typically arises in the context of Asset Accounting (FI-AA) when trying to enter or modify data in a field that has certain restrictions on its length or content.

    Cause:

    The error message AM228 is triggered when:

    • You are trying to enter a value in a field that exceeds the allowed length or uses characters that are not permitted.
    • The last characters of the input do not comply with the defined rules for that field, which could be due to system settings or configuration.

    Solution:

    To resolve the AM228 error, you can take the following steps:

    1. Check Field Length and Content: Review the field in question (indicated by &2 in the error message) and ensure that the value you are trying to enter does not exceed the maximum allowed length and contains only valid characters.

    2. Review Configuration: If you have access to the configuration settings, check the settings for the asset accounting module to see if there are any restrictions defined for the field in question.

    3. Data Entry Guidelines: Ensure that you are following the data entry guidelines for the specific field. This may include using specific formats or avoiding certain characters.

    4. Consult Documentation: Refer to SAP documentation or help resources for specific details about the field and its restrictions.

    5. Contact Support: If you are unable to resolve the issue, consider reaching out to your SAP support team or consulting with an SAP expert who can provide further assistance.

    Related Information:

    • Field &1: This typically refers to the specific field where the error occurred.
    • Field &2: This indicates the name of the field that has restrictions.
    • &3 of &4: This part of the message usually provides additional context, such as the number of characters that are restricted versus the total number of characters allowed.

    Understanding the context of the error message and the specific fields involved will help in troubleshooting and resolving the issue effectively.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author