Hi,
I have created and activated a maintenance view from tables EKPO and EKKO. I needed an outer join so I had to use maintenance view instead of datbase view. When I see the data in the view using SE11 it works fine. However, when I try to select some fields from it using code it gives me an error message.
Eg.
REPORT Z_TEST_REP.
TABLES: Z_MAINTVIEW.
SELECT * FROM Z_MAINTVIEW.
WRITE: / Z_MAINTVIEW-MYFIELD1.
ENDSELECT.
When activating, this gives me the error message: "Z_MAINTVIEW" is not defined in the ABAP Dictionary as a table, projection view or database view.
Does this mean that it is not possible to select single fields from a maintenance view using the select statement? Is there any way I can do this? Any help is appreciated. Thanks.
Khan