SAPSQL_AMBIGUOUS_TABNAME is an ABAP runtime error which you may come across when using or developing within an SAP system. See below for the standard details explaining what it means and how you can avoid or fix this runtime error.
Short Dump Classification: A - ABAP Programming Error
You can view further information about a runtme error by using transaction code ST22 which will show you this and all runtime erros that have happen in your SAP system.
Also check out the Comments section below to view or add related contributions and example screen shots.
Check the table name and alias name in the dynamic clause that is
causing this error.
Please see search hints for more details about the possible cause of this runtime error and how it could be avoided.
Please see send to sap for more details about the possible cause of this runtime error and how it could be avoided.
A table name is ambiguous.
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.
A clause was entered dynamically at runtime.
The clause contains a column reference of type dbtab~column where
reference table '<runtime parameter>' is not uniquely determinable.
To avoid ambiguity, the table must be addressed using an alternative
name.
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.
SAPSQL_AMBIGUOUS_TABNAME - sapsql ambiguous tabname SAPSQL_AMBIGUOUS_FIELDNAME - sapsql ambiguous fieldname SAPSQL_ALIASNAME_TOO_LONG - sapsql aliasname too long SAPSQL_AGGREGATE_NOT_ALLOWED - sapsql aggregate not allowed SAPSQL_AGGREGATE_LOB - sapsql aggregate lob SAPSQL_AGGREGATE_ILL_TABTYPE - sapsql aggregate ill tabtype