‎2013 Jan 24 7:27 AM
Dears,
I am facing some issues while generating some outputs in SAP Script which related to F.62 transaction. Though I have completed the requirement but after generating the output the date format are coming different for different documents.
These all documents belongs to the country USA. and the for this fomat is maintained in the system is DD/MM/YYYY.
But after generating the output in SAP Script, it comes with diffrenet format like DD.MM.YYYY for some documents.
For e.g,
SY-DATUM 01/24/2013 with one doucment
BLDAT 12/22/2012
SY-DATUM 24.01.2013 with another document
BLDAT 01.10.2012
Kindly advise me with proper solutions.
Thanks in advance,
Shreya
‎2013 Jan 24 8:19 AM
Hi,
"SET DATE MASK" has been used for displaying above date formats .
so please check is different Masking used for displaying BLDAT ?
How to Used SET DATE MASK find below link .
http://help.sap.com/saphelp_40b/helpdata/en/d1/8031dd454211d189710000e8322d00/content.htm
Regard's
Smruti
‎2013 Jan 24 8:21 AM
HI Shreya,
try like this,
just before ur variable in sapscript.
/: SET DATE MASK = 'DD.MM.YYYY'.
the next line contains ur date variable.similarly u can use this any place.
lastly see this,
http://help.sap.com/abapdocu_70/en/ABENCOUNTRY_FORMATS.htm
There are many wiki help also.
search please.
Hope It helps.
Thanks
Gourav.