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

filling data in a custom table

Former Member
0 Likes
7,939

hai i created a custom table with some fields, i want to enter the data in to the table , how can i do that, i mean should i write a modue pool and use transaction to fill data or can i use some other method to do that

regards

afzal

1 ACCEPTED SOLUTION
Read only

Former Member
4,431

in se11 itself click utilities->table content->create table entries.

else goto tcode se16.

u can maintain data in Sm30 also.

u can write module pool program & insert records in database also.Its based on ur requirement.

hai i created a custom table with some fields, i want to enter the data in to the table , how can i do that, i mean should i write a modue pool and use transaction to fill data or can i use some other method to do that

regards

afzal

6 REPLIES 6
Read only

Former Member
0 Likes
4,431

Hi Afzal,

Just goto SE16 and start creating entries. for this to work you should have checked table maintainence checkbox in attributes.

Regards,

Younus

<b>Reward Helpful Answers!!!!!</b>

Read only

0 Likes
4,431

Hello,

U can create a Table maintainence Generator for tht Table and then creste entries in it .

Table --> Utilities --> Table Maintenance Generator --> Create

Regards,

Deepu.K

Read only

Former Member
4,432

in se11 itself click utilities->table content->create table entries.

else goto tcode se16.

u can maintain data in Sm30 also.

u can write module pool program & insert records in database also.Its based on ur requirement.

Read only

Former Member
0 Likes
4,431

Create table maintenance for that table and u can maintain data

in SE11 give tablename and in menu utilities-->table maintenance generator

create that and maintain the data in SM30

Read only

Former Member
4,431

Hi,

Many ways to enter data in a table

1.

in se11..

go to utilities>table contents> create entries..

note: your Data Browser/Table View Main in delivery and maintainence tab should be Display maintaince allowed..

2.Go to SM30 create a maintainence view for this table. you can create , delete, maintain your data

3.create a program..

take an internal table of same structure like your ztable..

append data into your intertable

and

Modify ZTABLE from table itab.

rewards if useful

regards,

nazeer

Message was edited by:

nazeer shaik

Read only

Former Member
0 Likes
4,431

hi,

just go to se38 -> create a test pgm.

and do the pgm like this.

REPORT ztestreport .
 
DATA : BEGIN OF int OCCURS 0,
       client LIKE ztable-client,
       emp_name LIKE ztable-emp_name,
       emp_id LIKE ztable-emp_id,
       END OF int.
 
 
int-client = '501'.
int-emp_name = 'Test Data'.
int-emp_id = '0001'.
 
APPEND int.
 
INSERT ztable FROM TABLE int.
COMMIT WORK.

Regards

Reshma