SAPSQL_FIELDNAME_UNKNOWN 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.
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.
Field name from ORDER-BY clause is not in SELECT clause.
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.
The ORDER-BY clause was specified at runtime in an internal table, in a
field or string.
The field name or alternative name "<runtime parameter>" in the table does not exist in
the SELECT clause.
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.
SAPSQL_FIELDNAME_UNKNOWN - sapsql fieldname unknown SAPSQL_FIELDNAME_TOO_LONG - sapsql fieldname too long SAPSQL_FIELDLIST_SUM_TYPE - sapsql fieldlist sum type SAPSQL_FIELDLIST_AVG_TYPE - sapsql fieldlist avg type SAPSQL_FETCH_WRONG_INTOLIST - sapsql fetch wrong intolist SAPSQL_FETCH_WA_INTO_MODE - sapsql fetch wa into mode