‎2008 Jul 30 9:24 AM
Dear Guru,
If my data is kept in structure data object (not a table type). How can I select data from that kind of data object. Thank you.
Cheers,
‎2008 Jul 30 9:29 AM
hi,
Data cannot be stored in Structure Data Object.
Regards
Sumit Agarwal
‎2008 Jul 30 9:30 AM
Hi Noppy,
You cannot have data in a structure. Only a table contains data.
Regards,
Chandra Sekhar
‎2008 Jul 30 9:39 AM
Hi,
Data cannot be stored in structure.
Structure is just like a view , so its a medium with which you can create a view relevant to your needs.
The fields that we need together , we put in a structure.
Structure is a medium where we collect all our relevant fields.
we can include the structure in internal table so that we can actually store data , process data and retrieve data.
hope this helps.
thanx,
dhanashri.
‎2008 Jul 30 9:40 AM
Hi noppy,
In structure u can not have data. If u want to store data and then select it for further use then use tables
for this purpose. Go to se11--> put name of Database table. There u can select data.
Hope this information vl help u.
Best Regards
saurabh
‎2008 Jul 30 9:40 AM
hi check this...
get the value table for the structure and get the data from this...and use an internal table of the same structure type
‎2008 Jul 30 9:41 AM
Hi,
Structure is like work area, it has data at runtime. U can append that data into internal table of same structure or a paritcular field value in that structure to a variable of same field structure.
Regards
Krishna
‎2008 Jul 30 9:45 AM
Hi,
Structure is a definition and does not contain any data. so there no question of keeping data in a structure.
Regards,
anirban
‎2008 Jul 30 9:47 AM
Hi,
first I would tell you that structure can not stor data. secondly data in structure id loaded only in run time. if you want to fetch data from a structure which is loaded with data. you must declare a internal table of type that structure see below exampls.
Data : it_data type standard table of strc_data.
Loop at strc_data
move strc_data to it_data.
append it_data
Clear it_data.
endloop.
rgds
rajesh
‎2008 Jul 30 10:24 AM
hi,
Structures are similar to tables but structures do not have an underlying database as tables.
Due to this structure does not contain any data. It can contain data at runtime.
As soon as the program terminates, it looses all the data.
Regrads,
Aleem.