05-18-2010 9:28 PM
Hi;
i have an output in an ALV grid like this:
gt_fieldcat-seltext_l = 'Month'.
gt_fieldcat-fieldname = 'SPMON'.
gt_fieldcat-outputlen = 6.
gt_fieldcat-ref_tabname = 'talv'.
APPEND gt_fieldcat. CLEAR gt_fieldcat.
But the output displayed in the cell grid is "201001" first year and then month, if i use SE16 tcode and browse the SPMON field is displayed "01.2010" first month then year.
i don´t want to concatenate in a new field because i think that there is a way to display the SPMON field in ALV as in the browse in SE16 with the period.
I need to display like this "01.2010" first month then year.
Thanks on advance.
David Fúnez
Tegucigalpa, Honduras
05-18-2010 9:57 PM
Hi,
Use:
gt_fieldcat-edit_mask = '==PERI6'.
or
gt_fieldcat-edit_mask = '==PERI'.
Best regards,
Leandro Mengue
05-18-2010 9:57 PM
Hi,
Use:
gt_fieldcat-edit_mask = '==PERI6'.
or
gt_fieldcat-edit_mask = '==PERI'.
Best regards,
Leandro Mengue
05-18-2010 10:03 PM