on 03-08-2012 4:13 AM
Hi Friends,
Purpose of my webdynpro component is to display the data from my custom ZTABLE to table UI element. So i have included my SELECT statement in WDOINIT.
Also my webdynpro component is include in the Portal Iview. When I am access my report through portal first time, its fetch all records. (I.e Updated table records). Suppose after caccessing the report in portal and updated few records in the table means its not fetching because WDOINIT is not working...
WDOINIT is working only during first time... how to resolve this... Also I dont want to include my select statement in WDOMODIFYVIEW...
please throw some light on this..
By
deva
once you displayed the table , where you are updating ztable?
in the view itself are you updating table record through button action?
if you are updating ztable through some button action, in that button action refresh the node then you will get the new table values.
Once the view displayed( means wddoint will triggered, it will trigger only once )
Regards
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
after entering the record into the table.again write code to update the record. It will solve ur problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
R u saying that your newly added data is not refreshing.
Karthik.R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
When you are displaying the view, WDDOINIT will only get triggered during startup.
As you told you are updating the fields in some action, So in this action method read the data from
the table and bind this data to your node using bind_table, The same thing which you have done in WDDOINIT.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Thanks for your inputs...
I dont have any action button to trigger... My scenario is : I have 2 webdynpro component (for eg ZWD1 and ZWD2)
ZWD1 -> having screen to update the ZTABLE
ZWD2->Having Table UI alone to display ZTABLE data.
above both Webdynpro has included in portal.
Assume ZTABLE is currently having 10 records. Now if user select the report menu in portal means, it will display 10 records. now if user select the ZWD2 menu in portal and adding 11th record and then select the report to see the updated 11th record in report.. but its not showing the 11th records...
How to overcome this.. please help me
by
deva
Hi,
There is no way for it to get automatically refreshed, you need to refresh the data using some
action to get the newly entered data.
As you are using different WD component to enter new data, this cant reflect in the other component,
So you would need to have a round trip to server from the component you are displaying the data
so that you can fetch the newly entered data.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.