Skip to Content

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

Dynamic native SQL constructs

Hi Gurus,

I want to generate dynamic native sql constructs. Following is the code i am using but it genrates exception of invalid SQL statement

EXEC SQL.

OPEN c1 FOR

SELECT (l_t_code) FROM (s_tabnm) WHERE (l_t_codewhere)

ENDEXEC.

Please brief me how to create dynamic native SQL constructs .

Thanks

Sonal....

Former Member
Not what you were looking for? View more on this topic or Ask a question