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

ALV GRID DISPLAY-oops

Former Member
0 Likes
381

Hi friends,

iam fetching the data from a function module. i want to display the data in one cell under the column Detailed Action Steps in the ALV Grid using OOPS.

for eg.

<b><i>Create a new system for booking team travel requirememts. Working with other administrators to get best practice

take on added responsibility for the management of the function OPEX in order to gain financial experience</i></b>

the above data should display in cell not as a single line but in different lines

Hi friends,

iam fetching the data from a function module. i want to display the data in one cell under the column Detailed Action Steps in the ALV Grid using OOPS.

for eg.

<b><i>Create a new system for booking team travel requirememts. Working with other administrators to get best practice

take on added responsibility for the management of the function OPEX in order to gain financial experience</i></b>

the above data should display in cell not as a single line but in different lines

1 REPLY 1
Read only

Former Member
0 Likes
345

Hi

Even i tried a lot to find such functionality, but haven't found it. There is a round about way to do it.

You can populate you internal table such that the contents are broken in parts of length not more than 255 characters.

Say your internal table as F1, F2, F3 fields and F1 should contain the string of length 500 characters, then populate the internal in the following manner:

itab-f1 = l_string+0(250). itab-f2 = 'xyz'. itab-f3 = 'xyz'. append itab.

clear itab.

itab-f1 = l_string+250(250). append itab.

Take care that no sorting option is enabled.

Regards

Navneet