‎2007 Jul 09 10:32 AM
where to use at selection sreen.
and whats the difference b/w start of selection and at selction screen.
‎2007 Jul 09 10:36 AM
hi,
to validate the selection-screen we use at selection-screen.
start-of-selection is used to retrieve the data.
‎2007 Jul 09 10:40 AM
hi,
at selection-screen is basically used for validations n all.
it is triggred wen u click on any gui item.
start-of -selection is basically to retrieve the data,by default always it is triggred even if u dont use ny events in ur report.
regards,
sudha
‎2007 Jul 09 10:41 AM
hi,
at selection screen event is used for validating the screen fields .
for ex when u wanna display text buttons based on selecting radio buttons in such caes we go for AT SELECTION-SCREEN EVENT
GENERALLY AT SELECTION-SCREEN EVENT is triggered before start-of-selection event.
for ex:
at selection-screen.
if screen-name = 'p1'.
screen-required = 1.
modify screen.
endif.
if screen-name = 'p2'.
screen-input = 0.
modify screen.
endif.
in the above ex p1 screen field is mandatory. system wont allow u 2 process further with out giving value to it.
p2 is disabled while selection screen display for user.
to have such conditions we go for at selection-screen event.
start-of-selection event is used for selecting data from database tables into user defined tables or to structures
for ex: Start-of-selection.
select * from mara into table itab where ................
start-of-selection event in reporting is the default event that will be triggered.
if helpful reward some points.
with regards,
Suresh.A
‎2007 Jul 09 10:42 AM
At selection screen is used to validated the selection field contents.
Rgds,
Sairam
‎2007 Jul 09 10:42 AM
Hi,
Start-of-selection
this is the first event for your list once all the events are triggered in selection screen the data is retirve from the database.
The REPORT statement always executes a START-OF-SELECTION implcitly. Consequently all processing logic between the REPORT statement and the next event keyword is automatically processed in the START-OF-SELECTION event.
Immediately afterwards, the system processes the statements that belong to an explicit START-OF-SELECTION block.
At-selection screen
AT SELECTION-SCREEN is used process the user commands
AT SELCTION-SCREEN OUPUT is used for the display/change mode of selection screen fields
***do rewards if usefull
vijay
‎2007 Jul 09 10:44 AM
<b>START-OF-SELECTION</b>
Event keywords for defining event blocks for reporting events.
Syntax
<u>START-OF-SELECTION.</u>
After the selection screen has been processed, the runtime environment triggers the LOAD-OF-PROGRAM event, and the corresponding event block is executed.
<u>AT SELECTION-SCREEN</u>
User actions on a selection screen or on a list trigger certain events in the ABAP runtime environment. This event key word helps to validate the parameters/select-options on the Selection screen.
Regards,
Pavan
‎2007 Jul 09 10:46 AM
Hi,
at selection-screen is basically used for validations n all.
it is triggred wen u click on any gui item.
start-of -selection is basically to retrieve the data,by default always it is triggred even if u dont use ny events in ur report.
IF USEFULL REWARD
‎2007 Jul 09 10:47 AM
at selection-screen is basically used for validations n all.
it is triggred wen u click on any gui item.
start-of -selection is basically to retrieve the data,by default always it is triggred even if u dont use ny events in ur report.