
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Date Value Not Populating in Native SQL for SAP Order Insertion
I think you need to put a colon (before variable as below:
EXEC SQL. INSERT INTO order VALUES('2', :sy-datum) ENDEXEC.
I would also suggest you to use OpenSQL instead of Native SQL here. Native SQL is used when you try to use any features that are database specific.
The query you have used is very generic and not exclusive for backend database.
Advertisements