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: 

date format needs to be in selection screen mm/dd/yyyy but in alv output ..

Former Member
0 Kudos

hi

i need help on displaying date in alv output

date format needs to be in selection screen mm/dd/yyyy but in alv output ..it should be displayed as yyyymmdd

regards

Nishant

3 REPLIES 3

anversha_s
Active Contributor
0 Kudos

hi,

you are passing the value to ALv using an internal table.

so store the format YYYYMMDD date in the internal table and pass it to ALV.

use the below FM

DD/MM/YYYY -> YYYYMMDD

<b>CONVERSION_EXIT_PDATE_INPUT</b>

rgds

Anver

Former Member
0 Kudos

Hi,

Instead of the data type as d, use CHAR8 to display the date in the alv output..

In the selection-screen you will get the default date format for the user...If the user is set up for MM/DD/YYYY..You can enter only in this format...

Thanks,

Naren

Former Member
0 Kudos

answered