Skip to Content
Former Member
Jul 16, 2008 at 07:09 AM

BAPI is not checking the user exit


Dear Experts,

In VA01 standard program MV45AFZZ there is one user exit written to check the customer group for one specific order type..

If the order type is X,

check the customer group from the input customer, if the customer group is not matching it will throw the error....

This is working fine when we create order directly thru transaction(VA01)....(It will throw the error when the input customer is not matching with specified customer grp,

But thru bapi(BAPI_SALESORDER_CREATEFROMDAT2), the order is registering even the customer grp is wrong, bapi is not checking the user exit.

It should throw the same error even thru bapi......

Pls advice, how to enable the user exit check through BAPI....

Thanks & Regards