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: 

Hide a customized push button in the vendor master transaction

Former Member
0 Kudos

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

1 REPLY 1

FredericGirod
Active Contributor
0 Kudos

Hi Pavan,

you need to be in the PBO

regards

Fred