2006 Sep 19 12:30 PM
hi
i wrote message before but i was not clear.
i look for search help standard for month
thanks
have a nice day
hi
i wrote message before but i was not clear.
i look for search help standard for month
thanks
have a nice day
2006 Sep 19 12:33 PM
There is no SAP Standard search help to get a week.But you can use the FM "DATE_GET_WEEK" to get the week on the basis of the date entered on the screen.You can also try the FM GET_WEEK_INFO_BASED_ON_DATE FOR THIS PURPOSE.
2006 Sep 19 12:37 PM
You can have a look at this code :
data: lv_monday like sy-datum,
lv_sunday like sy-datum.
call function 'GET_WEEK_INFO_BASED_ON_DATE'
exporting
date = s_date-low
importing
monday = lv_monday
sunday = lv_sunday.
2006 Sep 19 12:53 PM
if you need a matchcode for MONTH, try this
<b>
&----
*& Report ZPMR0041_TEST *
*& *
&----
*& *
*& *
&----
REPORT ZPMR0041_TEST .
INCLUDE rmcs0f0m. " parameter month/year
parameters: p_spmono(7).
Matchcode to field month/year.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_spmono.
PERFORM monat_f4.
</b>
Alexandre