‎2007 May 29 6:21 AM
Dear all,
In my ABAP program I need to assign a long string constant to a variable. But there's limit for the length of a line. Can anybody give me a solution other than using CONCATENATE key word?
Thanks, Jerome
‎2007 May 29 6:25 AM
Hi,
In this case it is better to use "TEXTS" in the program starting from text-001 to...
In this text u can assign upto 132 characters.
If ur strign is still longer than create such texts and then concatenate thes texts using
CONCATENATE <TEXT-001> TO <TEXT-002>
SEPERATED BY SPACE.
REWARD PTS IF USEFUL,
REGARDS,
HARSHA
‎2007 May 29 6:25 AM
Hi,
In this case it is better to use "TEXTS" in the program starting from text-001 to...
In this text u can assign upto 132 characters.
If ur strign is still longer than create such texts and then concatenate thes texts using
CONCATENATE <TEXT-001> TO <TEXT-002>
SEPERATED BY SPACE.
REWARD PTS IF USEFUL,
REGARDS,
HARSHA
‎2007 May 30 6:52 AM
‎2007 May 29 6:39 AM
i am not sure what is your requirement.
you can do like this.
V_text = strng+0(1200).
write : / v_text.
regards
shiba dutta
‎2021 Jun 04 9:34 AM
the "&" character allows you to concatenate several lines into a single string literal:
constants: lc_longstring type string value
'this is a very, ' &
'very long string constant that is split ' &
'over several lines of source'.
write: / lc_longstring.