11-09-2007 6:52 AM
Currently iam getting yyyymmdd but i want to display it in the ALV list as dd.mm.yyyy can anyone help me how to do it
Thank you
11-09-2007 6:54 AM
Use the FM for Conversion :CONVERSION_EXIT_PDATE_OUTPUT
Regards
Gopi
11-09-2007 6:54 AM
Use the FM for Conversion :CONVERSION_EXIT_PDATE_OUTPUT
Regards
Gopi
11-09-2007 6:56 AM
If the variavle is of type <b>d</b> the system will automatically convert this format to the settings in your user parameter. If the alv does not do it, i guess tis is not of type d.
First check your user setting Transaction SU3, defualts.
Then check the type of the variable. If you can, change that to D.
If type change is not possible, then you have to convert the date yourself, eg with string operations or with
write x to y dd/mm/yyyy.
Do not rewards points, i dont need those
11-09-2007 6:58 AM
Hi,
Try using the Function Module 'CONVERT_DATE_TO_EXTERNAL'
Regards,
Abhishek Jolly
11-09-2007 7:14 AM
hi
Before passing your date field to the ALV display..
change the format of the alv date using
WRITE date to new_date USING EDIT MAST '__.__.____' .
Modify the table and pass to Alv output .
Or for the date field include the Conversion exit in the fieldcatalog .
It will take care .
Hope it helps .
Praveen