cancel
Showing results for 
Search instead for 
Did you mean: 

CHANGING DATE FORMAT IN SCRIPT

Former Member
0 Kudos

Dear Friends

in sap check printing the prest date format was 19.09.2008(dd.mm.yyyy) i used &REGUH_ZALDT&

but i want in 19 .09.08(dd.mm.yyyy) bcz in standard check given by bank it was alredy *20 * was thar

PLZ GUIDE ME

<MOVED BY MODERATOR TO THE CORRECT FORUM>

Edited by: Alvaro Tejada Galindo on Sep 19, 2008 5:18 PM

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Shanthi,

Just try it once:

/: SET DATE MASK = 'DD.MM. YY'

P1 &FEBSCA-BUDTM&

And let me know, whether it works or not.

Regards,

Nitin.

Former Member
0 Kudos

Hi Shanthi,

Just try with the following:

/: SET DATE MASK = 'DD.MM. YY' .

Hope this will work.

Regards,

Nitin.

Edited by: Nitin Karamchandani on Sep 19, 2008 2:34 PM

Former Member
0 Kudos

hi Nihin,

ima trying with &FEBSCA-BUDTM(10)& it will help full r not

Former Member
0 Kudos

Hi Shanthi,

Use the following:

/: SET DATE MASK = 'date_mask'

In the date mask, you can use the following codes:

u2022 DD: day (two digits)

u2022 DDD: day name - abbreviated

u2022 DDDD: day name - written out in full

u2022 MM: month (two digits)

u2022 MMM: month name - abbreviated

u2022 MMMM: month name - written out in full

u2022 YY: year (two digits)

u2022 YYYY: year (four digits)

u2022 LD: day (formatted as for the L option)

u2022 LM: month (formatted as for the L option)

u2022 LY: year (formatted as for the L option)

All other characters found in a date mask are interpreted as simple text and are copied straight into the output.

Assuming the current system date is March 1st, 1997.

/: SET DATE MASK = 'Foster City, MM/DD/YY'

&DATE& -> Foster City, 03/01/97

/: SET DATE MASK = 'MMMM DD, YYYY'

&DATE& -> March 01, 1997

The date mask may be reset to the default setting by using an empty string:

/: SET DATE MASK = ' '

Hope this will help.

Regards,

Nitin.

Former Member
0 Kudos

HI Nithin ,

i want 19.09. 08 this format in AXES bank check printing date plz explain which is sutable

Former Member
0 Kudos

Hi Shanti,

Use SET DATE to set the date formats.


/: SET DATE MASK = 'DD.MM.YY'

Thanks,

Vinay

Former Member
0 Kudos

what to change it

Former Member
0 Kudos

Hi vinay

whar to use this line