cancel
Showing results for 
Search instead for 
Did you mean: 

Filter the displayed SC when using advanced search

BTP_Architect
Participant
0 Kudos

Hello,

I want to filter on SC when the user execute the Advanced search.

I succeeded to filter the displayed list when the user use the Search criteria of the SC and click on search, this can be done using badi BBP_WF_LIST.

The problem is when the user have the SC number and search by this number, in this case BBF_WF_LIST is acceded but no effect on the result. The user can see the SC even if I delete the content of e_pdlist in IF_EX_BBP_WF_LIST~BBP_WF_LIST Method.

Do you have an idea how to deal with this case and how to prevent the user from displaying the SC when he has the SC nbr?

Thank you in advance,

Moez.

Accepted Solutions (1)

Accepted Solutions (1)

oliver_wurm
Active Participant
0 Kudos

Hi Moez,

if you enter the SC number and press the "upper" Search Button there is no list generated. Because of that the BBP_WF_LIST BADI is not triggered.

To make sure you have the control whether the user is able to see the SC or not you need to reduce the authorization. If the standard authorization object cannot do what you need you may want to implement the BBP_AUTHORITY_CHECK BADI.

Hope this helps!

Regards

Oliver

BTP_Architect
Participant
0 Kudos

Thanks Oliver

Resolved my issue

Regards,

Moez.

Answers (0)