254 SAP Message of Class AY Error message &1 &2 when creating AUC - order was not created











254(AY) - Error message &1 &2 when creating AUC - order was not created

Message number 254 of class AY is used to display message "Error message &1 &2 when creating AUC - order was not created" and can be triggered using the following ABAP code:

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

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

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

    MESSAGE I254(AY) WITH lv_val1. "Information message example
See here for more optionsay254



What causes this issue


You are using an order type that specifies immediate release for the
order. Based on the investment profile used, the order cannot be released without an asset under construction (AuC). However, an error occurred when the AuC was being created. The number of the error message is v1 v2 .


System Response


The order cannot be created.



How to fix


Check why the AuC could not be created. Possible reasons include:

The AuC has required entry fields that do not exist on the appropriation request.
The appropriation request uses cost centers that are no longer valid on today's date.

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!