Saturday 28 May 2016

Structures

Structures

  • The structure is a combination of different variables or data types. 
  • Structures do not hold memory. But it holds memory only at runtime.

Syntax :


types : Begin of <structure name>,
                   ------
                   ------
                  End of <structure name>.


Ex :


Steps :

  1. Go to transaction code SE38.
  2. Enter program name Z or Y<program name>.
  3. Select Attributes type as an Executable program.
  4. Click on save.



Source Code


Types: BEGIN OF TY_STR,
        NAME(12TYPE C,
        AGE   TYPE I,
        PLACE(20TYPE C,
       END OF TY_STR.








No comments:

Post a Comment