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

Table for enter record

Former Member
0 Likes
756

Hi all.

How to create a table in abap for user to enter information? Let say the user gt 10 records to enter at one shot. Later these record is save in a database after click on the save button.

Any code for reference

6 REPLIES 6
Read only

Former Member
0 Likes
711

use table maintenance generator to let the user input the data.

Use tcode sm30 to achieve the same.

regards,

vijay.

Read only

0 Likes
711

Is there anyway that i can create this table in my program for user to enter the record?

Read only

0 Likes
711

create the table from the program :? No its not possible .

im not clear on ur correct requirement.

regards,

Vijay

Read only

0 Likes
711

Gary,

GO TO SE11

CREATE A DOMAIN,DATAELEMENT AND A ZTABLE CORRESPONDING TO THAT.

As said in the previous thread you can create a table maintenance generator and give the user access to say enter the data through that.

If you want to do it through program first create a Ztable as said above and use update statement in the prorgram to update this ztable.I mean to create a selection screen with all the necessary fields and fill the internal table first and then use this internal table to update the ztable.For more on this,use the keyword UPDATE in SDN search you will be able to get tons of info.

K.Kiran.

Read only

Former Member
0 Likes
711

hi ,

first of all u create a table in data dictionary using se11 transactiocode.

and then design a screen in screen painter using se51 transacation code. in that screen u can provide the table control and one push button.

in table control u can enter 10 records or more tahn 10 records at on shot.

in PAI write the logic for saving button

when 'saving'.

insert table name.

i tihnk this is usefull to u

if it is usefull to don't forgot reward points.

Read only

0 Likes
711

Can i bind a column of the table to a dropdown?

Actually i intended to hav the similar function like the SE11, view, selection criteria tab.

Below is the table of the selection criteria

Table | Fieldname | Operator | Comparsion Value | And/Or

U enter the table name, the fieldname column will hav all the field found in the table in a dropdown. User can just select a field from the dropdown.

Can the table control do it?