2007 Sep 10 6:09 AM
Hello experts,
Is there any standard function module which converts a string into an internal table.
where each record in the internal table represents one line of the entire string?
regards
Prasun
Hello experts,
Is there any standard function module which converts a string into an internal table.
where each record in the internal table represents one line of the entire string?
regards
Prasun
2007 Sep 10 6:12 AM
Hi Prasun ,
Try using the FM CONVERT_STRING_TO_TABLE
.
Regards
Arun
2007 Sep 10 6:13 AM
Hi,
<b>HR_EFI_CONVERT_STRING_TO_TABL</b>E convert a string into a table
<b>CONVERT_STRING_TO_TABLE </b> Convert string to table
<b>CONVERT_TABLE_TO_STRING</b> Convert string to table
If u know where exactly the string needs to be
cut into a line, then u can also use the statement:::
<b>split <str> at <mark> into itab.</b>
where ,
<str> = the string u want to convert
<mark> = the place u want to exactly cut. Ex space,Fullstop.
itab = the table with line typr string.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |