on 2013 Dec 02 3:13 PM
I have a situation where I need to lookup against just a portion of a field (i.e. the equivalent of LIKE in SQL). How can I make this happen in data services as it seems I cannot manipulate the column in the lookup table as part of lookup_ext.
As an example.
I have a source email field with jsmith@abc.com
My lookup table has jsmith1@abc.com
I want to lookup and find that jsmith1 record as a match.
Hello Ken,
Try using match transform for your requirement.
In match transform editor Select 'Options' tab--> Select 'Edit Options' box---> Under 'Group Forming' option Add 'Candidate Selection'--> Use 'Create custom SQL' option to add second source which is used to compare and use 'column mapping' option to map the columns---> Use 'Match Criteria' option to provide the % of values to be matched.
To get idea on 'Candidate Selection', Download match transform 'Match transform Blueprints' provided by SAP and work on them.
Regards,
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ken,
I agree with Arun.
May be you can take a try also :
1 Way- In Lookup_ext(), you have an option called Custom SQL, you can try with that and
2 Way - Just a guess, first apply normal lookup_ext() and and then when you find '=' sign ,just replace this with "like" operator. but again you can give one value (for example : where abc like '%abc%'), you can not give multiple value and may be you can take a chance with 'IN' operator.
Request you update the thread with your research
Cheers,
Shiva Sahu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There is no match operator in lookup that help you.
You have to use a join instead of a lookup.
Thanks,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.