Skip to Content
0
Former Member
Aug 02, 2013 at 04:49 AM

Hide a customized push button in the vendor master transaction

178 Views

Hi,

In the Vendor Master, we have a custom push button which displays two fields upon clicking the push button. We want to make a change such that the pushbutton should be visible only to a particular company code. Vendor belonging to other company code should not be able to view the pushbutton.

I tried adding the code in the method IF_EX_VENDOR_ADD_DATA_CS~SUPPRESS_TAXI_TABSTRIPS( in the BADI vendor_add_data). by restricting the code based on a particular company code. But with this, entire vendor master data is hidden. I want to hide the custom pushbutton only.

Can anyone suggest as to how this can be implemented?

Thanks,

Pavan