Application Development and Automation 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: 
Read only

Display date in ALV list as dd.mm.yyyy

Former Member
0 Kudos
1,060

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
Read only

gopi_narendra
Active Contributor
0 Kudos
598

Use the FM for Conversion :CONVERSION_EXIT_PDATE_OUTPUT

Regards

Gopi

4 REPLIES 4
Read only

gopi_narendra
Active Contributor
0 Kudos
599

Use the FM for Conversion :CONVERSION_EXIT_PDATE_OUTPUT

Regards

Gopi

Read only

rainer_hbenthal
Active Contributor
0 Kudos
598

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

Read only

former_member195698
Active Contributor
0 Kudos
598

Hi,

Try using the Function Module 'CONVERT_DATE_TO_EXTERNAL'

Regards,

Abhishek Jolly

Read only

Former Member
0 Kudos
598

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