Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

User Exit for MB21

Former Member
0 Kudos

I need a user exit that will stop a user from creating a reservation before the reservation is posted. Enhancement MBCF0007 seems appropriate and does send out the error message to the user who is entering wrong data but the message is sent AFTER the reservation is already posted. Thanks for your help.

1 REPLY 1

christian_wohlfahrt
Active Contributor
0 Kudos

Hi Marcia,

there is one user-exit MBCF0010, which is triggered in BAPI_RESERVATION_CREATE1 - I don't try, but maybe it's used in transaction, too (OK, only a small chance).

When you don't stick to user-exits: there is a BADI (SE18) MB_RESERVATION_BADI, where one method DATA_CHECK looks perfect for your purpose.

Regards,

Christian