on 01-20-2021 9:50 AM
Hi Experts,
I have a requirement in CPI-DS to fetch the customers from SAP whose names doesn't start with 'IC'.
For Ex:
0001123
ABCDEH
IC0124
IC0389
A24BNK
I have to skip the names IC0124 and IC0389 while fetching the customers.
If we make use of match_simple expression in mapping. We will have to change the mapping of all the other fields which is a tedious task.
Please let me know if there is any other way of achieving it or we can make of filter using.
Any leads will be highly appreciated as I am very new to CPI-DS.
Regards,
Pavan G
Hi Pavan,
You can achieve the results using Substring function and exclude the values using below function.
substr(columnname,1,2) != 'IC'
Hope this will resolve your question.
Thanks,
Pravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use in filter condition and test the results
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.