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 custom fields tab in BP transaciton

former_member184741
Active Contributor
3,633

hi,

In SAP SRM, I have added  new custom fields using EEWB. when I go to BP transaction I see there is a new tab with name custom data and I see a new table inside it with my custom fields. everything is fine. the problem now is this tab appears for all the BPs, irrespective of the BP role. The new fields that I have added are only relevant for Vendor. So how do I display the tab only for BP role 'Vendor' and hide it for other BP roles?

thanks,

sankar

1 ACCEPTED SOLUTION

former_member184741
Active Contributor
993

Hi,

I found the solution through configuration using BUPT transaction

customising->basic settings->field grouping->BP roles

Here you will see all the BP roles available in the system like Employee, central person, vendor etc.,

double click on the role and you will see two columns one with 'dataset' another with 'Field groups'

double click on data set 'central data' , on the right side you will see different field groups ( field group 600 in my case is the customer field field group), there we have a column with name 'Hide' having radio button. select the radio button, if you want to hide the particular field group). this will hide the entire customer data tab from BP screen for that particular role.

thanks,

sankar

6 REPLIES 6

PeterJonker
Active Contributor
0 Kudos
993

customizing or programmatically with BDT (TC; BUPT)

0 Kudos
993

Hi Peter,

Thanks for the reply. I looked at this tcode but as I never worked on it, could not go further. can you point me to a good document on this?

0 Kudos
993

Hi Sankara,

It can be complicated, but you can have a look first at:

Business Data Toolset (BDT) - ABAP Development - SCN Wiki

0 Kudos
993

hi,

It looks really complex. can you suggest a place in the code where I can do this?

0 Kudos
993

Use the sub tranactions BUS2, BUS3, BUS4, BUS5 tpo determine in which view your new fields are. Then select this view, click on display and you will find possibilities to influence the output by adding your own function modules.

See BUP_BUPA_PBO_MISC as an example (parameter I_SICHT is needed in your FM )

former_member184741
Active Contributor
994

Hi,

I found the solution through configuration using BUPT transaction

customising->basic settings->field grouping->BP roles

Here you will see all the BP roles available in the system like Employee, central person, vendor etc.,

double click on the role and you will see two columns one with 'dataset' another with 'Field groups'

double click on data set 'central data' , on the right side you will see different field groups ( field group 600 in my case is the customer field field group), there we have a column with name 'Hide' having radio button. select the radio button, if you want to hide the particular field group). this will hide the entire customer data tab from BP screen for that particular role.

thanks,

sankar