Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

at selection-screen on exit-command

Former Member
0 Likes
1,296

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 .

3 REPLIES 3
Read only

Former Member
0 Likes
692

hi,

If suppose you want to come out from a mandatory field ,then you have to go this particular syntax.

Siva

Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
692

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

Read only

Former Member
0 Likes
692

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