2018 Jun 07 6:43 PM
Hi all,
Have the following (pseudo) code:
SELECT myfile~field1 FROM myfile INTO (w_field1) WHERE sy-datum between myfile~begda and myfile~endda
I get a syntax error that states that sy-datum is unknown.
Any ideas?
Thanks,
Luis Rodríguez
2018 Jun 07 7:14 PM
Hi, you can not use sy-datum in SQL.
check this post
https://archive.sap.com/discussions/thread/1044301
Regards
Miguel
Miguel,
Thanks for the info. It seems a silly limitation. Sigh... Already coded the workaround (not the most elegant of solutions, though).
Thanks again,
Luis
2018 Jun 07 7:14 PM
Hi, you can not use sy-datum in SQL.
check this post
https://archive.sap.com/discussions/thread/1044301
Regards
Miguel
2018 Jun 07 7:20 PM
Miguel,
Thanks for the info. It seems a silly limitation. Sigh... Already coded the workaround (not the most elegant of solutions, though).
Thanks again,
Luis
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |