Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Syntax error not defined as table or projection view or database view

Former Member
0 Kudos

All,

I have to select a Maintenance View V_tcurr when I do Select statement I am getting SYNTAX ERROR stating its not defined as table or projection view or database view in Abap dictionary.

Can you give me a hint, how do I select maintenance View in the select statement ?

Any help will be highly appreciated.

Thanks

4 REPLIES 4

Former Member
0 Kudos

Raja,

Maint View V_tcurr connects to DB table tcurr - and there is no join in the maint view.

Just do your SELECT against TCURR.

0 Kudos

data: lt_TCURR TYPE TABLE OF TCURR.

data: lv_TCURR TYPE TCURR.

SELECT * INTO TABLE lt_tcurr

FROM TCURR.

TCURR just has some extra fields that are exlcuded in the Maint View.

0 Kudos

Thanks for your reply.

Got hint that we can't select entries from Maintenance views, which do not store data. We can get data using FM 'VIEW_MAINTENANCE_CALL'.

0 Kudos

USE HIGHLIGHTED STEPS