2006 Oct 05 2:57 PM
Hi,
I have a customizing view. I want to select data from that view in a ZREPORT. How can I do that?
report ZREPORT .
select * from zview into it_view.
Compilation error: "ZVIEW" is not defined in the ABAP Dictionary as a table, projection view or database view.
2006 Oct 05 3:01 PM
Hi,
copy that view as DB-View and select your Z-View
A.
2006 Oct 05 3:00 PM
Hi
U can use SELECT statament only for the types of table indicated in the error message.
So or you change the view type (projection or database view) of ZVIEW, or you create a new view as copy ut with type projection or database viewo in dictionary or you select the data directly from tables inserted in the ZVIEW.
Max
2006 Oct 05 3:01 PM
2006 Oct 05 3:03 PM
decalre the view using the TABLES statement and then use the select query. Also i think the where condition should be modified as into table itab. Please check.
2006 Oct 05 3:05 PM
Hi Harish,
report ZREPORT .
<b>Tables: ZVIEW.</b> -- >add this statement
select * from zview into it_view.
Note: Hope you created ZVIEW already in SE11,else create it and then use in SE38 program.
Mark if it helps you
Thanks
Eswar
2006 Oct 05 3:28 PM
HI,
selection is posible for
trasparent,cluster table, projection view or database view.
I assume your view is declared as maintainence view
or help view activate your view and try.
rEGARDS,
Amole
2006 Nov 27 11:41 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |