2009 Jul 27 3:34 AM
Hi,
Hope someone can help me out. I have a transparent table with an .INCLUDE structure in it. My problems is, when i select records from that table and store it in an internal table then SORT it using one of the fields "included" (CDATE), i get an error saying:
"The specified type has no structure and therefore no component called "CDATE"".
My table and the included structure is Active.
Thanks, id really appreciate your help.
2009 Jul 27 3:40 AM
Say for your table is like MARA that contains ZMARA as include contains CDATE
Then declare internal table as
data : begin of i_mara occurs 0.
incldue structure mara.
data : end of i_mara.
then sort i_mara
sort i_mara by cdate.
a®
Hi,
Hope someone can help me out. I have a transparent table with an .INCLUDE structure in it. My problems is, when i select records from that table and store it in an internal table then SORT it using one of the fields "included" (CDATE), i get an error saying:
"The specified type has no structure and therefore no component called "CDATE"".
My table and the included structure is Active.
Thanks, id really appreciate your help.
2009 Jul 27 3:40 AM
Say for your table is like MARA that contains ZMARA as include contains CDATE
Then declare internal table as
data : begin of i_mara occurs 0.
incldue structure mara.
data : end of i_mara.
then sort i_mara
sort i_mara by cdate.
a®
2009 Jul 27 4:29 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |