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

Former Member
0 Likes
706

WHAT IS MEANT BY STRUCTURE IN ABAP?

WHAT IS USED FOR STRUCTURE?

SEND ME SAMPLE PROGRAM FOR STRUCTURE?

THANKS,

S.SURESH.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
673

STRUCTURE IS A DATABASE TABLE

WHERE IT ACCEPTS ONLY ONE RECORD TO PROCESS

WE CAN DEFINE STRUCTURE LIKE THIS

types : begin of it_tab1,

f1(20),

f2(40),

f3(20),

end of it_tab1.

THIS IS THE STRUCTURE DECLARATION

REWARD IF USEFUL

REGARDS

NARESH

5 REPLIES 5
Read only

Former Member
0 Likes
673

structure is a dictionary object which is capable of holding a single row data at the run time.

Read only

Former Member
0 Likes
673

You use structure using TCODE SE11... there is no prog for creating structure...

but u can create work areas very similar to structures in a prog..

Structure

A structure (structured type) consists of components (fields) whose types are defined.

A component can have an elementary type, a structured type, a table type or a reference type.

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.

Structure are defined in Data Dictionary and can be used only at run time while Work Areas are created and used during run time

Reward if useful

Regards

Prax

Read only

Former Member
0 Likes
673

hi

<b>Structures</b>

-Are record declarations that do not correspond to a Database Table.

-Just like user-defined data type.

-Defined like a table and can then be addressed from ABAP/4 programs.

-Structures contain data only during the runtime of a program.

<b>reward points for helful ans</b>

Regards

Aarti

Read only

Former Member
0 Likes
674

STRUCTURE IS A DATABASE TABLE

WHERE IT ACCEPTS ONLY ONE RECORD TO PROCESS

WE CAN DEFINE STRUCTURE LIKE THIS

types : begin of it_tab1,

f1(20),

f2(40),

f3(20),

end of it_tab1.

THIS IS THE STRUCTURE DECLARATION

REWARD IF USEFUL

REGARDS

NARESH

Read only

abdul_hakim
Active Contributor
0 Likes
673

Hi,

Structure are used to hold record at runtime..They are pure type definition instead.

Egs:

DATA wa like MARA. "structure to hold material master record.

TABLES MARA.."Structure

Regards.

Hakim

Mark all useful answers..