‎2011 Dec 29 3:36 PM
Hello Experts,
I have a requirement to validate BP industry sectors while saving in t-code BP. All I need to do is to make sure that the user is ticking the "Standard Industry" checkbox when adding a new industry sector.I have tried too many ways to validate data before update but non worked. I have tried:
1. Events: 10021, 505001, 505002 (FIBF)
2. I tried all _CHECK BADIs and non of them was called, only _UPDATE ones are triggered (SE81,AP-MD-BP)
3. I tried BUS3 but I didnt find what could help
Please help and Thanks in advance
Samir
‎2011 Dec 30 5:24 AM
Please try with an implicit enhancement. Don't have a test data to provide you the place to include the enhancement. Please debug and find it.
Kesav
‎2011 Dec 30 1:04 PM
Dear Keshav, Thanks for your reply, are you saying that there could be an enhancement that I need to debug BP t-code to know it? could you please guid me more? how could I catch if there is an explicit enhancement?
‎2011 Dec 31 12:07 PM
Please check if you could create an implicit enhancement in PAI of the particular screen. Please search for implicit enhancement in SCN, you will find lot of contents.
‎2011 Dec 31 12:11 PM
Samir,
what Keshav wants to point out here is. put /H just before you slick save(or which ever button you want) and then start debugging,
go for the first perform statement. (check if its not affecting any other objects). and create an implementation of implicit enhancement at the beginning or end part of that FORM ENDFORM. write your code there and populate the error message.