How To Fix AY256 - Company code &1 of real estate object not asset company code &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: AY - Deprec. simulation - maint. module (AIPS) /gen. master data

  • Message number: 256

  • Message text: Company code &1 of real estate object not asset company code &2

  • Show details Hide details
  • What causes this issue?

    Company code &V1& of the real estate object is not the same as company
    code &V2& from the asset. However, the company codes must both be the
    same.

    System Response

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

    How to fix this error?

    Enter a different real estate object, or change the company code in the
    real estate object.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message AY256 - Company code &1 of real estate object not asset company code &2 ?

    The SAP error message AY256 indicates a mismatch between the company code of a real estate object and the asset company code. This error typically arises in the context of Asset Accounting (FI-AA) when trying to perform operations related to fixed assets that are linked to real estate objects.

    Cause:

    The error occurs when:

    • The company code associated with the real estate object does not match the company code of the asset being processed.
    • There may be a configuration issue where the real estate object is not correctly assigned to the appropriate company code.
    • The asset master data may have been created or modified incorrectly, leading to inconsistencies.

    Solution:

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

    1. Check Company Code Configuration:

      • Verify the configuration of the real estate object in the system. Ensure that the company code assigned to the real estate object matches the company code of the asset.
      • You can check this in the transaction codes related to Real Estate Management (e.g., RECN) and Asset Accounting (e.g., AS03 for asset display).
    2. Review Asset Master Data:

      • Use transaction code AS03 to display the asset master data and confirm the company code associated with the asset.
      • If there is a mismatch, you may need to adjust the asset master data or the real estate object configuration.
    3. Adjust Real Estate Object:

      • If necessary, you can change the company code of the real estate object using the appropriate transaction (e.g., REOR for real estate object changes).
    4. Consult Documentation:

      • Review SAP documentation or help files related to Asset Accounting and Real Estate Management for any specific guidelines or best practices.
    5. Check for Customizations:

      • If your organization has custom developments or enhancements, ensure that they are not causing the issue. Consult with your SAP technical team if needed.
    6. Testing:

      • After making the necessary adjustments, perform a test transaction to ensure that the error is resolved.

    Related Information:

    • Transaction Codes:

      • RECN: Real Estate Management
      • AS03: Display Asset
      • AS02: Change Asset
      • REOR: Change Real Estate Object
    • SAP Notes:

      • Check SAP Notes for any known issues or patches related to this error message. You can search for relevant notes in the SAP Support Portal.
    • Documentation:

      • Refer to the SAP Help Portal for detailed information on Asset Accounting and Real Estate Management.

    If the issue persists after following these steps, it may be beneficial to consult with your SAP support team or a functional consultant who specializes in Asset Accounting and Real Estate Management.

    • 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
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant