Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Normal SQL Query othern than Native

Can we use normal SQL query in ABAP?

if yes what are the various statements we have..

replied

Hi,

There is one option.

You can use statement EXEC SQL followed by ENDEXEC.

Find the example below:

EXEC SQL.

CREATE TABLE AVERI_CLNT (

CLIENT CHAR(3) NOT NULL,

ARG1 CHAR(3) NOT NULL,

ARG2 CHAR(3) NOT NULL,

FUNCTION CHAR(10) NOT NULL,

PRIMARY KEY (CLIENT, ARG1, ARG2)

)

ENDEXEC.

I hope you are OK with this.

Regards,

Venkat

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question