Hi Guy's,
please suggest me i am working on ALV. for header inforamation of date field write the code like this
wa_header-typ = 'S'.
wa_header-key = 'Departure Date:'.
loop at spdatv.
if sy-tabix = 1.
lv_date = spdatv-low.
if spdatv-high <> space.
concatenate lv_date '-' spdatv-high into lv_date.
endif.
else.
concatenate lv_date ',' spdatv-low into lv_date.
if spdatv-high <> space.
concatenate lv_date '-' spdatv-high into lv_date.
endif.
endif.
endloop.
condense lv_date.
wa_header-info = lv_date.
append wa_header to it_header.
clear wa_header.
it is giving output 20010712-00000000.(entered only low value)
but i want user enter the values in selection screen low value comes like this 20010712.
how to work this senario.
Thanks,
Sai.