Replace text symbol in SAP standard text
I'm working on SAP standard text (transaction SO10) with text symbol as &TEXT& and I have to replace all text symbol with corresponding value. First I have used the function READ_TEXT to get the full text and replace all text symbol with relevant value. But this is not a very useful solution. Do anybody know a function which allows reading standard text and replacing text symbol with value?
Thanks in advance for your help.
Function STRING_REPLACE or replace abap command