2013 Mar 11 5:44 AM
Dear All,
Can I use EXEC SQL Statement in ABAP.
EXEC SQL
INSERT INTO MYEMP SELECT * FROM
ENDEXEC
if yes then how & where we can use it.
2013 Mar 12 1:14 PM
Hi,
Yes, you can.
Native SQL statements are used to access database tables not defined in ABAP dictionary and hence allow us to integrate data not part of R/3 system.
This is an interesting link that i suggest
http://scn.sap.com/docs/DOC-34669
However,
SAP recommends the usage of ADBC (ABAP Database Connectivity) to access the external DBs.
Best Regards
Ivan
Dear All,
Can I use EXEC SQL Statement in ABAP.
EXEC SQL
INSERT INTO MYEMP SELECT * FROM
ENDEXEC
if yes then how & where we can use it.
2013 Mar 12 1:14 PM
Hi,
Yes, you can.
Native SQL statements are used to access database tables not defined in ABAP dictionary and hence allow us to integrate data not part of R/3 system.
This is an interesting link that i suggest
http://scn.sap.com/docs/DOC-34669
However,
SAP recommends the usage of ADBC (ABAP Database Connectivity) to access the external DBs.
Best Regards
Ivan
2013 Mar 12 1:25 PM
Yes you can, just perform a search on google like EXEC SQL site:help.sap.com/Abapdocu_731 to find documentation relative to native sql in SAP on-line Abap documentation.
Regards,
Raymond.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |