Skip to Content

MDG Convenience API - Data checks

Jul 10, 2017 at 02:49 PM


avatar image


I'm using the Convenience API to create a CR on the MDG system for a custom Data Model. Before saving the CR, I execute the business checks (Method CHECK) and validation of CR (Method VALIDATE_CREQUEST) and in case of no errors the CR is automatically activated.

However that I executed both methods and no errors were returned, I was able to create a sub entity line for which not all key fields were filled in.
When entering the same line on the UI a GENIL error message is generated, stating that a required field has not been filled in.

Does anyone know how I can execute the GENIL checks from my inbound interface?

Thank you in advance for your reply!
Kind regards,

Niels De Greef

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Hasan Hüseyin Akhuy Jul 18, 2017 at 10:10 PM

Hello Niels,

normally before I start the workflow, I call method IF_USMD_GOV_API_PROCESS~CHECK_COMPLETE_DATA( ) to corresponding data. I think this method also checks after key values, as well as CHECK Badi will be triggered also.

Do you use this method in you coding?



Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hello Hasan,

Thank you for your reply.
I'm using the Convenience API (single CR processing) and the CHECK method of the Convenience API executes the CHECK_COMPLETE_DATA method which you suggested.
This indeed executes the CHECK BAdI but it does not return the GENIL messages (ex. mandatory field value or if the entered value is not a valid value for the domain).


Niels De Greef