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: 

How to restrict reservation no in MB22?

former_member231869
Participant
0 Kudos

Hi experts,

my requirement is when user enters reservation no in MB22 i have to stop user .

for this i used some Badi and User Exits but no one is triggering.

BADI_MATN1
MB_RESERVATION_BADI
BADI_LAYER

Could you plz help ?

2 REPLIES 2

alejandro_lpez
Contributor
0 Kudos

Hi,

Could you please describe what the purpose of validation? One posible solution, is to use a Field Exit for field RSNUM. You can create a Field Exit in transacción CMOD, in the transaction field enter de code =prfb.

Here is an explanation created by Sandra Rossi.

https://wiki.scn.sap.com/wiki/display/ABAP/Field+exits

Best regards,

Alejandro Lopez.

raymond_giuseppi
Active Contributor
0 Kudos

Did you try to find an enhancement or BAdI call in the PAI modules/forms either implicit as start/end of forms like beleg_lesen or explicit like beleg_lesen_01 of es_sapmm07r (As I suggested in previous scn/thread 'How to Restrict user mb22 when user click on PRINT PREVIEW')

Regards,

Raymond