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: 

Problem in OOPs ALV using the BOX_FNAME property in LAYOUT

I355602
Advisor
Advisor
0 Kudos

Hello Guys,

I am trying to use the property BOX_FNAME property in the LAYOUT of OOPs ALV, as a CHECKBOX for selecting the records and then processing the selected records.

Also i need to implement the functionality of SELECT/DESELECT ALL.

Below is the code i am using:-


DATA : w_layo  TYPE lvc_s_layo.                    " Layout

w_layo-box_fname = 'MARKE'.

MARKE is a field used in internal table as CHAR01 field.

But know when i select record on display, the internal table field MARKE is not reflected back with the values.

Please suggest if i am missing something.

Thanks in advance.

Regards,

Tarun Gambhir

1 REPLY 1

I355602
Advisor
Advisor
0 Kudos

Solved by own, using method GET_SELECTED_ROWS of class CL_GUI_ALV_GRID.

Regards,

Tarun