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

TextEditor using cl_gui_textedit

Former Member
0 Likes
1,326

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
Read only

Former Member
0 Likes
1,224

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

Read only

Former Member
0 Likes
1,224

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

Read only

0 Likes
1,224

Is this a custom or a standard ALV report?

Read only

0 Likes
1,224

This is custom ALV report using CL_GUI_TEXTEDIT.

Read only

0 Likes
1,224

Are you passing e_colum to the event double_click?

Rob

Read only

0 Likes
1,224

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.

Read only

Former Member
0 Likes
1,224

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

Read only

0 Likes
1,224

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

Read only

0 Likes
1,224
code?
Read only

0 Likes
1,224

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

Let me know if you still need a code.