cancel
Showing results for 
Search instead for 
Did you mean: 

Removing Standard UI Element in WD Component

Former Member
0 Kudos

Hi,

   

1.Can you tell me how to hide a UI element based on Role.

In SPRO is it possible??

2.How to remove a standard UI element from Webdynrpo Component.

when i click enhance i am able to right click on UI element and select Remove Element

and next it is showing a red mark beside it and when i save and activate it it is not getting removed.

Regards,

Krish

Accepted Solutions (1)

Accepted Solutions (1)

former_member184741
Active Contributor
0 Kudos

Hi,

I would not advise this approach, rather i would suggest you to use BADI. WD_BADI_DOMODIFYVIEW. look into my blog for more details

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Ankit,

           Thanks.

How to hide a UI element (i.e Link to action) highlited for Normal User and display the same to super user.

2.Can i know how to display  the entries in supplier field based on Product category selection.

Right now all the entries are getting displayed in the supplier field.

I want to display only entries based on Product category.

Search Help Name : BBP_BUPA_CLL_PARTNER

Regards,

Krish.

Former Member
0 Kudos

I will request you to take help of the ABAP consultant for the same as such I dont believe as such any configuration.

Thanks

Ankit

Former Member
0 Kudos

Hi Krish,

No harm in doing that if you want permanently delete this particular UI element.

Because any time you can again activate this element as you have deleted.

But in case of dynamic then visibility attribute of the UI element and set the same pragmatically on the base of your conditions.

Thanks

Ankit

Former Member
0 Kudos

Hi Krish,

You need to enhance the component and dynamically need to change the visibility of the filed depending on your condition.

You can ref the link:http://scn.sap.com/docs/DOC-50793

Only you need is, set the visibility of the UI element.