Skip to Content
avatar image
Former Member

LOG OFF Button : WD UI element

Hi ,

I have a requirement wherein I have a log off button in my main screen of WD ABAP application .

On click of that , user should be logged off from the application .

Can any one help me , how to do it .

I also want to know , how does it differ , if I provide close button in my application .

regards ,

amit

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jul 02, 2009 at 03:24 AM

    Hi,

    Check this [Blog|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6687] [original link is broken] [original link is broken] [original link is broken];. Hope it helps..

    Regards,

    Radhika,

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      When u click on Log Off button,should ur application window get closed?

      If so,

      (1)Maintain Outbound plug in ur view,OP_VIEW.

      (2)Similarly maintain Outbound plug ,OP_WINDOW of type EXIT and Inbound plug,IP_WINDOW in

      ur window.

      (3)In the event handler of inbound plug,IP_WINDOW,fire the EXIT plug OP_WINDOW.

      (4)Now fire the outbound plug OP_VIEW in the onAction of ur Log Off button.

      (5)Maintain an importing parameter CLOSE_WINDOW of type boolean in ur EXIT plug(OP_WINDOW)

      and while firing the exit plug in the handler event of inbound plug,pass the value for CLOSE_WINDOW

      as 'X'.

      Thanks,

      Divya.S