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

Abap Code to Insert Data into Ztable

former_member622718
Participant
0 Likes
1,449

i have created table for user id lock and validity records purpose, i am from basis background.

how to write a report where i will enter user id and lock reason and validity reason and execute.

entered data in report should be in ztable ..

6 REPLIES 6
Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
0 Likes
1,371

Hi manoj16393

The easiest way would be to generate table maintenance dialog. Then you'll be able to maintain the content of your table with SM30 transaction.

See SAP Help for details: BC - Generate Table Maintenance Dialog

Best regards

Dominik Tylczynski

Read only

0 Likes
1,371

i want report where in output i will enter data which should get inserted into table,

i will create tcode where it should ask to enter data.. logic for that please

Read only

1,371

Table maintenance dialog and SM30 transaction will do just that.

Read only

0 Likes
1,371

then its not necessary to write code ??

but i want to write code for that.

Read only

0 Likes
1,371

If you go with SM30 and table maintenance generator, then you don't need to write any code. And you'll get all the nice stuff - automatic link to transportation system if your table is a configuration one, log of content changes if log is activated, consistent user experience, etc.

Otherwise you'll have to implement that all by hand in ABAP. If you really want to do that, start with reviewing SAP Help on: Open SQL - Write Accesses

Read only

matt
Active Contributor
1,371

Hire a developer?