Hi experts,
I meeting a serious issue with the function disconnectifalive. I'am working on NWDS 7.0 SP11. I'am using BAPI_SALES_ORDER_CHANGE and i have to call this bapi more than one time in order to update different areas of the target order. I Would like for each time to disconnect user from the SAP Backend by this code:
InputElement.modelObject().modelInstance().disconnectIfAlive();
But it doesn't work i continue to have a lock message on my target order.
I read this articles but i don't find solution:
When should we call disconnectIfAlive()
JCO - setConnectionProvider doesn't work
/people/sasivarnan.sundarakandasamy/blog/2008/12/29/http-post-in-web-dynpro-suspend-plug
How to get all attributes of one node in dynamic webdynpro
I'll try alos using setConnectionProvider() but i'vn't succeeded, i'll got nullpointerexception when i try to save connection in my context :
modelObject().modelInstance().getConnectionProvider()
Regards,