‎2007 Sep 22 4:45 AM
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
‎2007 Sep 22 4:47 AM
use table maintenance generator to let the user input the data.
Use tcode sm30 to achieve the same.
regards,
vijay.
‎2007 Sep 22 4:49 AM
Is there anyway that i can create this table in my program for user to enter the record?
‎2007 Sep 22 4:51 AM
create the table from the program :? No its not possible .
im not clear on ur correct requirement.
regards,
Vijay
‎2007 Sep 22 4:53 AM
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.
‎2007 Sep 22 5:07 AM
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.
‎2007 Sep 22 5:29 AM
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?