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 a wrong decimal.
Runtime error:
CONNE_IMPORT_WRONG_COMP_DECS
Reason for error:
A component of a structured dataset has a wrong length.
Runtime error:
CONNE_IMPORT_WRONG_COMP_LENG
Reason for error:
A component of a structured type in the dataset has a wrong type.
Runtime error:
CONNE_IMPORT_WRONG_COMP_TYPE
Reason for error:
A field in the dataset has wrong decimal places.
Runtime error:
CONNE_IMPORT_WRONG_FIELD_DECS
Reason for error:
A field in the dataset has a wrong length.
Runtime error:
CONNE_IMPORT_WRONG_FIELD_LENG
Reason for error:
A field in the dataset has a wrong 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 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 write of a stored data object.
Runtime error:
IMPORT_FORMAT_ERROR
Reason for error:
Error in data write in IMPORT.
Runtime error:
CONNE_IMPORT_ILL_DESCRIPTION

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 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:
The object name in the cluster is empty (the content of the first column).
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, otherwise in column 1) does not exist.
Runtime error:
DYN_IMEX_OBJ_NOT_FOUND
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:
Invalid or missing data cluster in IMPORT FROM DATA BUFFER
Runtime error:
CONNE_CONTAINER_TOO_SHORT
Reason for error:
Empty internal table in IMPORT FROM INTERNAL TABLE
Runtime error:
IMPORT_FROM_INTTABLE_EMPTY
Reason for error:
Empty data object in IMPORT FROM DATA BUFFER
Runtime error:
IMPORT_FROM_DATA_BUFFER_EMPTY
Reason for error:
Data cluster is destroyed
Runtime error:
IMPORT_OBJECT_DESTROYED
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_INVALID_PARAMS
Runtime error:
IMPORT_BUFFER_KEY_NOT_FOUND