12-18-2015 11:06 AM
Hi,
I have created reservation manually using Tcode MB21. Then issued material by Tocde MB1A. After issuing material against reservation I tried to change reservation quantity by MB22 which I am able to change.
My requirement is that it shouldnt allow to change the reservation quantity in once material is issued. How to do it using user exit MBCF0007?
I tried in exit MBCF0007, check if "Final Issue for Reservation" indicator is set ,then i am raising an error .
loop at TI_RESB_OLD.
if TI_RESB_OLD-KZEAR = 'X'. ""Final Issue for Reservation
Message 'Not allowed to change Qty' type 'E'.
stop.
endif.
endloop.
But this one still allowing to change the quantity and save it in MB22. My requirement is ..if the user try to change the quantity ,it shouldnt allow to change the quantity, should the cursor blink in quantity field and should throw error in status bar "'Not allowed to change Qty', also should not allow to save it. How to achieve it?
Thanks,
Silviya
12-18-2015 11:18 AM
Hi,
do you have try to debug it and check with ST05 if the COMMIT WORK have already been made ?
Do you have check others exit :
MBCF0002
MBCF0005
MBCF0006
MBCF0007
MBCF0009
MBCF0010
MBCF0011
MB_CF001
(list of exit for your trans.)
regards
Fred