on 06-21-2013 12:18 AM
Dear SAP guru's
If I have a wdContext.currentBapi_Flight_GetList_InputElement().modelObject().modelInstance().disconnectIfAlive() in my Java Web Dynpro code, this should go before or after wdContext.nodeOutput().invalidate()?
For example, what code is ok?
wdContext.currentBapi_Flight_Getlist_InputElement().modelObject().execute();
wdContect.nodeOutput().invalidate();
wdContext.currentBapi_Flight_GetList_InputElement().modelObject().modelInstance().disconnectIfAlive();
or
wdContext.currentBapi_Flight_Getlist_InputElement().modelObject().execute();
wdContext.currentBapi_Flight_GetList_InputElement().modelObject().modelInstance().disconnectIfAlive();
wdContect.nodeOutput().invalidate();
Is indistinct order of the disconnectIfAlive()?
Best regards.
Hi Victor,
I would go with the second option.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Carmona,
This is Currect code
wdContext.currentBapi_Flight_Getlist_InputElement().modelObject().execute();
wdContext.currentBapi_Flight_GetList_InputElement().modelObject().modelInstance().disconnectIfAlive();
wdContect.nodeOutput().invalidate();
1) Execute BAPI. 2) Disconnect your existing BAPI and 3) Invalidate the Contect
Hope this helps !!!
Regards
Vijay K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.