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

selection-screen fields in output.

Former Member
0 Likes
459

hi experts,

i have one requirement.

here i am giving some values in parameters(upto 12).

PARAMETERS:

apr LIKE sy-datum MODIF ID 1yr,

may LIKE sy-datum MODIF ID 1yr,

jun LIKE sy-datum MODIF ID 1yr,

jul LIKE sy-datum MODIF ID 1yr,

aug LIKE sy-datum MODIF ID 1yr,

sep LIKE sy-datum MODIF ID 1yr,

oct LIKE sy-datum MODIF ID 1yr,

nov LIKE sy-datum MODIF ID 1yr,

dec LIKE sy-datum MODIF ID 1yr,

JAN LIKE sy-datum MODIF ID 1yr,

FEB LIKE sy-datum MODIF ID 1yr,

MAR LIKE sy-datum MODIF ID 1yr.

SELECTION-SCREEN:END OF BLOCK 1yr.

DATA: BEGIN OF it_display OCCURS 0,

month(4) TYPE c, "month

year(2) TYPE n, "year

totalemp(4) TYPE n VALUE 0, "total

esiwage TYPE pc207-betrg,

empesi LIKE pc207-betrg,

empyresi LIKE pc207-betrg,

total LIKE pc207-betrg,

paydate LIKE sy-datum,

END OF it_display.

i am having itab with 8 fields. the last field is date.

for this field i have to get data from selection-screen.

Some of these fileds i require in the output. Not all the 12 months .....dates ..with respect to the output...

if output is coming for 3 months jan, feb, mar.

then i have to pass to move the dates to 3 months(jan feb mar) (payment of esi).

Message was edited by:

dasr r

Message was edited by:

dasr r

Message was edited by:

dasr r

Message was edited by:

dasr r

2 REPLIES 2
Read only

anversha_s
Active Contributor
0 Likes
425

hi,

do the necesseray validations in this event and make the parameters visible and invisible.

<b>At selection-screen output</b> : triggered when the selection screen is loaded in memory before being displayed.

Regrds

Anversha

Read only

Former Member
0 Likes
425

Can you be a bit more clear

Do you want to hide the month fields on selection-screen or are you looking to filter values according to the values entered in the SS

Santhosh