cancel
Showing results for 
Search instead for 
Did you mean: 

how to disable 'Describe Requirement' link in Shop screen

bhakti2
Active Participant
0 Kudos

hello,

I have checked for metadata classes for screen related modifications

but the link "Descsribe Requirement' in the initial shop screen  is not a field, so metadata approach wouldnt be feasible

So two options are there

1. this link is directly seen as UI element in view v_dodc_fc_gaf_fsca . modify the view by accesing the visibility attribute of this element. but this wil require access key

2. try to find component configuration option. but as this link is to be disabled or hidden conditionaly (for certain group of users)  it might not be posible in comp configuration .

kindly provide inputs , if the first option is correct.

thanks

b

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Bakti,

If you want to disable the link for group of users then create a custom role(Z:Desc) and implement the BADI BBP_SC_MODIFY_UI.

Use the FM to read the roles for the user.

CALL FUNCTION 'NAVIGATION_SELECT_AGRS_OF_USER'

EXPORTING

  USER_NAME                          = IV_UNAME

  TIME_DEPENDENT                     = 'X'

TABLES

  ACTIVITY_GROUPS_USERS              = IT_ACTIVITY.

READ TABLE IT_ACTIVITY with key agr_name = Z:Desc.

IF sy-subrc NE 0

  is_scr_itmchoice-special_request = space.

ENDIF.

Regards

Praveen

bhakti2
Active Participant
0 Kudos

very much thanks for responses

wil check and get bac asap

bhakti2
Active Participant
0 Kudos

hi Praveen Kumar,

it worked! so neat..... big help....

thanks a ton

thanks to all.

Answers (2)

Answers (2)

robin_janke
Contributor
0 Kudos

Hi,

Please implement standard  BBP_SC_MODIFY_UI  BADI. In the structure used in that badi you just need to clear the value relating to the describe requirement link according to your logic.

Regards,

Robin

Former Member
0 Kudos

Hi Bhakti,

Create a post exit of the modify view and control the visibility based on your condition for the link.

Regards,

Naveen