cancel
Showing results for 
Search instead for 
Did you mean: 

month as select options

Former Member
0 Kudos

hi

i am working on ER1 report and i want to give MONTHS as SELECT-OPTIONS

Reoprt should display on monthly basis.

Guide me.

Accepted Solutions (1)

Accepted Solutions (1)

gopi_narendra
Active Contributor
0 Kudos

Check this sample for month.

TABLES : t71cb.
SELECT-OPTIONS : so_effmo FOR t71cb-effmo.

Once you get the data into your internal table.

Sort itab by monat and then display the output.

Regards

Gopi

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Declare

Tables : T015M

select-options : s_month for T015M-monam

try this

Regards

Shiva

Former Member
0 Kudos

hi

i have to select data frm table J_1IEXCDTL which does not have FIELD for MONTH , from this i can select data on basis of DATE only

Former Member
0 Kudos

Hi Sachin,

Declare p_month in selection screen as month field ,select the records where p_month eq J_1IEXCDTL-date+4(2) .

I think this will solve your problem.

Reward if useful.

Sastry.

Former Member
0 Kudos

hi sachin

try this

select-options : s_month(2) type c.

AT SELECTION-SCREEN ON s_month

if not s_month BETWEEN '01' AND '12'.

ERRROR MESSAGE

ENDIF.