Skip to Content
0
Former Member
May 18, 2010 at 08:28 PM

S509-SPMON period in ALV

149 Views

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