Skip to Content
0
Former Member
Nov 04, 2009 at 07:26 AM

save data in tables through function module

616 Views

Hi experts,

I have a query to insert data into table through function module and when press save it save the data in table.

I have created a function module se37. In import parameters i have written:

it_tab type ztable.

then in tables tab i have written

it_table1 like ztable

Now in source code tab

i have written

CASE SY-UCOMM.

WHEN 'SAVE'.

MODIFY IT_TABLE1 FROM it_tab.

APPEND IT_TABLE1.

ENDCASE.

After execute it then it show the blank parameter of ztable.

after click on save button on menu it save to database.

Please help

Thanks in advance.

Vipul