2007 Feb 01 5:31 PM
Hi ,
I've a requirement for adding custom fields to vendor master. I successfully added the screen and i'm able to save the data using the badi's 'VENDOR_ADD_DATA' and 'VENDOR_ADD_DATA_CS'. I've a check on some fields on this screen. I've to give an error message if expiration date is empty and license field has data. I did this in the method 'CHECK_ALL_DATA' of the badi 'VENDOR_ADD_DATA' by passing values into the message variables accessible in the method. Everything looks good, the error message is coming at the bottom but the screen is getting navigated to the 'Partner Functions'. I tried giving the screen group 'E_SCRGR' and tab fcode 'E_FCODE' variables. But didn't work. Can anyone help me how to stop the navigation and keep the user in the same screen?
-- Venky
2007 Feb 01 6:15 PM
Hi,
I figured it out, i had to send the screen number to the E_DYNNR variable which is '4000'. I got that value by debugging. The code had a case statement on this variable and i tried some of the screen number and this one worked :).
-- Venky