SAP DATA CONV STR ABEXA

Get Example source ABAP code based on a different SAP table
  


ARTIClE

Conversion Rules for Structures
This example demonstrates how structures can be converted from one type to another.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
In this example two different structures are defined, fs1 and fs2. The requirements of the third conversion rule for flat structures apply to both structures and the corresponding rule is also used. After the assignment of fs1 to fs2, only the result for the first two components is as if they had been transferred component by component. fs2-text is filled with the first five positions from fs1-text. All the remaining elements of fs1 are not transferred.