03-24-2010 11:24 AM
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
03-24-2010 11:34 AM
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.
03-24-2010 11:26 AM
Hi
Please fill this under the event Initialization Event. It will works fine.
03-24-2010 11:33 AM
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
03-24-2010 11:34 AM
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.
03-24-2010 11:38 AM
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
03-24-2010 11:45 AM
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
03-25-2010 8:40 AM
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.