Skip to Content
0
May 07, 2009 at 07:16 AM

Can we use insert command with a where clause.

2387 Views

Hi

I am trying to insert data from a work area into an internal table using a where condition.

And facing a error in using this .the error says :

".", "INDEX numlike-field", "ASSIGNING <fs>", "REFERENCE INTO

data-reference", or "ASSIGNING <fs> CASTING" expected after "IT_SCARR".

my code is:

insert wa_scarr into table it_scarr where it-scarr-carrid = 'AA'.

please help.

Thank u in advance.

Regards.

Abhinandan.