10-15-2008 1:05 PM
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
10-15-2008 1:11 PM
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
10-15-2008 1:07 PM
10-15-2008 1:10 PM
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...
10-15-2008 1:11 PM
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
10-15-2008 1:19 PM
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.