‎2008 Jan 16 3:47 AM
hi all
i had create a subscreen using dialog programming.
My question is hw to leave the subscreen by clicking the X at the top right cornor of the subscreen. Any code to use?
Thks
‎2008 Jan 16 6:52 AM
Hi Gray,
Place One push button on the subscreen with name as we want for example i will place one push button with name CLOSE.In that CLOSE push button mention fuunciton code as CLOSE.
LOGIC:write this logic in PAI event ok..
case sy-ucomm.
when 'CLOSE'.
leave program.
endcase.
Reward points if helpful.
Kiran Kumar.G.A
Have a Nice Day..
Edited by: KIRAN KUMAR on Jan 16, 2008 7:53 AM
‎2008 Jan 16 6:52 AM
Hi Gray,
Place One push button on the subscreen with name as we want for example i will place one push button with name CLOSE.In that CLOSE push button mention fuunciton code as CLOSE.
LOGIC:write this logic in PAI event ok..
case sy-ucomm.
when 'CLOSE'.
leave program.
endcase.
Reward points if helpful.
Kiran Kumar.G.A
Have a Nice Day..
Edited by: KIRAN KUMAR on Jan 16, 2008 7:53 AM
‎2008 Jan 16 7:01 AM
Thank for yr reply. I already solve the problem myself.
Actually u are creating extra button to leave the screen. What i wanted is the X cross found on the top corner in every screen. When user click on the X, the screen will close.
The solution is to use exit-command.