Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

structure basics

Former Member
0 Likes
615

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
592

Hi,

Refer to this related thread ... this answers your question ..

Regards,

Santosh

5 REPLIES 5
Read only

Former Member
0 Likes
593

Hi,

Refer to this related thread ... this answers your question ..

Regards,

Santosh

Read only

Former Member
0 Likes
592

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.

Read only

Former Member
0 Likes
592

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.

Read only

manubhutani
Active Contributor
0 Likes
592

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

Read only

Former Member
0 Likes
592

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.