‎2007 Aug 30 7:52 AM
hi, iam doing modulepool programming in the bigging stage .while iam doing i have a doubt that idont know the difference between writing the exit case statment in PAI module and writing code for exit in seperate module out side PAI.
please help me inthis context
‎2007 Aug 30 10:28 AM
the only difference for coding exit in exti-command module and a normal module in PAI is that here you have the function code defined with function type E which states is a exit type of function.
Regards
Gopi
‎2007 Aug 30 8:02 AM
HI,
1. Exit in case statement.
CASE okcode.
....
.....
when EXIT_TAB.
SET SCREEN O.
LEAVE PRGRAM.
.....
......
ENDCASE.
2. writing exit in another module..
MODULE EXIT_MODULE AT EXIT COMMAND.
inside the exit module write the same code
set screen 0.
leave program.
REWARD IF HELPFUL
thanks
vivekanand
‎2007 Aug 30 9:53 AM
hi,
iknow that but idont know the difference between them.
if i place the exit code with in PAI i can debug the code.
but if i place the exit coding in seperate exitmodule(module exit at exit-command) i am unable to debug the code .
first of all the debug cursor will not goto that code.
‎2007 Aug 30 10:11 AM
Hi,
when you create a different module for exit it will enter the module only when you have pressed the exit xommand not like the othet modules.
try debugging by pressing the exit command
its like the chain endchain module.
it wil enter when you have a change in that line.
i think ur doubt is clear now
vivekanand
‎2007 Aug 30 10:17 AM
Hi,
when you create a different module for exit it will enter the module only when you have pressed the exit xommand not like the othet modules.
try debugging by pressing the exit command
its like the chain endchain module.
it wil enter when you have a change in that line.
i think ur doubt is clear now
vivekanand
‎2007 Aug 30 10:24 AM
s ur right.
but it is not going to debug when i write code in seperate module .
‎2007 Aug 30 10:28 AM
the only difference for coding exit in exti-command module and a normal module in PAI is that here you have the function code defined with function type E which states is a exit type of function.
Regards
Gopi
‎2007 Aug 30 11:27 AM
‎2007 Aug 31 5:35 AM
thanku very giving reply
it was very help full tome
solve the problem