Application Development 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: 

Events

former_member222068
Active Participant
0 Kudos

Hi,

Can u tell me where this particular code triggers and under which event it triggers.

when empno = 1 and when i press enter

it should display me the details of that particular empno.

i need this in the case of a Report

Regards

sankar

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

If you want to show the details on some condition and after triggering Enter then

you can write it in at selection-screen or start-of-selection event.

6 REPLIES 6

Former Member
0 Kudos

Hi

Please fill this under the event Initialization Event. It will works fine.

Rocky1
Active Participant
0 Kudos

Hi,

Your requirement is not clear..Can u be precise on it..When ever you execute after entering the selection criteria, the program takes you to the START OF SELECTION. I told this on the basis of what i understood from your post.

Thanks & Regaards

Rocky

Former Member
0 Kudos

Hi

If you want to show the details on some condition and after triggering Enter then

you can write it in at selection-screen or start-of-selection event.

0 Kudos

Hi

can u tell me what r the events that we have in selection-screen.

i know only At selection screen and At selection-screen on <field name>

is there any other event . if so can u tell me or else with an example.\

Regards

sankar

0 Kudos

Hi,

Find below events in classical report

INITIALIZATION

AT SELECTION-SCREEN

AT SELECTION-SCREEN ON

AT SELECTION-SCREEN ON VALUE REQUEST

STRAT-OF-SELECTION

TOP-OF-PAGE

END-OF-PAGE

END-OF-SELECTION

Interactive Report

AT LINE-SELECTION

TOP-OF-PAGE DURING LINE SELECTION

AT USER-COMMAND

0 Kudos

Hi thanks alot.

code should be written in AT SELECTION-SCREEN

sample code:

AT SELECTION-SCREEN.

select single name age from xyz " Table

into (p_name,p_age) " Work Area

where empno = p_empno.