BITS_WRONG_TYPE 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.
Change the type of field <runtime parameter> to X. If this is not possible, assign an
auxiliary field of type X to this field.
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.
An operand of a bit expression or bit comparison has the wrong type
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.
Field <runtime parameter> in the current bit expression/bit comparison has type <runtime parameter>.
All operands of a bit expression (COMPUTE) must have type X.
In a bit comparison (IF, CHECK, WHILE) the operand on the right (the
bit mask) must have type X.
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.