Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

inserting data in ztable

Former Member
0 Likes
2,628

Hi Frd

I wants to insert data in ztable.can anyone tell me how to do that .

thanks

by

Pari

7 REPLIES 7
Read only

Former Member
0 Likes
1,320

Using Table Maintenance Generator

Go to SE11, give the table name and click on change. Then Go to utilities--> Table

maintenance generator.

In the table maintenance generator screen, we should give Authorization Group,

Function Group name (Function Group name can be same as table name),

Maintenance type can be one step or two step, usually we will create with one

step. we should give maintenance screen number. After clicking on create button,

a table maintenance generator will be created.

To check it go to SM30 . In SM30, we find display, Maintain options.

We can view the table contents by choosing Display and we can create table

entries by choosing Maintain.

Have a look at below link for more details:

[Table Maintenance|http://help.sap.com/saphelp_nw04/helpdata/en/67/86b0f5415811d1893d0000e8323c4f/frameset.htm]

I hope it helps.

Thanks,

Vibha

Please mark all the useful answers

Read only

Former Member
0 Likes
1,320

Hi,

Goto SE11

Provide the Ztable Name and Display.

Utilities->Tablecontents->create entries

If you want to insert multiple data then you can create

a maintenace view from sm30 or from SE11 utilities->generate table maintenace.

Check the link on step by step table maintenace creation

/people/sudheer.cheedella/blog/2006/02/20/extracting-data-in-table-maintenance

Regards,

Raj.

Read only

Former Member
0 Likes
1,320

Hi,Pari

You can use se16 to insert data directly,

or generate maintenance view in Se11,than input data in SM30.

Regars

Pole

Read only

asik_shameem
Active Contributor
0 Likes
1,320

Hi

Do in this way.

wa-name = 'DIAZ'.
wa-deptkey = 'HNR'.
wa-salary = 1250.

***************** INSERT*********************
insert into zemp_sal values wa.

if sy-subrc eq 0.
    write / 'record inserted successfully'.
else.
    write / 'record already exists'.
endif.

Read only

Former Member
0 Likes
1,320

Hi,

Go to SE16 tcode and give the ztable name and then click on create entries.pass the values in to the fileds and then click on save.

Regards,

Koti.

Read only

Former Member
0 Likes
1,320

Hi,

Just Check this:

Goto SE16N and give the table name for which you like to insert values.

After giving the table name goto Transaction &SAP_EDIT and press enter you will get a message like editing function is activated.

Now press execute and you can insert new values into your ZTABLE.

Think this is helpful.

Rwd if helpful.

Thanks.

Read only

Former Member
0 Likes
1,320

create table maintenance generator and do it from sm30...

regds