Application Development 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: 

TextEditor using cl_gui_textedit

Former Member
0 Kudos
245

Hi,

In ALV Report, i have two columns where i'm clicking the first column content of the field as shown in text editor but when i'm clicking the second column it's not showing in the text editor.

Please reply me for this query.

Thanks,

Sri.

10 REPLIES 10

Former Member
0 Kudos
143

At first thought, it sounds like you need to make the second column "editable". Can you explain the problem a little more?

Former Member
0 Kudos
143

Thanks for your reply,

i have 2 columns (col1 = 'aaaaaa' & col2 = 'bbbbb') in the ALV report, whenever double clicking on the first column (col1 = aaaaa), it is showing in the editable mode and displaying correct values (aaaaa) , but, when i am clicking 2nd column (col2 = 'bbbb') in the editor it is showing the col1 value 'aaaaa' but not column 2 value 'bbbbb'. it should display columnn 2 value 'bbbb' in the editor...

Please advice me for this.

Many thanks in advance << removed >>.

Srivatsala.

Edited by: Rob Burbank on Sep 16, 2010 5:08 PM

0 Kudos
143

Is this a custom or a standard ALV report?

0 Kudos
143

This is custom ALV report using CL_GUI_TEXTEDIT.

0 Kudos
143

Are you passing e_colum to the event double_click?

Rob

0 Kudos
143

by using that one only, i can see first column values... but in the 2nd column it is copying 1st filed value only.. i have to refresh the edit..

Do you know any refresh edit..class or function module.

Former Member
0 Kudos
143

can you provide us with a snippet of the code that handles the double-click event?

0 Kudos
143

I don't have any problem with double clicking, i have to refresh the text editor before clicking the column2.

0 Kudos
143
code?

0 Kudos
143

Taking the data from customized tables so my code won't work in your system.

Let me know if you still need a code.