on 2021 Dec 06 2:29 PM
Hello Experts,
I am looking for a support on passing multiple filters in a single global variable in SAP CPI DS system.
I have tried the below methods and still facing the issue.
'\'AB\',\'CD\''
'AB|CD'
Kindly sugest how to pass multiple filters to a Global variable.
Thanks in advance,
Best Regards,
Sree
global parameter example $G_PARA to have default value as '.*' (Dot Star inside single quotes)
Now to pass multiple values as - 'AB|CD'
Then use function:-
match_regex ( input string ,$G_PARA , flags ) = 1
Flag Options Description
'CASE_INSENSITIVE' If set, matching takes place in a case-insensitive manner.
'COMMENTS' If set, allows use of white space and #comments within patterns.
'DOTALL' If set, a "." in a pattern matches a line terminator in the input text. By default, it will not. Note that a carriage return or line feed pair in text behave as a single line terminator and match a single "." in a regular expression pattern.
'MULTILINE' If set, the function treats the input string as multiple lines instead of a single line. The '^' and '$' characters apply to each line in the input string instead of the entire input string.
'NO_PUSHDOWN' If set, the match_regex function is processed but is never pushed down to the database.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
64 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.