Skip to Content
0
Former Member
Oct 16, 2006 at 09:43 AM

Comma without preceding colon (after SELECT ?)

1569 Views

Hi,

I'm rather new to ABAP and only know some basics, and I ran into an error that I can't solve, must be something stupid:

The error is: Comma without preceding colon (after SELECT ?)

and this is the code that seems to cause this error:

LOOP AT i_itm1_c.

SELECT * FROM /bic/al_itm700 INTO wa_t_data

WHERE

/bic/al_itm700-/bic/l_docnr

LIKE /bic/al_itm1c00-/bic/l_docnr,

/bic/al_itm700-bic/l_posnr

like /bic/al_itm1c00-/bic/l_posnr,

/bic/al_itm700-/bic/yl_kcrdat

like /bic/al_itm1c00-/bic/yl_kcrdat,

/bic/sourcesys like /bic/al_itm1c00-/bic/sourcesys.

wa_t_data-recordmode = ''.

  • MOVE-CORRESPONDING wa_t_data TO e_t_data.

MOVE:

wa_t_data-/bic/l_docnr TO e_t_data-/bic/ydoc_numb,

wa_t_data-/bic/l_posnr TO e_t_data-/bic/yl_count,

wa_t_data-/bic/sourcesys TO e_t_data-/bic/sourcesys.

APPEND e_t_data.

ENDSELECT.

ENDLOOP.

Any ideas on what can be wrong here? points awarded of course!

thanks!