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

Former Member
0 Likes
879

Hi All,

help me out with this problem.

In a grid display how to catch the checkbox details enabled data from first list. And the same data has to be transfered to another list in alv grid.

Regards,

Rajesh.

Hi All,

help me out with this problem.

In a grid display how to catch the checkbox details enabled data from first list. And the same data has to be transfered to another list in alv grid.

Regards,

Rajesh.

6 REPLIES 6
Read only

Former Member
0 Likes
853

Hi Rajesh,

anyhow u r creating internal table with check box as first field.

and in this case if enduser checks the check bos then the chexk box field value set to 'X" in internal table.

kiran

Read only

0 Likes
853

Hi

You have to:

1. use

call method grid1->check_changed_data.

to update internal table with data for grid1 after changes on ALV_1.

2. Copy necceary data from internal table with data for grid1 into internal table with data for grid2

3. Use

call method grid2->refresh_table_display.

to display on ALV_2 new data in internal table with data for grid2.

JS

Read only

Former Member
0 Likes
853

Hi,

Add a field 'check' as a last field in ur output internal table .

In the layout in the field catalog , Use

layout-box_fieldname = 'CHECK'.

Now user checks the line , now u can read the output table where check eq 'X'.

This will work.

Cheers,

Lakshmi Prasanna Gandham

Read only

0 Likes
853

Thanks for your reply,

Could you sent me detail code.

Read only

0 Likes
853

Dear Lakshmi,

Could you please share the code with us?

Regards,

JoY

Read only

Former Member
0 Likes
853

search the forum with this Function as key word

GET_GLOBALS_FROM_SLVC_FULLSCR