Archive

Posts Tagged ‘error’

Type conflict #1

July 14th, 2009

If you assign a field symbols with STANDARD TABLE type, you should never declare the reference with header line cause it will give you error.

WRONG:
DATA: ITAB LIKE BSID OCCURS 0 WITH HEADER LINE.
FIELD-SYMBOLS: <F> TYPE STANDARD TABLE.

It will give error when you do this:
ASSIGN (’ITAB’) TO <F> .

CORRECT:
DATA: ITAB LIKE BSID OCCURS 0.

vera ABAP , ,