cancel
Showing results for 
Search instead for 
Did you mean: 

table view

former_member97974
Participant
0 Kudos

hi experts

i have a field of ibase in view A in a ui component .

also below i have a table view for components of ibase .

when i

now my requirement is on entering some value in ibase field i want to show all the available components

of this ibase into this table view .

example ibase 3234 from ibib table

get components 3235

3236

3237

now if i enter 3234 in ibase field i want to set the values of its component in the table view

name of table view is

component view attribute

BTREFOBJ BTREFOBJ/RefObj STRUCT.IB_INSTANCE

also how can get the iteration of table

or can i set the data using index

how can i calculate the index of table view

plz guide me

thanx

Edited by: Abhinav Gupta on Sep 23, 2008 11:15 AM

Edited by: Abhinav Gupta on Sep 24, 2008 6:13 AM

Edited by: Abhinav Gupta on Sep 24, 2008 4:24 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Abhinav,

You need to trigger an event or call a method/function module from the setter of IBase field which will fill the table view with corresponding ibase components.

To get the iterator of table view, actually its the iterator of the context node attached to the table view:-

DATA: lr_iterator TYPE REF TO if_bol_bo_col_iterator,

CALL METHOD typed_context->'Context Node Name'->collection_wrapper->get_iterator

RECEIVING

rv_result = lr_iterator.

Also have a look at the methods of the interface-IF_BOL_BO_COL_ITERATOR.

Hope this gives you some pointers to start with...

Regards,

rohit

former_member97974
Participant
0 Kudos

Hi rohit

thanks for ur rply

but kindly guide me where i will have to append the data to show in the table view .

thnx in advanc