Hi @Prabhat Rawat ,
Thanks for posting query in Microsoft Q&A Platform.
This kind of error will come when SAP tried to execute an SQL statement that containing a dynamic entry.
Kindly recheck your JOIN query and see if all good there?
Please let us know how it goes. Thank you.