Application Development 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: 

structure

Former Member
0 Kudos

hi,friends could any one tell me how to extract the data from structure

9 REPLIES 9

Former Member
0 Kudos

u cannot extract the data from structure.U have to find the table wghich is using this structure or some other table having the data.

Former Member
0 Kudos

structures dont have data

Former Member
0 Kudos

hi,

Strcture will hod data only during run time.

so u can just fetch data directly.

value = structure_name-field.

Rgds

Reshma

Former Member
0 Kudos

Hi,

Suppose if a strcuture is of a type of a ZTABLE.

Then

DATA it_str LIKE TABLE OF ZSTRUCTURE WITH HEADER LINE.

SELECT *

FROM ZTABLE

INTO TABLE it_str.

Regards

Former Member
0 Kudos

Hi Sasi,

Structures will not have data. it will have only one record that too during the runtime.

Cheers,

Satish

Former Member
0 Kudos

hi,

Structure doen't have data in it.

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

Regards,

Sankar

former_member196299
Active Contributor
0 Kudos

hi,

A structure never contains data except runtime .

what kind of extraction u r asking about ?

Ranjita

Former Member
0 Kudos

dear sasi,

structure which we define in dictionary it does not hold anydata.and which we define in program can hold atmost one record which can be retreived using select query.

reward points if use ful.

Former Member
0 Kudos

thanks for your valuable information