cancel
Showing results for 
Search instead for 
Did you mean: 

LOG OFF Button : WD UI element

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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,

Former Member
0 Kudos

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

Answers (0)