‎2007 Oct 25 11:45 AM
I have created Help request in module pool for a field..
I have created a screen and i called tht screen which dislays the docu of the field..
I cant close tht window which i have created..Hw to close tht window
‎2007 Oct 25 12:00 PM
Hi,
in your pf-stus dont forget to activate back button
here i mentioned for exit and cancel as well.
In your PAI.
module USER_COMMAND_1000 input.
CASE OK_CODE.
WHEN 'BACK' OR '%EX' OR 'RW'.
LEAVE TO SCREEN 0.
ENDCASE.
endmodule. " USER_COMMAND_1000 INPUT
Reward if helpful.
Regards,
Harini.S
‎2007 Oct 25 11:49 AM
HI,
check whether you had written the function code for close and push button for cancel window.
like.
case sy-ucomm.
case '..'
-
-
-
case 'BACK'.
SET SCREEN 0.
ENDCASE.
‎2007 Oct 25 12:00 PM
call screen 0002 starting at 10 50
ending at 80 10.
i have created a screen like this..I didnt give any buttons in it..I need to click the close button (x) in the right top corner..Wht is the function code for tht button
‎2007 Oct 25 12:00 PM
Hi,
in your pf-stus dont forget to activate back button
here i mentioned for exit and cancel as well.
In your PAI.
module USER_COMMAND_1000 input.
CASE OK_CODE.
WHEN 'BACK' OR '%EX' OR 'RW'.
LEAVE TO SCREEN 0.
ENDCASE.
endmodule. " USER_COMMAND_1000 INPUT
Reward if helpful.
Regards,
Harini.S
‎2007 Oct 25 12:06 PM
Hi
Declare this coding part in your PAI
case 'BACK'.
SET SCREEN 0.
ENDCASE. Because this screen will call your screen after you press enter so that it will direct back to your intial screen
Regards
Pavan
‎2007 Oct 25 12:17 PM
Hi
Set screen as '0'
this is first finish the PAI of current screen then go to new screen.
Regards
Raghav