05-15-2007 12:25 PM
Hello Friends,
please tell me the code to call a new screen when give enter in the previous screen.
Thanks & Regards
jayaraman veda.
05-15-2007 12:35 PM
hi friend,
try this
in PAI of previous screen write following codes:
if sy-ucomm = ok_code.
call screen 101.
endif.
thanks and regards
vijay
05-15-2007 12:27 PM
Hi,
in PAI of previous screen write following codes:
if sy-ucomm = 'ENTE'. "Check sy-ucomm for enter in debugging and give here
call screen 101. "This is next screen
endif.
05-15-2007 12:30 PM
Hi Veda,
In dialog prgmming when u click enter means it will directly take the comtrol to PBO(Process before Output) There u need to write the code directly or by checking the condition by using Sy-ucomm field...
Reward if useful
05-15-2007 12:30 PM
Hi Jayaraman,
find out the fcode for enter using debugging.
e.g it is &ent .In PAI module of screen. write this code :
case sy-ucomm.
when '&ent'.
call screen 2000.
endcase.
Regards,
Hemant
05-15-2007 12:31 PM
in PAI user module write this code.
case sy-ucomm.
when ' '.
call screen <screen number>
endcase.
Here empty space refers to enter.
05-15-2007 12:35 PM
hi friend,
try this
in PAI of previous screen write following codes:
if sy-ucomm = ok_code.
call screen 101.
endif.
thanks and regards
vijay
05-15-2007 2:24 PM