07-30-2012 2:03 PM
Hi Experts,
Email with variables like RFx number, RFx name, reciever name and dates etc is required, this is fine and I am doing it using variables in SO10 text.
Now there is the requierment to further add a disclaimer that can itself be huge(2000 chars or so) at end of this email. The disclaimer can change according to the country and region so this is also variable. I tried creating a new SO10 text for various disclaimers and replacing the variable with the SO10 object in main email but importing parameter VALUE_LENGHT of function module TEXT_SYMBOL_SETVALUE accepts only 80 characters.
How can I use one SO10 object(more than 80 chars) to replace a variable in another SO10 text?
Hope my query is clear...
Thanks,
Anubhav
07-30-2012 2:31 PM
07-30-2012 2:31 PM
03-05-2014 9:34 PM
Hi Experts,
I'm currently facing exactly the same issue, but the FM 'REPLACE_TEXTSYMBOL' didn't solve my problem.
Can you please explain how can I replace SO10 variables with more than 80 chars ?
Thanks,
Hicham
11-28-2014 11:28 AM
Have the same problem (80 chars max), anyone stumbled upon this and if so, what was your solution?
10-25-2020 7:59 PM
call function 'READ_TEXT'
exporting
* CLIENT = SY-MANDT
id = gc_st
language = sy-langu
name = gwa_mail-text_name
object = gc_tdobject
tables
lines = lit_text
exceptions
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
others = 8.
if sy-subrc = 0.
loop
if lwa_text-tdline cp lc_url(declared constant with value).
lwa_main_text-line = 'more than 80 characters'.
condense lwa_main_text-line no-gaps.
endloop.
10-26-2020 1:12 PM
You do realize you responded to an "answered" query from 2014, right? I know Halloween is close, but no need to raise the dead.
10-27-2020 8:21 PM
I faced the problem recently and didn't get an answer to it in the community and the function module didn't solve my problem. So thought putting it might help at least one. Anyway, I am an Indian and we don't celebrate Halloween(smiley).