Skip to Content
avatar image
Former Member

disconnectifalive doesn't work

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,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Apr 12, 2010 at 01:15 PM

    I've found solution.

    I've just set Attribut "Wait" in my model object (Transaction model)

    Best regards,

    Add comment
    10|10000 characters needed characters exceeded