on 03-05-2007 6:59 PM
Hi, I have a search view. where I execute 3 RFC, each rfc node is in a different view with a back to search button.
My problem is that in only one of this view if I make a search where that brings no data. It appears the data of the earlier search.
The seatch button action contains this:
wdContext.currentZtableCcElement().setClientid(l_client);
wdContext.currentZtableCcElement().setSociedad(l_combo);
wdThis.wdGetMultiCcCustController().executeZtrae_Cc_Input();
wdContext.nodeOutput_Cc().invalidate();
wdContext.currentZtablePagosElement().setClientid(l_client);
wdContext.currentZtablePagosElement().setSociedad(l_combo);
wdThis.wdGetMultiCcCustController().executeZtrae_Pagos_Input();
wdContext.nodeOutput_Pagos().invalidate();
wdContext.currentZtableHistElement().setClientid(l_client);
wdContext.currentZtableHistElement().setSociedad(l_combo);
wdThis.wdGetMultiCcCustController().executeZtrae_Hist_Input();
wdContext.nodeOutput_Hist().invalidate();
wdThis.wdFirePlugToReportCc();
How can the invalidate() method works in the first and third node, but not in the second one ???
If the new search have some data works fine, but if there is no data, it shows the earlier search.
some ideas ? thx
Check whether your function module is working fine or not in R3.Try executing the RFC with giving some parameters for which it returns result and after that execute RFC with giving some parameters for which it does not return any result in R3.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try:
wdContext.currentZtableCcElement().modelObject().execute();
wdContext.nodeOutput_Cc().invalidate();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rodrigo,
first of all, empty all output nodes:
while (wdContext.nodeXY().hasNext()){
wdContext.nodeXY().removeElement(0);
}
and after call your RFCs.
Regards,
Gianluca Barile
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.