‎2007 Jul 16 2:26 PM
WHAT IS MEANT BY STRUCTURE IN ABAP?
WHAT IS USED FOR STRUCTURE?
SEND ME SAMPLE PROGRAM FOR STRUCTURE?
THANKS,
S.SURESH.
‎2007 Jul 16 2:36 PM
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
‎2007 Jul 16 2:31 PM
structure is a dictionary object which is capable of holding a single row data at the run time.
‎2007 Jul 16 2:31 PM
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
‎2007 Jul 16 2:33 PM
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
‎2007 Jul 16 2:36 PM
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
‎2007 Jul 16 2:38 PM
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..