‎2009 May 21 1:22 PM
Hi experts,
How to insert data into database table using internal table from function module.
‎2009 May 21 1:36 PM
Hi,
As per my understanding are you looking for the complete API feature of data insertion into the database using the Locking Mechanism? If yes, then you need to create a Lock Object using the Primary keys of the Primary Table and Secondary Tables. You need to call the lock object first and then you need to make the entry into the table. This principle is based on 'All or None Concept'.
For the insert Statement Key word you can have a look at the following link:
http://help.sap.com/abapdocu/en/ABAPINSERT_SOURCE.htm
Hope this helps.
Thanks,
Samantak.
‎2009 May 21 1:26 PM
hi,
Use INSERT command to upload data into database table. Use F1 to explore more options
regards
Mudit
‎2009 May 21 1:26 PM
hai ,
in function module also use the insert statement
same as u do normaly
afzal
‎2009 May 21 1:26 PM
Hi,
You have an ABAP statement for this. Please use the below statement for your requirement.
INSERT dbtab FROM TABLE itab.Thanks,
Vinay
‎2009 May 21 1:36 PM
Hi,
As per my understanding are you looking for the complete API feature of data insertion into the database using the Locking Mechanism? If yes, then you need to create a Lock Object using the Primary keys of the Primary Table and Secondary Tables. You need to call the lock object first and then you need to make the entry into the table. This principle is based on 'All or None Concept'.
For the insert Statement Key word you can have a look at the following link:
http://help.sap.com/abapdocu/en/ABAPINSERT_SOURCE.htm
Hope this helps.
Thanks,
Samantak.