0% found this document useful (0 votes)
30 views1 page

What Is Open SQL - 1

Open SQL is a set of ABAP statements that allows reading, modifying, and deleting data from SAP databases in a uniform syntax across all supported database systems. The Open SQL statements are passed to the database interface which converts them to native SQL and sends them to the database to perform operations like selecting, inserting, updating, modifying, and deleting data. After each Open SQL statement, the system fields SY-SUBRC and SY-DBCNT provide information on the success of the operation and number of database lines processed.

Uploaded by

Vikram Bigamudre
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views1 page

What Is Open SQL - 1

Open SQL is a set of ABAP statements that allows reading, modifying, and deleting data from SAP databases in a uniform syntax across all supported database systems. The Open SQL statements are passed to the database interface which converts them to native SQL and sends them to the database to perform operations like selecting, inserting, updating, modifying, and deleting data. After each Open SQL statement, the system fields SY-SUBRC and SY-DBCNT provide information on the success of the operation and number of database lines processed.

Uploaded by

Vikram Bigamudre
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Open SQL is a set of ABAP statements that performs operations like reads, modifies or deletes data in the SAP

database. Open SQL is independent of the database system, so the syntax of the open SQL is uniform for all the databases supported by SAP. All open SQL statements are passed to the database interface. The DB interface converts the open SQL to native SQL and passes it on to the database. List of Open SQL statements Open SQL SELECT INSERT UPDATE MODIFY DELETE Description Reads data from database Inserts lines to database Changes the contents of lines in database Inserts lines into database or changes the contents of existing lines Deletes lines from database

All Open SQL statements fill the following two system fields:

SY-SUBRC After every Open SQL statement, the system field SY-SUBRC contains the value 0 if the operation was successful, a value other than 0 if not. SY-DBCNT After an open SQL statement, the system field SY-DBCNT contains the number of database lines processed.

You might also like