09-05-2008 9:55 AM
Hi,
Ihave written a program to read contents from internal table and writ it to a string variable.
what happens is after 132 characters the contents get truncated.
For eg:
thre are 130 email address from internal table to be concatenated and kept in a string.
can you please help what should i do in this case?
Thanks
NMU
09-05-2008 9:57 AM
09-05-2008 9:57 AM
09-05-2008 10:09 AM
data: addr type string.
: addr1 type string.
loop at internal_table.
move internal_table to addr1.
concatenate addr1 addr into ADDR separated by ';'.
endloop.
Please find the above code. addr1 will have email addreses.
10-03-2008 5:42 AM
Hi,
data: addr type string.
loop at internal_table into workarea_table.
concatenate ADDR wokrarea_table into ADDR separated by ';'.
endloop.
If teh internal tab contains different fields and if field3 is teh one which holds the emial address then concatenated only that particular field to ADDR,
data: addr type string.
loop at internal_table into workarea_table.
concatenate ADDR wokrarea_table-field3 into ADDR separated by ';'.
endloop.
Now ADDR contains all the data separated by ;.
Hope this will help you.
Regards,
Swarna Munukoti.
Edited by: Swarna Munukoti on Oct 3, 2008 6:45 AM
09-05-2008 9:57 AM
09-05-2008 9:59 AM
Hi ,
Declare a variable
data : var type string .
then you can concatenate .
10-03-2008 5:35 AM
hi,
Can u please tell me the declaration of variable which should be of type string.
regards
jansi
02-01-2012 12:57 PM
Hello NMU,
Could you please share how you resolved this issue?
Your help will be appreciated, I facing the same problem.
Thanks in advance!!!