DATASET_INCOMPATIBLE_MODE 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.
SET DATASET .. ATTRIBUTES can only be used to change attributes of a
file that are compatible with the mode that the file was opened in.
The code page or byte order for a file can therefore only be changed if
opened in LEGACY MODE.
The replacement character or handling of conversion errors can only be
changed if the file has been opened in TEXT MODE or in LEGACY MODE.
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.
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.
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.
File "<runtime parameter>" has been opened in an incorrect mode.
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.
File "<runtime parameter>" has been opened in a mode that is not compatible with the
individual values in the command SET DATASET .. ATTRIBUTES.
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.
DATASET_INCOMPATIBLE_MODE - dataset incompatible mode DATASET_CONFLICTING_OPTIONS - dataset conflicting options DATASET_CANT_OPEN - dataset cant open DATASET_CANT_CLOSE - dataset cant close CREATE_OBJECT_NO_REFTYPE - create object no reftype CREATE_OBJECT_CREATE_PROTECTED - create object create protected