cancel
Showing results for 
Search instead for 
Did you mean: 

plz help table view problem

former_member97974
Participant
0 Kudos

HI experts

i have a table view and on the basis of som value the first row of table view getting filled automatically .

i want to fill data in the next row(second row) of the table view .

plz guide me in this problem its very urgent

thnx in advance

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

Accepted Solutions (0)

Answers (1)

Answers (1)

amarnath_kathi
Active Contributor
0 Kudos

Abhinav,

did you try appending the value you wanted into the second row of the internal table you used in the table view? First append 2 initial lines in internal table, modify second record with your data.

former_member97974
Participant
0 Kudos

Hi Amar

thnx for ur rply

but the component for table is a standard one btrefobj

so i am not getting which structure u r talking about and where i can append the second record .

kindly give me some details

thnx

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

suchita_phulkar
Active Contributor
0 Kudos

Hi there,

Your requirement is quite simple.

What i understood from your problem is that you want to append on row to your table with with its fields populated, to get your problem solved, you will need to create an empty entity, then set its properties with the data you want to display in second row and then add this entity to collection wrapper and set the collection . That's it !!

if you can just explain to me what is the context node for your table view and your requiremnt in somewhat details, i can then give you the detail solution.

Thank s & Regards,

Suchita

former_member97974
Participant
0 Kudos

Hi suchita ,

facing this problem from a long time .

but i m sure u have the solution

could u please give the details of this solution and the code related to it .

the exact problem is

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 .

exmple 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 in this

thanx in advance