SAPSQL_JOIN_ON_OJ_CMP 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.
A dynamically specified FROM clause has an unexpected format.
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.
The running ABAP program attempted to execute an Open SQL statement in
which a FROM clause was specified dynamically in the field <runtime parameter>. This
dynamic FROM clause contains an OUTER JOIN. If a from clause comprises
an OUTER JOIN, then Open SQL supports only the comparison operators =, <
, <=, >, >=, <> and BETWEEN in the ON conditions of this FROM clause.
However, in the FROM clause specified in field "<runtime parameter>", the comparison
operator "<runtime parameter>" is used.
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.