06-15-2011 6:47 PM
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
06-15-2011 7:10 PM
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.
06-15-2011 7:14 PM
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.
06-15-2011 7:14 PM
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'.
05-09-2021 2:13 PM