SAP RABAX IMPORT FROM DATABASE



Get Example source ABAP code based on a different SAP table
  



Exceptions in IMPORT


Catchable Exceptions
CX_SY_CONVERSION_CODEPAGE
Reason for error:
Error in conversion.
Runtime error:
CONNE_IMPORT_CONVERSION_ERROR
CX_SY_IMPORT_MISMATCH_ERROR
Reason for error:
A component of a structured dataset has an incorrect decimal place.
Runtime error:
CONNE_IMPORT_WRONG_COMP_DECS
Reason for error:
A component of a structured dataset has an incorrect length.
Runtime error:
CONNE_IMPORT_WRONG_COMP_LENG
Reason for error:
A component of a structured type in the dataset has an incorrect type.
Runtime error:
CONNE_IMPORT_WRONG_COMP_TYPE
Reason for error:
A field in the dataset has incorrect decimal places.
Runtime error:
CONNE_IMPORT_WRONG_FIELD_DECS
Reason for error:
A field in the dataset has an incorrect length.
Runtime error:
CONNE_IMPORT_WRONG_FIELD_LENG
Reason for error:
A field in the dataset has an incorrect type.
Runtime error:
CONNE_IMPORT_WRONG_FIELD_TYPE
Reason for error:
Type conflict between simple and structured data types.
Runtime error:
CONNE_IMPORT_WRONG_OBJECT_TYPE
Reason for error:
Type conflict between structured objects
Runtime error:
CONNE_IMPORT_WRONG_STRUCTURE
Reason for error:
Source object and target object have incompatible types.
Runtime error:
IMPORT_ALIGNMENT_MISMATCH
Reason for error:
Dataset has a different length.
Runtime error:
IMPORT_WRONG_END_POS
CX_SY_IMPORT_FORMAT_ERROR
Reason for error:
Error in the data description of a stored data object.
Runtime error:
IMPORT_FORMAT_ERROR
Reason for error:
Error in the data description.
Runtime error:
IMPORT_DESCR_ENDMARK_MISSING
Reason for error:
The dataset was destroyed. The data is distributed among several table entries, and at least one table entry is missing.
Runtime error:
IMPORT_UNEXPECTED_END_OF_DATA
Reason for error:
Error in decompression.
Runtime error:
IMPORT_DECOMPRESS_FAILED
Reason for error:
Invalid or missing data cluster in IMPORT FROM INTERNAL TABLE
Runtime error:
IMPORT_CONTAINER_MISSING
Reason for error:
Empty internal table in IMPORT FROM INTERNAL TABLE
Runtime error:
IMPORT_CONTAINER_MISSING
Reason for error:
Empty data object in IMPORT FROM DATA BUFFER
Runtime error:
IMPORT_CONTAINER_MISSING
Reason for error:
The data cluster was destroyed.
Runtime error:
IMPORT_OBJECT_DESTROYED
Reason for error:
Invalid or missing data cluster in IMPORT FROM DATA BUFFER
Runtime error:
CONNE_CONTAINER_TOO_SHORT
Reason for error:
The dataset was destroyed.
Runtime error:
CONNE_ILLEGAL_TRANSPORT_HEADER
Reason for error:
An attempt was made to import a dataset originating from an AS ABAP of a higher release level. This action is not supported.
Runtime error:
CONNE_ILLEGAL_TRANSPORT_VERS
Reason for error:
Error in data description in IMPORT.
Runtime error:
CONNE_IMPORT_ILL_DESCRIPTION
Reason for error:
One of the properties saved for the cluster is invalid.
Runtime error:
CONNE_COMPRESS_FLAG_INVALID
Runtime error:
CONNE_DESCRIPTION_FLAG_INVALID
Runtime error:
CONVERSION_CODEPAGE_UNKNOWN
CX_SY_EXPIMP_DB_SQL_ERROR
Reason for error:
SQL error in import from the database.
Runtime error:
<(>DBIF_...<)>

Non-catchable Exceptions
Reason for error:
The object name in the cluster, that is, the content of the first column, is empty.
Runtime error:
DYN_IMEX_OBJ_NAME_EMPTY
Reason for error:
An object name (in the cluster) occurs twice in the first column of the internal table.
Runtime error:
DYN_IMEX_OBJ_NAME_TWICE
Reason for error:
The data object in the program, that is, the object whose name is in column 2 if this column is not empty, else in column 1, does not exist.
Runtime error:
DYN_IMEX_OBJ_NOT_FOUND
Reason for error:
Error in import from the transactional application buffer
Runtime error:
IMPORT_BUFFER_FAILED
Runtime error:
IMPORT_BUFFER_EXTERNAL_ERROR
Runtime error:
IMPORT_BUFFER_INTERNAL_ERROR
Runtime error:
IMPORT_BUFFER_KEY_NOT_FOUND
ABAP_NONCAT_END