2007 Apr 12 6:02 PM
How to split month,date and year from date field ? is there any standard function module.
2007 Apr 12 6:05 PM
You can do this.
data: year(4) type c,
month(2) type c,
day(2) type c.
year = sy-datum(4).
month = sy-datum+4(2).
day = sy-datum+6(2).
write:/ year.
write:/ month.
write:/ day.
Regards,
Rich Heilman
2007 Apr 12 6:05 PM
2007 Apr 12 6:08 PM
2007 Apr 12 6:11 PM
Try this FM:
HR_IN_GET_DATE_COMPONENTS
<i><b>
Points are always welcome!!</b></i>
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |