data matching function
may i know what function to use if having the below scenario.
i loop an internal table to move code to a variable. when the code in variable match with the code in the string then it is considered match.
my problem now is if the code in variable is ABC and in my string is ABCDDS then it is considered match as ABC is part of the string but in fact i have another code in the internal table which is ABCDDS.
i tried to use CP but cannot work. the code size is 10.
in internal table, there are code AAS, ABD, ABC, ABCDDS, ABCW
in the string, 56:091007JENNYUSD200,00<b>ABCDDS</b>PG607