‎2006 Aug 12 9:21 AM
Dear All,
Which statement I have to use to insert a new record into SAP Standard Table.
Regards.
‎2006 Aug 12 9:22 AM
USe BAPIS or Direct Update FM's
Dont use direct update to SAP.
Which table you want to insert? and What data you want to insert??
VJ
Message was edited by: Vijayendra Rao
‎2006 Aug 12 9:24 AM
Hi,
you can use normal insert statement to do this . but if you want to insert records into standard SAP table , then use any FM or BAPI to add new records to the table.
syntax :
insert <DBtable> from <workarea>
insert <DBtable> from table <internal table>
Regards
Appana
‎2006 Aug 12 9:24 AM
You should use INSERT table
Refer this link
http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb3a6d358411d1829f0000e829fbfe/frameset.htm
Regds
Manohar
‎2006 Aug 12 11:22 AM
Hello Davabap
see the syntex and example.
syntax :
insert <DBtable> from <workarea>
insert <DBtable> from table <internal table>
e.g.
INSERT kna1 FROM TABLE itab ACCEPTING DUPLICATE KEYS.
Here itab has same structure as kna1.
‎2006 Aug 12 1:39 PM
The insert is not different from any other insert statement however, direct insert in SAP standard should be done only when none of the BAPI/FMs are helping you out. Standard BAPI/FMs does a lot of validations and your insert might not do all those validations.
hith
Sunil Achyut
‎2006 Aug 12 1:55 PM
hi
you can use the INSERT Statement..
INSERT <dbtable> FROM <wa>.
INSERT <dbtable> FROM TABLE <itab>.
Cheers,
Abdul Hakim
‎2006 Aug 12 4:56 PM
Proiorities
1) Check if transaction exists that will help you update the table.
2) Check Bapi/ FM which will be helpful in updating the table standard way.
3) Use modify command with by making internal table which is having same columns as of table.
4) Use native commands.
Hope this clarifies the issue. Please note this is as per my knowledge and understanding. Actual method may be different.
Geeta.
Note : Please reward points if it helps.