ARTIClE
Field Symbols, Dynamic Structure Components
This example demonstrates dynamic assignments of structure components
using ASSIGN .
ABAP_SOURCE_CODE
ABAP_EXEC
ABAP_DESCRIPTION
A structure is assigned to a generically typed field symbol. The field
symbol can only be used to access individual components dynamically.
This example shows three different methods and measures their runtime. A
fully dynamic access is the most performance-intensive. An access using
ASSIGN COMPONENT is better for performance, and using the
position is better than using the name.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved