2007 Mar 19 10:40 AM
i need to convert the date to start date
eg: if i get date from d.b table as 25.8.2005, then i need to transilate to 1.8.2005 by which f.m i can solve this issue.
2007 Mar 19 10:47 AM
use the fm
HR_JP_MONTH_BEGIN_END_DATE
and pass ur date, u wil get both start date and end date of that month
Instead, split the date into character variables and initialize day to '1' for the same month.
2007 Mar 19 10:43 AM
i think no fm is there do like this.
data : vdate like sy-datum.
concatenate dbdate(6) '01' into vdate.
now your vdate contains the data
regards
shiba dutta
2007 Mar 19 10:43 AM
Hi,
Take the Month, Year from the Date by offsetting and use concatenation with
Year month '01' into a fresh date.
Or so many fun modules to get the first day of a month.
Regards,
Anji
2007 Mar 19 10:43 AM
Instead, split the date into character variables and initialize day to '1' for the same month.
2007 Mar 19 10:46 AM
data : v_date(10) value '25.08.2005',
v_start(10).
concatenate '01' v_date+2(8) into v_start.
write : / v_start.Message was edited by:
Chandrasekhar Jagarlamudi
2007 Mar 19 10:47 AM
use the fm
HR_JP_MONTH_BEGIN_END_DATE
and pass ur date, u wil get both start date and end date of that month
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |