cancel
Showing results for 
Search instead for 
Did you mean: 

Wrap text in ALV

Former Member
0 Kudos

Hi Thomas.

I refered the thread.

?

I have to wrap the text, but in my case i am suing editable ALV.

so i have to wrap the text for input field.

Means my cell editor is Input Field and unfortunatlty i could not find any such method in class

cl_salv_wd_uie_input_field.

I dont want header wraping but text wraping in the input field.

so is there any solution for this?

Thanks & Regards,

Arvind

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

You can not wrap an input field cell editor. You can wrap both the TextEdit and TextView UI elements. I would suggest those instead.

Former Member
0 Kudos

Hi Thomas,

thanks for your reply.

but i am using editable ALV and using the class CL_SALV_WD_UIE_INPUT_FIELD for input cell editor.

but s you have mentioned for TextEdit, unfortunatly i could not find any such class for TextEdit.

I have a input field in my ALV whcih i a long text and i want to wrap the text for this.

any solution for this or any wokaround??

Thanks & Regards,

Arvind

gill367
Active Contributor
0 Kudos

It is not possible i guess to use text edit as cell editor in ALV.

and there is nothing else which you can use to wrap the text.

with input field it is not possible.

as it is possible in text view.

what you can do is after the user has entered the data in the input field change the editor to text view and wrap the text.

but that will not be a gud approach though.

if posible you can use simple table instead of ALV.

thanks

sarbjeet singh