Application Development and Automation 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: 
Read only

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

Former Member
0 Likes
4,810

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
Read only

Former Member
0 Likes
1,673

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.

Read only

0 Likes
1,673

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.

Read only

0 Likes
1,673

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'.

Read only

0 Likes
1,673

USE HIGHLIGHTED STEPS