‎2009 Oct 18 9:07 AM
I have a standard text as below :
Notification number &qmel-qmnumn& created.
In my code i will read this stndard text using function module READ_TEXT.Once read I want the internal table IT_LINES of read_text to pass to my internal table.
Loop at IT_LINES.
my_table-lines = IT_LINES-tdline.
append my_table.
endloop.
Now the problem is that my_table is getting populated with
text otification number &qmel-qmnumn& created' but I want the value of variable to be populated like 'Notification number 999999 created'.
Is there any symbol i need to maintain in the standard text.
please note that I am not going to use this in form but for sending mail.
Please suggest.
‎2009 Oct 18 2:26 PM
Hi Arvind,
when you read the text you must know the number which actually is qmel-qmnumn. So whereever you got the number from, you can do a
REPLACE '&qmel-qmnumn&' IN my_table-lines WITH <the number you used to read the text>I hope this will answer your question. If not, please post some more code lines of what you tried until now.
Regards,
Clemens
‎2009 Oct 20 7:37 AM
Hello Clemens,
Thank you for your reply!!!
But this seems to be a work around.
I want my standard text to be maintainable and user can modify it without doing any changes in the code...that means ..today he is printing QMEL-QMNUM but in future he may want to add more field with it.
I hope i am able to put my question correctly !!!
Thank you
Arvind
‎2009 Nov 18 7:43 AM
Hi Avind,
I have the same requirement. Could you let me know how you had handled the scenario?
Thanks!
Naresh
‎2009 Dec 07 10:14 AM