‎2009 Apr 20 9:44 AM
I am printing delivery date for each line item,for the first line item date is printing properly, for the second line item it's giving different format.i maintained date format in user profiles as dd.mm.yyyy.
for the first line item---dd.mm.yyyy.
for 2nd line item---dd/mm/yyyy.
i want to print 2 nd line as fist line item date.
Thanx In advance
‎2009 Apr 20 9:51 AM
‎2009 Apr 20 10:04 AM
Hi,
It is better to convert date into your required format using SET DATE MASK command by put a program lines node before displaying the date value.
‎2009 Apr 20 10:14 AM
Hi,
You can use set date mask, refer this:
http://help.sap.com/saphelp_nw04/helpdata/en/d1/803508454211d189710000e8322d00/frameset.htm
Hope it helps
Regards
Mansi
‎2009 Apr 20 10:18 AM
‎2009 Apr 20 10:22 AM
Hi ,
please refer to the following code.
Using Function modules
************************
data: gd_date(8). "field to store output date
Converts date from 20010901 to 01SEP2001
gd_date = sy-datum.
CALL FUNCTION 'CONVERSION_EXIT_IDATE_OUTPUT'
EXPORTING
input = gd_date
IMPORTING
OUTPUT = gd_date.
Hope this is helpful to u.
Warm Regards,
Srilu.