on 02-05-2014 11:00 AM
Hi Experts
I have one webdynpro table .and i have created one record in TVARVC table and specified low value as 5
according to that low value i.e 5 records of data has to be populated into webdynpro table i.e five records have to be populated
to the table even if table contains 10 records .if any one knows the solution please let me know thanks in advance
Thanks & Regards
Santhosh
Hi Santhosh,
Going by your example, If you want only 5 entries to be displayed and others entries not even available after scrolling down and all, then you will need to read the tvarvc low value and delete values from internal table whose index is greater than the tvarvc value. This is to be done before binding the table for display.
But if you want that 5 entries are to be visible at one time and rest user should be able to see by scrolling down, then in that case, the VisibleRowCount property of the Table is to be bound with a context attribute and that attribute should have the value read from tvarvc.
Hope it is clear.
Regards,
Harsh Bansal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Santhosh,
Do you want to display only 5 records or all the records at a time.
can you elaborate your qurey.
Thanks & Regards,
Sankar Gelivi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Santosh,
First Read low value from TVARVC table using select query. You will get the value of LOW ( say 5). Now go to your table and Delete all records where index is higher than 5.
Suppose ,lv_value contains low value from TVARVC table.
Delete lt_table where index GT lv_value.
Now table will contain only 5 records,so display in table.
Regards,
Ravikiran.K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Priyesh,
Thanks for quick response ,my req is in webdynpro context there are 10 records but
i have to display only five records in table which should be change dynamically by reffering to tvarvc table ,suppose im created one record in tvarvc whose low value is 5 or n
so according to tvarvc table low value , records should be displayed in table,let me know if u know solution thanks in advance
Regards
santhosh
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.