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

ALV date format problem

Former Member
0 Likes
1,259

Hi ,

I Created an ALV report in that I am getting the sales order details... and once I get the list I am moving to excel sheet ...

Once I moved to excel sheet by creating the layout , I am getting DAT colums as 00.00.0000 if the cell is empty.. how to avoide this ....

3 REPLIES 3
Read only

Former Member
0 Likes
940

what needs to be done is before moving to excel sheet, take a Char type for the field and move the date to this char type. If no date move space.

Read only

Former Member
0 Likes
940

Try with NO_ZERO = 'X'. for the Date field in the fieldcatalog.

I am not sure of this , Give a try once.

Read only

Former Member
0 Likes
940

Initial value for a date field is 00000000 that's why u r getting 00.00.0000 when the field is empty. If u want blank for this then use data type CHAR instead of DAT.