2021 Mar 25 3:44 AM
Hello,
I am getting syntax error for sap demo class for amdp CL_DEMO_AMDP.
It is giving error as 'The default schema "XXXXXX" cannot be specified explicitly for the object "SFLIGHT".
Please help me to fix the issue.
Thanks,
Prasad
prasad.ganta2,
Information is very limited to help you, can you kindly paste the code snippet using CODE Button?
2021 Mar 25 4:44 AM
prasad.ganta2,
Information is very limited to help you, can you kindly paste the code snippet using CODE Button?
2022 Oct 27 8:45 AM
The problem in this case is that someone has created Public Synonym on the HANA level, which is exactly the same as the table name. So the statement could be:
CREATE PUBLIC SYNONYM SFLIGHT FOR SCHEMA.SFLIGHT<br>because of that AMDP Class is lost. If you do not need that public synonym just drop it with statement:
DROP PUBLIC SYNONYM SFLIGHTMore information you can find here: https://launchpad.support.sap.com/#/notes/2401716
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |