How to get all combinations of words in a string to build search
engine in SAP ABAP?
Suppose I have 3 words like "SAP LABS INDIA", How to get all
SAP LABS INDIA
SAP INDIA LABS
LABS INDIA SAP
LABS SAP INDIA
INDIA LABS SAP
INDIA SAP LABS
It is not limited to 3 words only, it can be any no. of words.
I need to pass all the possible combination patterns to the database
for the effective search because user can give the words in any
sequence. I would like to know how to get all the combinations in ABAP
Thanks and Regards,