cancel
Showing results for 
Search instead for 
Did you mean: 

selected data from check box by group

Former Member
0 Kudos

Hi Experts,

I am learning webdynpro abap,

i have created checkboxgroup and iam selecting multiple check boxes, i want to fill the table with the entries of selected check box.

Thanks,

Syed Taj

Accepted Solutions (1)

Accepted Solutions (1)

former_member215610
Active Participant
0 Kudos

Hi Syedtaj,

Check the below link

http://webdynproabap.wordpress.com/2012/07/07/check-box-group/

Thanks and Regards,

      Ragavendra

Former Member
0 Kudos

Hi Ragavendra,

Link you have provided is good and i have solved my problem,

Thanks you.

syed

Former Member
0 Kudos

Hi

I am not able to see ur link , can you please help me ?

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Baba,

You want to fill table? You can read that data, put condition like if checked move that data to one internal table. Based on this  use bind_table method to fill data.

Cheers,

Kris.

former_member210804
Active Participant
0 Kudos

Hello Baba,

I have done one sample example .where

i have created a checkboxgroup, 3 tables which will appear based on checkbox selection.

Please go through the following steps.

1 Created 3 nodes. PERSONAL.,ADDRESS and BANK and 3 supply functions supply_personal,

supply_address and supply_bank respectivley.

2 Code for supply functions as below.

3.  In Main view, I have created checkboxgroup and 3 tables.

4. In main view context , created a node CHK with 0...n cardinality and attribute value as string.

   Drag and drop the 3 nodes from component controller.i.e PERSONAL,ADDRESS and BANK.

   create 3 attributes TAB1,TAB2 and TAB3 with property WDUI_VISIBILITY.

  as follow.

5. Write the code in WDDOINIT to invisible the 3 tables initially.

6.  Inorder to call the tables based on checkbox, write the code in ONTOGGLE event.

  Hope this is helpful.

Best regards,

Rao