SAP Tutorials Blog


 



Depending on the component type, the structure can be a flat structure, a nested structure, or a deep structure.


Flat structures contain only elementary types that have a fixed length, that is, there are no internal tables, reference types or strings as components. Nesting does not matter in this context. Even a nested structure is considered flat unless a substructure contains a deep component.


DATA: BEGIN OF struc,

        comp1 TYPE i,

        comp2 TYPE c LENGTH 15,

        comp3 TYPE p LENGTH 8 DECIMALS 2,

        ...,

      END OF struc.


Serkan AKKAVAK

Computer Engineer BSc

Head of SAP & Software Department

Contact : serkurumsal@yandex.com