cancel
Showing results for 
Search instead for 
Did you mean: 

Is it posible to filter for 2 status in ECTR object filter functions?

AnikaGe
Discoverer
0 Kudos

Hello,

I need to filter for 2 status. In the documentation is only filtered for one. Is it possible to filter for e. g. FR and IN? The filter must be used for a function.

How to use object filter to show/hide smartcontainer or activate/deactivate functions | SAP Help Por...

# Filter to deactivate the "Open Original for Edit" function when a document has status "Final Release" (FR)
      obr.filter.fnc.doc.open.fast.edit = *;PRP;STATUS;STRING;FR;==

 Regards

Anika

markus_michel
Discoverer
0 Kudos

Hi Anika,

We also use filtering a lot and we solved it eg as below to set filter for several values:

obr.filter.fnc.doc.open.fast.view = *;PRP;STATUS;STRING;(AC|FR|OB);==

Maybe this helps you as well.

Best Regards

Markus

Accepted Solutions (1)

Accepted Solutions (1)

GerhardHimmelsb
Advisor
Advisor

Hello Anika,

you can use REGEXP (https://regex101.com/) as well in filters.

obr.filter.fnc.doc.open.fast.edit = *;PRP;STATUS;STRING;RE;FR|IN

Instead of "==" please use RE.

regexp string would be "FR|IN"

Hope this helps.

regards,

Gerhard

Answers (0)