10-06-2008 6:29 AM
Hi Experts,
I wana display the stock of the current month plus future 3 months in ALV grid.The month names should be in words n not numbers.Eg:May for 5 etc.
Plz help me out in finding out the function module to do the same.
10-06-2008 6:34 AM
hi..
The table T015M will give u the month name as per the number of month. This might help u bit..
or FM HR_RU_MONTH_NAME_IN_GENITIVE to do the same.
To get the next month:
OIL_GET_NEXT_MONTH
regards,
Padma
Edited by: Padmashree RamMaghenthar on Oct 6, 2008 11:06 AM
Edited by: Padmashree RamMaghenthar on Oct 6, 2008 11:09 AM
10-06-2008 6:34 AM
hi..
The table T015M will give u the month name as per the number of month. This might help u bit..
or FM HR_RU_MONTH_NAME_IN_GENITIVE to do the same.
To get the next month:
OIL_GET_NEXT_MONTH
regards,
Padma
Edited by: Padmashree RamMaghenthar on Oct 6, 2008 11:06 AM
Edited by: Padmashree RamMaghenthar on Oct 6, 2008 11:09 AM
10-06-2008 6:38 AM
10-06-2008 6:38 AM
10-06-2008 6:43 AM
Hi,
Try like this....
select SINGLE * from T247 into lv_desc where mnr = lv_month
AND SPRAS = sy-langu.
Or
Use this FM
MONTH_NAMES_GET
Hope it will helps