I have next issue:
When i do:
WHERE mara = i_matnr-matnr.
IF l_meins EQ 'TS'......
The value of l_meins should be TS but select returns TH. But when you go to MARA through SE16 and insert the matnr and meins (with TS) you obtain the result but MEINS has TH value. Again, if you do a double click in the line, MEINS appears with TS.
Are there any FM to convert TH into TS?
I can't use T006 talbe because i have the same issue.