on 03-18-2008 8:12 PM
Hi,
I have 2 i views:
in 1 i create an employee, using rcf A.
in 2 i dispaly the emloyee details using rfc B.
Immediatlly After creating an employee, i would like to see his details but
sometimes only after re-entering the portal the details are shown,
is any refresh needed???????
Thanks,
Ronit
hi , as i think the problem is in ur detail search view. and u can define a refresh handler in compcontroler, which will be implemented in your detail viewer, which is do the same thing like u in search view( mainly for showing datas)
then u can pub this handler with a public method in ur compcontroler in order to be called by the view1(edit),
then, after u insert or update a people, the edit button will call the public method to refresh the data in view2.
hope this is for ur 'needed refresh'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have invalidate in both RFC's.
The RFC's do what they should do in the backend.
The problem is that after using first view and creating the employee in r/3,
when i move to the second view to display the employee details,
i get nothing, BUT if i re-entered the portal and try to display the employee - i get all details.
Ronit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Think its because of execution time in updating the database.
Ur trying to retriew data before it is updated in the data base.
so include this line in
Thread.currentThread().sleep(long milliseconds_to_sleep);
in onPlugFrom<view1> method.
milliseconds_to_sleep waits those milli seconds and execution continues.
Thanks,
Sunitha Hari
Hi
You don't have to worry about refresh; Don't forget to put the .invalidate() method in Button press event, where both RFCs gets executed. This will get the output that you want.
Regards
-Vinod.
*
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
No refresh is required for displaying the data.
Only thing is to execute the model by using exexute().
Regards,
lavanya.G
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.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
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.