Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Appending -FIELD Symbols

Former Member
0 Kudos

Hi,

I am confused with append statement when using field symbols.

When I use append <WA1> to t_FINAL. it throws an error saying T_FINAL is not an internal table "OCCURS N" is missing..

I cannot use occurs statement because I am doing OO ABAP.ANy ideas?

FIELD-SYMBOLS <wa> LIKE LINE OF bookmk.
FIELD-SYMBOLS <wa1> LIKE LINE OF bookmk.



LOOP AT T_ITAB ASSIGNING <wa>.

  SEARCH <wa>-url FOR '&XYZZZ'.

  IF sy-subrc IS  INITIAL.

    ASSIGN  t_FINAL TO <wa1>.

    MOVE-CORRESPONDING <wa> TO <wa1>.

  ****???????append <WA1> to t_FINAL.


  ENDIF.

ENDLOOP.

3 REPLIES 3

Former Member
0 Kudos

Hi,

Please check whether T_FINAL is declared as an internal table.

THanks

Naren

Former Member
0 Kudos

Have a look at the help for TYPE STANDARD TABLE OF....

former_member156446
Active Contributor
0 Kudos

Hi there..

FIELD-SYMBOLS <wa> LIKE LINE OF bookmk.
FIELD-SYMBOLS <wa1> LIKE LINE OF bookmk.

datA: it_final type standard table of bookmk."<<<use this table decl