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

regarding at selection screen event

Former Member
0 Likes
688

hi experts,

i m working on hr abap report with the help of pnp ldb i made my selection screen using report category 'PY_DEF' now what i want that i m not using the first selction screen which contains current period details etc but when i click on the payroll period button the second selection screen is coming no doubt... containing payroll area current period ,other periods etc here i m entering payroll area eq 'ka' and other periods from '012006' to '122006' ,,here i want to validate the user input that it sud be of one year that is from 1 to 12.....for this i know i will use at selection event but how can i use it for the second selection screen not for first screen......... plz help me....

hi experts,

i m working on hr abap report with the help of pnp ldb i made my selection screen using report category 'PY_DEF' now what i want that i m not using the first selction screen which contains current period details etc but when i click on the payroll period button the second selection screen is coming no doubt... containing payroll area current period ,other periods etc here i m entering payroll area eq 'ka' and other periods from '012006' to '122006' ,,here i want to validate the user input that it sud be of one year that is from 1 to 12.....for this i know i will use at selection event but how can i use it for the second selection screen not for first screen......... plz help me....

4 REPLIES 4
Read only

Former Member
0 Likes
661

Hi Ravi,

Just use the AT SELECTION SCREEN event and write your coed there. No need to worry about the first and second selection screen.

Regards,

Atish

Read only

Former Member
0 Likes
661

Do u realy need the first selection screen having the current period? If u don't need then u can hide the field in the report category, by passing only the payroll area with other period, in this case we can validate through selection screen..

Reward points ... if found helpful...

Regards,

Sowmen Das

Read only

Former Member
0 Likes
661

If u want to conver the Period '012006' into the date, Use T549A and T549Q tables to get the start date for the first period and similarly take the End date of the second period and use them to check for one yer range AT SELECTION SCREEN event.

There is no special logic or something else required to do this.Irrespective of screen you can use ..

Read only

Former Member
0 Likes
661

solved by own