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 Field in o/p as i/p field

Former Member
0 Kudos

Hi Friends,

I have Date field in o/p as i/p field.

I am reading this by using read line and updating this in internal table, but the date format is changing ..how to handle it.

e.g report o/p screeen...Date value 09.02.2007

if i use read line it becomes like this 09.02.20

How to handle this.

Thanks in advance.

Thanks and Regards,

Murali Krishna K

3 REPLIES 3

Former Member
0 Kudos

Increase the date field in the internal table to 10

Former Member
0 Kudos

Hi,

You might reading the date field from the List line into a 8 character field. try declaring the field as 10 byte field and transfer the list line date field into that variable.

regards,

Mahesh

Former Member
0 Kudos

date datatype can hold only 8 digits. If u want to display it with require format

Use the size as 10 (or)

write: /(10) date using edit mask '__.__.____'..

It work either way.

Cheers