‎2006 Jun 20 10:02 AM
HI All,
Is there any FM for Insert and modify tables?
Thanks,
Rayeez
‎2006 Jun 20 10:05 AM
Hi,
There is no generic function module that will insert / update specific tables. And more over that should not be done in case of standard tables.
For custom tables, you will have to write your own.
Regards,
Ravi
‎2006 Jun 20 10:11 AM
there is no any fm ...
u have to use technices for data base upload. like bdc,bapi or lsmw.
‎2006 Jun 20 10:12 AM
Hi rayeezuddin,
1. Is there any FM for Insert and modify tables?
No, there is no such generic FM.
2. We can use MODIFY statement for such purpose.
eg.
loop at itab.
MODIFY DBTAB FROM ITAB.
endloop.
3. Based upon the primary key values,
it will AUTOMATICALLY
INSERT (if no matching record found)
EDIT (if matching record found)
in to the database table.
regards,
amit m.
‎2006 Jun 20 10:14 AM
Hi,
Have a look at the foll FM:
COC2_TABLE_INSERT_DB
U need not use FM for updating or inserting..
You can use insert or modify statement for that..
Regards,
Tanveer.
<b>Please mark helpful answers</b>
‎2006 Jun 20 10:19 AM
hi
use insert dbtab from itab.
or modify dbtab from itab.
Reward points if it helps
Regards
Gunjan
‎2006 Jun 20 10:21 AM
Hi,
Try this FM
RFC_READ_TABLE
If it helps reward points.
Regards,
Nandha.
‎2006 Jun 20 10:40 AM
Hi,
There is no generic FM to Insert and modify tables.
But for standard tables SAP as provided FM to modify tables
You can search them using the table name
e.g
INSERT_T006 --- Table T006
Sameena
Message was edited by: sameena attarwala