2007 Oct 07 6:22 PM
im trying to self-study sapscript. i have date mask issue.
this is the code:
http://i150.photobucket.com/albums/s116/painkiller2007/SAP/sapscript002.jpg
this is the result:
http://i150.photobucket.com/albums/s116/painkiller2007/SAP/sapscript001.jpg
why do i get xx/xx/xxxx instead of the normal date? when i try the sy-datum on a program it works normal. <b>pls help. thanks. </b>
2007 Oct 07 8:11 PM
Hi
Remove TODAY IS from the field and use
SET DATE MASK = 'MMMM DD, YYYY'
this will print March 01, 2007
So use
SET DATE MASK = 'MM/DD/YYYY'
SET TIME MASK = 'HH:MM:SS'
You will get the Required Output
Regards
Anji
im trying to self-study sapscript. i have date mask issue.
this is the code:
http://i150.photobucket.com/albums/s116/painkiller2007/SAP/sapscript002.jpg
this is the result:
http://i150.photobucket.com/albums/s116/painkiller2007/SAP/sapscript001.jpg
why do i get xx/xx/xxxx instead of the normal date? when i try the sy-datum on a program it works normal. <b>pls help. thanks. </b>
2007 Oct 07 6:31 PM
I just found out the same thing is happening when i use the time. below is the code:
__________________
SET DATE MASK = 'TODAY IS MM/DD/YYYY'
SET TIME MASK = 'HH:MM:SS'
&DATE&
&TIME&
2007 Oct 07 8:11 PM
Hi
Remove TODAY IS from the field and use
SET DATE MASK = 'MMMM DD, YYYY'
this will print March 01, 2007
So use
SET DATE MASK = 'MM/DD/YYYY'
SET TIME MASK = 'HH:MM:SS'
You will get the Required Output
Regards
Anji
2007 Oct 07 8:14 PM
<b>Anji</b>, it did not work.
do you think it is because im doing only a PRINT PREVIEW?
2007 Oct 07 8:31 PM
Hi
Where you are using this actually?
In which script are you using this?
It will work hundred percent...
Something wrong in your execution...
Reward if useful
Regards
Anji
2007 Oct 07 8:32 PM
ok i got. it is because of the print preview on the form itself. when you do print preview in the program, it works ok. <b>thanks Anji for the help. I gave points!</b>
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |