Skip to Content
0
Former Member
Sep 30, 2009 at 07:52 PM

How to display date field in ALV in format 'YYYY-MM-DD'?

2700 Views

Hi experts,

I am not getting displayed the date field in ALV in the format 'YYYY-MM-DD' if it is different than my user setting's format (DD.MM.YYYY).

Tried with the edit mask

LVC_S_FCAT-EDIT_MASK = '____-__-__' but it does not work.

I could not find the conversion routine for this. Is it possible to write customer conversion routine?

I have to use DATE field, otherwise if I display this format in CHAR10 field , sorting in ALV does not work for this field.

PLEASE ANY HELP!

Kind regards,

Danijela