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: 

Making Region field mandatory in profit center master data

pinakiroy86
Explorer
0 Kudos
375

Hello Everyone,

My requirement is to make the 'Region' field mandatory in profit center master data creation or change , tcode KE51, KE52. The field is in the address tab of KE51/KE52.

Is there any function configuration or and BADI/EXIT to achieve the same?

2 REPLIES 2

yogananda
Product and Topic Expert
Product and Topic Expert
0 Kudos
247

pinakiroy86

Yes, you can achieve this requirement by using a BADI or an Exit. The BADI or Exit that you need to use is the EXIT_SAPLKE51_001. This Exit is triggered when the Profit Center Master Data is created or changed in the tcode KE51/KE52. You can use this Exit to check if the 'Region' field is filled in and if not, you can raise an error message.

0 Kudos
247

Thanks Yogananda,

I already tried that exit but it did not work.

Do you know any other BADI/EXIT other than that?

Thanks,