Hi Raj,
I took a time to test and...
- CONTAINS is only supported for Attribute View
- All views can work without aggregation (depend of your parameters)
The code below works (I added even a TOP 4 inside, just to check):
SELECT TOP 10 "BUKRS", "BRANCH", "NAME"
from
(
SELECT top 4 1 as source,"BUKRS", "BRANCH", "NAME"
FROM "_SYS_BIC"."tmf.erp/AT_BRANCH"
where contains((bukrs),'*2*')
union all
SELECT top 4 2 as source,"BUKRS", "BRANCH", "NAME"
FROM "_SYS_BIC"."tmf.erp/AT_BRANCH"
where contains((name),'*2*')
)
order by source,bukrs;
@Ramesh, I'm interested in see your results.
Regards, Fernando Da Rós