256 SAP Message of Class AY Company code &1 of real estate object not asset company code &2











256(AY) - Company code &1 of real estate object not asset company code &2

Message number 256 of class AY is used to display message "Company code &1 of real estate object not asset company code &2" and can be triggered using the following ABAP code:

DATA: lv_val1(100) TYPE C.
lv_val1 = '123'.

    MESSAGE E256(AY) WITH lv_val1. "Error message example

    MESSAGE W256(AY) WITH lv_val1. "Warning message example

    MESSAGE I256(AY) WITH lv_val1. "Information message example
See here for more options


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 thesame.

System Response



How to fix

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

Message text extract from SAP system. Copyright SAP SE.


Return to Message Class AY main page



Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!