Skip to Content
avatar image
Former Member

How to Close connection and Exit

Hello,Can anyone tell me how to exit from an WebDynpro application and R/3 Connection on click of a push button say (EXIT)

Thanks...

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Nov 06, 2006 at 10:44 AM

    Hi,

    Instanciate your Model class and make it disconect.

    <Model Name> anyName = (<Model Name>)WDModelFactory.getModelInstance(<Model Name>.class);anyName.disconnectIfAlive();

    it mihgt helps.

    Thanks

    Lohi.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 06, 2006 at 12:27 PM

    Hi,

    Have a look at this thread as well,to force log off from the portal etc.

    Log off from web Dynpro application

    Regards,

    LM

    Message was edited by: L.M

    Add comment
    10|10000 characters needed characters exceeded