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

in alv date display problem

Former Member
0 Likes
2,013

Hi Experts,

i am displaying ALV output with date field(editable).

if the date field is initial it is displaying as zero's like 0000000.

if it is initial it will display as blank.

can u please help me

Thanks,

sai

Hi Experts,

i am displaying ALV output with date field(editable).

if the date field is initial it is displaying as zero's like 0000000.

if it is initial it will display as blank.

can u please help me

Thanks,

sai

6 REPLIES 6
Read only

Former Member
0 Likes
1,304

Hi Sai,

Declare that date field as the charecter format(CHAR8). so that it will come as the blank.

otherwise it comes in 0000000 format only.

Thanks!

Read only

0 Likes
1,304

Hi Sai,

If you give the DATS...

the initial value of DATS always be the 0000000.

so give the CHAR8.

The initial value would be space.

that is you query right ....showing the space when date is initial......

Thanks!

Read only

Former Member
0 Likes
1,304

Hi prasanth,

thank u for ur reply.

i declared this field as DATS.........

so u want say DATS is giving problem.........

Thanks

sai

Read only

tarangini_katta
Active Contributor
0 Likes
1,304

hi sai,

try to use data type SY-DATUm.

then i think it wont show u the 000000000.

Thanks

Read only

Former Member
0 Likes
1,304

hI Taragini,

i tryied by using sy-datum.still it is showing 00000000.

Thanks,

Sai

Read only

Former Member
0 Likes
1,304

Thank u guys.

my problem got solved by passing ref table and field name and f4availabl = 'x' to my fieldcatalog.

Thank u.

sai