Basic Check not working
Amazingly, I realized that my Basic Checks for my change requests are not working properly.
When I delete the mandatory fields like Name, Searchterm,.. the system doesn't occur an error message.
This behavior only appears during the Change Process:
I create a supplier via Business Activity "Create" - afterwards I process the exisiting supplier.
When I now delete mandatory fields, no error message appears. This is weird, because the field "Name 1"
is definied as mandatory in the field control. When I use the standard change request "Process ERP Vendor",
the field control is getting triggered. But with my custom change request (which is a copy of the standard cr)
the validation does not get triggered.
The customizing for our new CR is the same like the standard.
Hasan Hüseyin Akhuy replied
I resolved my problem.
The reason was the call of the method crequest_get_data() from the instance with type if_usmd_model.
This call is implementend in the CHECK BadI, the early messages will be delete if this method is called. In this method, I think the buffer will be refreshed.
I hope it will help other developer.