Structures
Structures
- Structure are combination of different variables or data types.
- Structures are does not hold memory.But it holds memory only at run time.
Syntax :
types : Begin of <structure name>,
------
------
End of <structure name>.
Ex :
Steps :
- Go to transaction code SE38.
- Enter program name Z or Y<program name>.
- Select Attributes type as Executable program.
- Click on save.
Source Code
Types : BEGIN OF TY_STR,
NAME(12) TYPE C,
AGE TYPE I,
PLACE(20) TYPE C,
END OF TY_STR.
NAME(12) TYPE C,
AGE TYPE I,
PLACE(20) TYPE C,
END OF TY_STR.
Comments
Post a Comment