Create Alternative Key/Validation (BOPF)
As a pre-requisite, Go through the blog with title Custom BOPF Business Object
Follow the blog How to create Alternative Keys using BOBX
Alternative key will be useful for us when we integrate this BO with FPM..Check the Blog
We can make use of standard validation class “/BOBF/CL_LIB_V_ALT_KEY” to check uniqueness of Alternative keys.
In the blog ABAP to the future - my version of the BOPF chapters - Part 9: Re-usables, Oliver Jaegle mentioned that.. "Funky feature: This implementation will also prevent creation of identical alternative keys in parallel sessions (on multiple app servers)"
Finally, test the changes in BOBT..