221 SAP Message of Class AY Depreciation area &1 does not exist
221(AY) - Depreciation area &1 does not exist
Message number 221 of class AY is used to display message "Depreciation area &1 does not exist" and can be triggered using the following ABAP code:DATA: lv_val1(100) TYPE C.
lv_val1 = '123'.
MESSAGE E221(AY) WITH lv_val1. "Error message example
MESSAGE W221(AY) WITH lv_val1. "Warning message example
MESSAGE I221(AY) WITH lv_val1. "Information message example
See here for more optionsay221
What causes this issue
While creating or changing an asset using function module
ASSET_MASTERRECORD_MAINTENANCE, you tried to assign values to fields of depreciation area v1 . However, depreciation area v1 does not exist on the asset.
System Response
The asset master record cannot be processed.
How to fix
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