Ansicht
Dokumentation
ABENMOVE_EXACT_STRUCTURE - MOVE EXACT STRUCTURE
CPI1466 during Backup BAL Application Log DocumentationThis documentation is copyright by SAP AG.
Checking Structures
The operator EXACT can only be used to convert structures to compatible structures. Full compatibility is not required for the following deep components, for which the specified requirements apply:
- For components that have a reference type, upcasts but not downcasts are allowed.
- For table-like components, it is sufficient if the line type is compatible. This means that the full compatibility, which includes table categories and table keys, is not required here.
Notes
- The operator EXACT ensures that the conversion rules for flat structures are the same as those for deep structures. It is not possible to make conversions between structures and elementary data objects.
- If the structured types are compatible, no further checks are performed on the content. If the source structure already contains invalid data, this data is assigned to a compatible return value despite the addition EXACT.
Example
Unlike simple conversion, the lossless assignment leads to a syntax error.
DATA:
BEGIN OF struc,
col1 TYPE d,
col2 TYPE t,
END OF struc.
DATA(result1) = CONV string( struc ). "Possible
DATA(result2) = EXACT string( struc ). "Not possible
CL_GUI_FRONTEND_SERVICES - Frontend Services rdisp/max_wprun_time - Maximum work process run time
This documentation is copyright by SAP AG.
Length: 2339 Date: 20240418 Time: 182839 sap01-206 ( 27 ms )