2019 Jun 03 4:18 PM
Hi,
I am writing a select query in ABAP 7.4 system and is getting error as "The inline declaration Data() is not possible in this poistion).
Below is select query,
Select *
from mara
into table data(it_mara).
Can you please let me know what is the issue.
Note : ABAP is 7.4 while database is Oracle. I believe above statements are ABAP specific and not HANA DB dependent.
Regards,
Abhi
2019 Jun 03 6:05 PM
This issue is that your code isn't syntactically correct. Try reading the ABAP help on SELECT. Also look for blogs by horst.keller concerning inline declaration.
You are correct that the underlying database is irrelevant.
Hi,
I am writing a select query in ABAP 7.4 system and is getting error as "The inline declaration Data() is not possible in this poistion).
Below is select query,
Select *
from mara
into table data(it_mara).
Can you please let me know what is the issue.
Note : ABAP is 7.4 while database is Oracle. I believe above statements are ABAP specific and not HANA DB dependent.
Regards,
Abhi
2019 Jun 03 6:05 PM
This issue is that your code isn't syntactically correct. Try reading the ABAP help on SELECT. Also look for blogs by horst.keller concerning inline declaration.
You are correct that the underlying database is irrelevant.
2019 Jun 04 1:46 AM
2019 Jun 04 9:42 AM
I have tried using @ as well and it still did not work. My query looks like below,
Select *
from mara
into table @data(it_mara).
Error obtained : E select 484 because the system is running with the database objects from release 740. The system has not completely upgraded to release 749.
Note : We are using ABAP7.4 SP04. Also I have used value # statements in the same system and it works fine.
Regards,
Abhi
2019 Jun 04 9:54 AM
Note 2346369 might be applicable -> unicode issue. Please post an exact screenshot of the error message. And use comment to reply, not answer.
2019 Jun 04 10:19 AM
abap74-error.pngThe error message I have mentioned above is the exact error I am getting when compiling the program. (Screenshot attached too)
"Couldn't find error message: E select 484 because the system is running with the database objects from release 740. The system has not completely upgraded to release 749."
2019 Jun 04 1:27 PM
Are you sure that the error is related to this particular SQL?
2019 Jun 04 2:42 PM
I have not written anything other than select statment in the program.
2019 Jun 04 2:51 PM
2019 Jun 04 12:26 PM
2019 Jun 04 1:24 PM
SELECT * FROM mara INTO TABLE @DATA(it_mara).
system 740 SP16
2019 Jun 04 1:34 PM
See note 2346369 - Error: "The system had not been completely updated to release 7.42"
In that case it was a unicode issue. That shouldn't happen from just the code snippet you are trying. I am wondering if the underlying database is the problem, and that it is not fully Unicode compliant?
2019 Jun 04 1:37 PM
matthew.billingham - Sorry saw your comment about the same note after I posted this... those partially hidden comments are tricky!
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |