Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Syntax problem

DATA : BEGIN OF IT_TAB occurs 0,

INTERFACE(50) TYPE c,

COUNTER(10) TYPE n,

END OF IT_TAB.

DATA : IT_TAB1 LIKE IT_TAB OCCURS 0 WITH HEADER LINE.

SELECT interface counter

INTO it_tab

FROM /insfoo/cu_COUTBL.

append it_tab.

ENDSELECT.

COLLECT it_tab into it_tab1.

Collect statment is not working ..

Itab values are as follow..

<b>interface counter</b>

field1 12

field1 14

field1 13

I need the it_tab1 as field1 39

Any help would be appreciated..

thanks in advance..

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question