on 08-19-2011 8:24 AM
Dear Experts,
I have a table in view which is mapped to a model node . The model node gets populated by calling a RFC.
Please tell me how to refresh the model node mapped in the view ?
wdContext.node_Result_Data.invalidate() ; doesnt work over here . dont know y !!
Please advise.
Regards,
Mamai.
Hi,
Please check with this code. Hope this is help full for you.
wdContext.nodePoDetails_OutTab().invalidate();
after invalidate u have to write the Execute that BAPI also.
wdThis.wdGetCO_POPendingDetailsController().executeYmm_Sc_Bapi_Oapending_Getlist1_Input();
Hope this helps!!
Thanks & Regards
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use the following code to refresh or invalidate the model node in WDJ.
IPrivate<ViewName>.I<NodeName>Node node = wdContext.node<ModelNodeName>();
IPrivate<ViewName>.I<NodeName>Element ele;
for(int i= node.Size(); i>0;i--)
{
ele = node.get<ModelNodeName>ElementAt(i);
node.removeElement( ele );
}
Please revert back if aany quaries.
Thanks & Regards,
Bhargava.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
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.