SAP UNKNOWN CONTAINER - Guide
Get Example source ABAP code based on a different SAP table
GUIDELINE 6.21
Anonymous Containers
ABAP_BACKGROUND
Anonymous containers are character-like or byte-like data objects of type
ABAP_RULE
Do not store structured data in unstructured character-like or byte-like variables.
ABAP_DETAILS
The direct storage of structured data in unstructured character-like or byte-like data objects is problematic, particularly with data exchanges using remote function calls (RFC), input/output through the file system or output to a printer. Unexpected results can occur due to platform-specific byte orders (endianness), alignment requirements and different character sets (codepage).
For example, if a container is stored and imported to an application server with a different byte order, problems will occur if the container is used for content for which the byte sequence is critical. In other words, the numeric fields of types
Even without these technical problems, it can difficult to correctly import data that has been stored as described above. You usually have to perform another casting operation for the data type of the data stored in the container. However, as the relevant type information is not saved with the data, it might not be possible to perform type-specific casting.
Latest notes:
If you need to store data in an unstructured container, you can use the