Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Basic Check not working

Hello Experts,

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:

For example:

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.

replied

Hey Experts,

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.

BR,

Hasan

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question