Skip to Content
0
Former Member
Apr 09, 2010 at 05:02 PM

disconnectifalive doesn't work

45 Views

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

http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/507eab3a-9f85-2b10-5882-a973b97f0cca&overridelayout=true

/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,