Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

writing to a string variable.

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

Tags:
Former Member
Former Member replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question