12-01-2008 5:56 AM
Hi all,
I have a requirement in which i have My text in SO10 . with text name = zhr and text id = zx.
so i used FM read text and passed the values to the FM so that read the text ,
Now i need to pass to the text.
For eg :
i have my text as dear <emp name>
i have my text in itab.
i need the emp name from my program but how to pass it in read text
How to go abt it
But in script we have some write text .. like that is there anything to pass value to the interanla table
?
TIA
rukmani
12-01-2008 6:02 AM
Hi,
As of my knowledge...sap does not provide any FM to update the varaible in the Standard text. Only thing we need to do is read the internal table and replace the varaibles with required values.
Check this FM to replace the values in string STRING_REPLACE
12-01-2008 6:15 AM
Thanks for ur info,
But i need to pass 2,3 values from my program to my Internal table.
how can we do this using this FM string replace.
for ex : i have to replace
dear <emp name>
ur doj is <dd/m/yy> .
here i need to pass emp name as well as my doj(dd/mm/yy). so i need to pass more than 1 value how to do it ?
12-01-2008 6:09 AM
instead of read text fm . use a select query on stxh with ur text name and text id. u can use variables inside ur select query
Edited by: kartik tarla on Dec 1, 2008 11:40 AM
12-01-2008 7:24 AM