disable pushbutton created by BADI CUSTOMER_DATA
I have implemented a BADI - CUSTOMER_DATA, it gives a pushbutton on the application tool bar on the customer master transaction - XD01, XD02, XD03. I need to grey out(disable) this pushbutton when the sales area is not entered. There is an option of deactivating BADI by setting e_add_active flag but deactivating the BADI completes removes the pusbutton, But I need to grey out the pushbutton, Is there any field in any of the methods or any login to grey/disable this pushbutton.
Thanks a lot in advance,