Application Development 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: 

Selection-Screen input

Former Member
0 Kudos

Hi all,

i'm working on report.

on selection screen i need to display month field i,e i need to take month from these fields

GSV01,GSV02,GSV03,GSV04,GSV05.....

if 01 means month should be april,

02 means month should be may,...

how to do this...

regards

Suprith

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Call F.M. 'MONTH_NAMES_GET' in Initialization event.

Search the forum with title 'to disply month on selection screen' and you will get the solution as you wanted.

Hope this is useful.

Regards,

Saba

Edited by: Saba Sayed on Oct 15, 2008 2:19 PM

4 REPLIES 4

Former Member
0 Kudos

Can u please explain ur requirement in detail?

Rhea.

0 Kudos

Hi rhea..

my requirement is..

i need to caluclate the total consumption per month based on previous month..

in mver table quentity fields are there

GSV01 means 01- april

GSV02 means 02- may..

in selection screen i need to give filed as month

if 01 user enters it will be april..

so on...

Former Member
0 Kudos

Hi,

Call F.M. 'MONTH_NAMES_GET' in Initialization event.

Search the forum with title 'to disply month on selection screen' and you will get the solution as you wanted.

Hope this is useful.

Regards,

Saba

Edited by: Saba Sayed on Oct 15, 2008 2:19 PM

Former Member
0 Kudos
PARAMETERS : p_quan like  ---- ,

             P_MONTH LIKE ----- modif id MQ1.

initialization.
loop at screen.

IF SCREEN-GROUP1 = 'MQ1'.
        SCREEN-INTENSIFIED = '1'.
        SCREEN-ACTIVE      = 1.
        SCREEN-DISPLAY_3D  = '1'.
        SCREEN-INPUT       = '0'.
        MODIFY SCREEN.

endif.
endloop.
at selection-screen.

at selection-screen output.

loop at screen.

IF SCREEN-GROUP1 = 'MQ1'.
        SCREEN-INTENSIFIED = '1'.
        SCREEN-ACTIVE      = 1.
        SCREEN-DISPLAY_3D  = '1'.
        SCREEN-INPUT       = '0'.
        MODIFY SCREEN.

endif.
endloop.
CASE P_QUAN:
     0:
P_MONTH = 'APRIL'.
 ----------SO ON.

Hope it is helpful.

Rhea.