on 12-17-2008 10:49 AM
i have two views,
first view ask for customer number (selct option).
second screen a table which display the customer details and abutton to go back.
my problem is when i go back and enter new range then also i am getting the old table values.
how can i clear the context.
Thanks
Shaik Shadulla.
closed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shaik,
My suggestion is first try to search these things by your self before asking it here as this is very common question asked by many people.
In other forum Abap Dictionary many accounts have been locked for not following the rules. This is my suggestion please dont mind. and this will also save your time.
For your post you can use IF_WD_CONTEXT_NODE->INVALIDATE( ) to invalidate the context node.
regards
Pranav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi shaik,
Use invalidate method to clear the context.
Regards,
Arun.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I think you are initializing your second view from wdinit..... do one thing i have faced similar issue, just create a method in component controller and initialize your second view in it..... call this method in the action of fire plug........
please see below how i had solved this problem.......
method onactionfiresearch .
*fire plug on click of button*
wd_this->fire_todetailview_plg(
).
*Call component method to initialize the view for Detail work permit*
data lo_componentcontroller type ref to ig_componentcontroller .
lo_componentcontroller = wd_this->get_componentcontroller_ctr( ).
lo_componentcontroller->initdescriptionn(
).
endmethod.
regards
Pranav
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.