‎2007 Jul 27 11:28 AM
hi,friends could any one tell me how to extract the data from structure
‎2007 Jul 27 11:29 AM
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.
‎2007 Jul 27 11:29 AM
‎2007 Jul 27 11:30 AM
hi,
Strcture will hod data only during run time.
so u can just fetch data directly.
value = structure_name-field.Rgds
Reshma
‎2007 Jul 27 11:30 AM
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
‎2007 Jul 27 11:31 AM
Hi Sasi,
Structures will not have data. it will have only one record that too during the runtime.
Cheers,
Satish
‎2007 Jul 27 11:31 AM
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
‎2007 Jul 27 11:31 AM
hi,
A structure never contains data except runtime .
what kind of extraction u r asking about ?
Ranjita
‎2007 Jul 27 11:33 AM
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.
‎2007 Aug 02 4:33 AM