This website is not affiliated with, sponsored by, or approved by SAP AG.

check box in alv

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

check box in alv

Postby Guest » Tue May 20, 2003 1:24 am

Hi All,
Can any body tell me how can we add check box in alv list.
when we use 'reuse_alv_list_display' F.M.
e.g-
**********
checkbox - customer - name
? - 100 - abc
? - 200 - xyz.

**********

plz help me.
thanks in advance
psa
Guest
 

Postby bdelporte » Tue May 20, 2003 3:53 am

Hi psa
Use parameters
Code: Select all
is_layout          = s_layout

of function REUSE_ALV_LIST_DISPLAY
where
Code: Select all
*LAYOUT
  CLEAR s_layout.
  s_layout-box_fieldname = 'FLAG'.
  s_layout-box_tabname = 'INTTAB'.


and

Code: Select all
DATA : BEGIN OF inttab OCCURS 0,
  flag(1),
  ...
end of inttab.


Here are your chechboxes... :D
Have a nice day!
Benoît
bdelporte
 
Posts: 151
Joined: Mon Oct 21, 2002 2:16 am

Postby Guest » Tue May 20, 2003 4:50 am

Thanks Benoit, We have got the checkboxes. For selected checkbox we want to retrieve the record information.
again thankyou very much.
psa
Guest
 


Return to ABAP

Who is online

Users browsing this forum: No registered users and 4 guests





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.