‎2007 Jul 03 5:46 AM
hi to all my querry is as follows . pls tell what is the usse of
at selection-screen on exit-command event where do we use it . can u pls give some sample coding . points will be rewarded definitely .
‎2007 Jul 03 5:52 AM
hi,
If suppose you want to come out from a mandatory field ,then you have to go this particular syntax.
Siva
‎2007 Jul 03 6:01 AM
Hi,
This is to handle function types of type 'E' (Exit).
When you press the EXIT button on the application toolbar if you have this section you will come to this event block.
Generally useful when you want to exit a screen with Obligatory fields.
Regards,
Sesh
‎2007 Jul 03 6:04 AM
Hi
We use<b> exit-command </b> in Module pool programs to come out of the Program, without entering data in the madatory fields on screen.
We don't use exit commands for selection screens in Reports
So you are asking this exit command for selection screens
see the sample code for Module pools programs
PROCESS AFTER INPUT.
Forced Exit from the transaction
MODULE exit AT EXIT-COMMAND.
&----
*& Module exit INPUT
&----
Exit from the Transaction
----
MODULE exit INPUT.
CASE okcode.
WHEN 'EXIT' OR 'CANCEL'.
CLEAR okcode.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. " exit INPUT
Reward points for useful Answers
Regards
Anji