‎2008 Apr 02 6:20 AM
can anyone tell me why structures not containing any records?? why we are using in our program to store the data?????????...or data manipulation give any example....to clear the concept deeply
‎2008 Apr 02 6:24 AM
‎2008 Apr 02 6:24 AM
‎2008 Apr 02 7:45 AM
Hi,
Structure meant for GLOBAL EXISTANCE(these could be used by any other program without creating it again).
Structures are used especially to define the data at the interface of module pools and screens and to define the types of function module parameters.
Structures that are used more than once can be changed centrally because they were defined centrall. The active ABAP Dictionary makes this change at all relevant locations. ABAP programs or screen templates that use a
structure are automatically adjusted when the structure changes.
It can hold only one record.
There are theree types of structure:-
1. Flat structure( elementry fields)
2. Nested structure ( type reference to other structure)
3. deep structure ( type reference to database tables)
All the very best....
dont forget to reward points.....
Regards,
Sreenivasa sarma K.
‎2008 Apr 02 7:46 AM
Hi
Structures globally define the data structure occurring in program calculations or when data is passed between programs.
Structures are used in particular to define the data at the interface of module pools and screens and to define the types of the parameters of reusable forms or function modules.
Structures are defined (almost) exactly like tables, but no database tables are generated from them. The same data elements and domains can be used in structures as in tables. Tables can also be included.
‎2008 Apr 02 8:19 AM
Hi
You make structures from se11 when you need to use that again and again.
you can write - type standard table of structure
If you know anything about HR
then after INfotypes statement
whatever infotype you give that structure gets filled with the data.
Please reward points
‎2008 Apr 02 8:53 AM
hai
dongrie,
Structure means Collection of logically related fields.
These are used as work areas to store a single record temporarily to fill the internal tables.
Structures can play imp. role when we are working with internal tables.Most of the times, we retrieve data from database tables into internal tables and then apply some process on them to get required results in the ouptut.
In this scenario, if we want to create an internal table ,
it should refer to predifined ddic str. or user defined str.
with the help of structures,
we can perform insert, delete and modify ,update operations with the help of work areas(structure).
Go through the abap help in sdn.