2007 Apr 20 3:07 PM
Hi,
I need to create a new customer exit variable that defaults to the current month/year in the format mm/yyyy. It should be be a mandatory, single value entry. Any help would be greatly appreciated. Thanks!
2007 Apr 20 3:12 PM
Hi
Where do you need to do it?
Anyway:
DATA: PERIOD(7) TYPE C.
WRITE: SY-DATUM+4(2) TO PERIOD(2),
'/', TO PERIOD+2(1),
SY-DATUM(4) TO PERIOD+3(4).Max
Hi,
I need to create a new customer exit variable that defaults to the current month/year in the format mm/yyyy. It should be be a mandatory, single value entry. Any help would be greatly appreciated. Thanks!
2007 Apr 20 3:12 PM
Hi
Where do you need to do it?
Anyway:
DATA: PERIOD(7) TYPE C.
WRITE: SY-DATUM+4(2) TO PERIOD(2),
'/', TO PERIOD+2(1),
SY-DATUM(4) TO PERIOD+3(4).Max
2007 Apr 20 3:42 PM
I don't really follow what you mean when you say 'Where do I need it'? I tried to assign you points, but I got an error message. I will retry. Thanks for your help and quick response!
2007 Apr 20 4:07 PM
Hi
Excuse me: 'Where do you need it' means in which exit you've to place it.
Max
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |