Skip to Content
0
Former Member
Aug 23, 2007 at 06:42 AM

some problems about ALV

9 Views

hi everyone:

I have a problem about ALV. The question is I want to show two headers in the gt_item .(Hierachy)

I want to use these in the event "change_fieldcatlog"

LOOP AT I_FIELDCAT.

CASE I_FIELDCAT-FIELDNAME

WHEN 'MESSWERT'.

I_FIELDCAT-ROW_POS = 1.

I_FIELDCAT-SEL_L = '1111'.

I_FIELDCAT-SEL_M = '1111'.

I_FIELDCAT-SEL_S = '1111'.

APPEND I_FIELDCAT.

so I want to add another label in the next row. but I write like this below , it doesn't work .

I_FIELDCAT-ROW_POS = 2

I_FIELDCAT-SEL_L = text-004.

I_FIELDCAT-SEL_M = text-004.

I_FIELDCAT-SEL_S = text-004.

APPEND I_FIELDCAT

ENDCASE.

ENDLOOP.

So who can help me ?

thank you in advacne .

Regards

Nick