on 09-23-2008 8:34 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.