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

about selection screen

MohitSingh
Product and Topic Expert
Product and Topic Expert
0 Likes
816

where to use at selection sreen.

and whats the difference b/w start of selection and at selction screen.

8 REPLIES 8
Read only

Former Member
0 Likes
795

hi,

to validate the selection-screen we use at selection-screen.

start-of-selection is used to retrieve the data.

Read only

S0025444845
Active Participant
0 Likes
795

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

Read only

Former Member
0 Likes
795

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

Read only

former_member196280
Active Contributor
0 Likes
795

At selection screen is used to validated the selection field contents.

Rgds,

Sairam

Read only

Former Member
0 Likes
795

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

Read only

Former Member
0 Likes
795

<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

Read only

Former Member
0 Likes
795

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

Read only

Former Member
0 Likes
795

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.