Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Display date in ALV list as dd.mm.yyyy

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

gopi_narendra
Active Contributor
0 Kudos

Use the FM for Conversion :CONVERSION_EXIT_PDATE_OUTPUT

Regards

Gopi

4 REPLIES 4

gopi_narendra
Active Contributor
0 Kudos

Use the FM for Conversion :CONVERSION_EXIT_PDATE_OUTPUT

Regards

Gopi

rainer_hbenthal
Active Contributor
0 Kudos

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

former_member195698
Active Contributor
0 Kudos

Hi,

Try using the Function Module 'CONVERT_DATE_TO_EXTERNAL'

Regards,

Abhishek Jolly

Former Member
0 Kudos

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