2008 May 08 12:48 PM
Hi All
I have a requirement,
I have a internal table with field called content(40) type c.
and the values in this field are as below
CONTENT
m/s jani sales
uniwalkar
abc ltd
ghj ltd...etc
but my requirement is this all content on different line
i want to collect in single line
CONTENT
i.e m/s jani sales, uniwalkar, abc ltd, ghj ltd...etc
How should i proceed.
Thanks & Regards
Lalith
Hi All
I have a requirement,
I have a internal table with field called content(40) type c.
and the values in this field are as below
CONTENT
m/s jani sales
uniwalkar
abc ltd
ghj ltd...etc
but my requirement is this all content on different line
i want to collect in single line
CONTENT
i.e m/s jani sales, uniwalkar, abc ltd, ghj ltd...etc
How should i proceed.
Thanks & Regards
Lalith
2008 May 08 12:52 PM
Hi,
Find below code..........
data : begin of itab occurs 0
contact(40) type c,
end of itab.
data: str1 type string.
Loop it itab.
concatenate str1 itab-contact to str1.
endloop.
I think it help u.......................
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |