Can we use insert command with a where clause.
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'.
Thank u in advance.