Skip to Content
Former Member
Jul 26, 2006 at 02:45 PM

Insert a row in table


Hi All,

I am very new to ABAP. I have created a new table with fields 1. Client type mandt 2.Emp_Name 3. Emp_id.

I need to create a report to upload a set of values to this table.

My report is like this.


DATA : begin of z_jai,

client like zjaitable-client,

Emp_Name like zjaitable-emp_name,

Emp_Id like zjaitable-emp_id,

end of z_jai.

z_jai-client = '501'.

z_jai-Emp_Name = 'Mani'.

z_jai-Emp_Id = '0001'.

insert zjaitable from z_jai.

commit work.

But the code is not working. Can any one tell me where I am going wrong?

Thanks & Regards,

Jai Shankar.