2007 Sep 25 6:13 AM
I have string in which i am storing two or three sentences. When i am passing this string to an internal table i want each sentence to come in separate lines, one after another. i.e., need a line break in internal table. how to achieve this?
any help will be appreciated and properly rewarded.
2007 Sep 25 6:19 AM
Hi,
there is one approach I am feeling that could help you out.
When you are storing the strings into an internal table, try to split the statement by the delimeter. you should be inserting the delimeter in between the sentences before performing this split.
Use the string functions to attain your solutions CONCATENATE, OVERLAY & SPLIT.
Reward points if this helps,
Kiran
2007 Sep 25 6:18 AM
Hi,
You can try this. Declare an internal table with 3 fields - all of type STRING.
Your string which contains 2 - 3 statements (i believe are separated by '.') can be split into these 3 internal table fields using command SPLIT.
This way you can populate data into your internal table.
ashish
2007 Sep 25 6:19 AM
Hi,
there is one approach I am feeling that could help you out.
When you are storing the strings into an internal table, try to split the statement by the delimeter. you should be inserting the delimeter in between the sentences before performing this split.
Use the string functions to attain your solutions CONCATENATE, OVERLAY & SPLIT.
Reward points if this helps,
Kiran