T
Thiru Malai
Guest
I have store two characters value in two temp table
CREATE tt_test1 NO-UNDO
FIELD Value_1 AS CHARACTER.
CREATE tt_test1.
ASSIGN tt_test1.Value_1 = "SBCL---DS----A3".
CREATE tt_test2 NO-UNDO
FIELD Value_2 AS CHARACTER.
CREATE tt_test2 NO-UNDO
ASSIGN tt_test2.Value_2 = "4+7+9+14,L-SA".
If you see tt_test2.Value_2 is based tt_test1.Value_1.
i.e
4 = L (4th character of tt_test1.Value_1)
7 = - (7th character of tt_test1.Value_1)
9 = S (9th character of tt_test1.Value_1)
14 = A (14th character of tt_test1.Value_1)
So now my question is how can compare tt_test1.Value_1 and tt_test1.Value_2 is matching correctly?
If its matching then i need to assign in one variable. Please help this case.
Continue reading...
CREATE tt_test1 NO-UNDO
FIELD Value_1 AS CHARACTER.
CREATE tt_test1.
ASSIGN tt_test1.Value_1 = "SBCL---DS----A3".
CREATE tt_test2 NO-UNDO
FIELD Value_2 AS CHARACTER.
CREATE tt_test2 NO-UNDO
ASSIGN tt_test2.Value_2 = "4+7+9+14,L-SA".
If you see tt_test2.Value_2 is based tt_test1.Value_1.
i.e
4 = L (4th character of tt_test1.Value_1)
7 = - (7th character of tt_test1.Value_1)
9 = S (9th character of tt_test1.Value_1)
14 = A (14th character of tt_test1.Value_1)
So now my question is how can compare tt_test1.Value_1 and tt_test1.Value_2 is matching correctly?
If its matching then i need to assign in one variable. Please help this case.
Continue reading...