Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Insert Query

hi,

am creating a Function Module,

i just want to insert a record into my ZTABLE through SE37.

No Internal table or work area is used.

I couldn't frame out the inert query properly..

Can any one please help me by providing possible insert query.

Thanks.

Tags:
Former Member
Former Member replied

Hi..,

You have to use work area in your source code of your function module, If you dont want declare it in parameters..

data: wa type ztable.
wa-f1 = 'a'.
wa-f2 = 'b'.
wa-f3 = 'c'.
\\\\\\\
insert into ztable values wa.

here a, b, c are either importing parameters or entries which you fetched from other table with where condition of ur import parameter.

Thanks,

Naveen.I

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question