Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

function module to convert a string into an internal table

Former Member
0 Likes
12,432

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

2 REPLIES 2
Read only

Former Member
0 Likes
3,839

Hi Prasun ,

Try using the FM CONVERT_STRING_TO_TABLE

.

Regards

Arun

Read only

Former Member
0 Likes
3,839

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.