‎2009 May 17 9:54 AM
hi all,
I want to retrive data from V_TCURR view. As this is maintenance view so i am not able to retrive data from maintenance view by using select statement. It shows syntex error. So Please provide me the way we can retrive data from MAINTENANCE VIEW.
Thanks
Babbal
‎2009 May 17 10:06 AM
Hi,
You can select data only if it is a database view.
You will not be able to do a select on a maintainance view.
If you want to select the data; check the tables of the view and do accordingly.
Regards,
Ankur Parab
‎2009 May 17 10:06 AM
Hi,
You can select data only if it is a database view.
You will not be able to do a select on a maintainance view.
If you want to select the data; check the tables of the view and do accordingly.
Regards,
Ankur Parab
‎2009 May 17 10:08 AM
Hi Babbal,
You can't use the select query for the Maintenance Views.
you can directly use the tables which are using in that Maintenacne Views.
in your case for the View V_TCURR, the table using is TCURR.
So directly hit that table using the select query. it solves your problem
Thanks!!
‎2009 May 17 4:55 PM
Hi,
A maintenance view permits you to maintain the data of an application object together. The data is automatically distributed in the underlying database tables. The maintenance status determines which accesses to the data of the underlying tables are possible with the maintenance view.
Hence it would be easy to retrieve the data from the DB tabke using select query in our case here its TCURR,
So go on
Thanks and Regards
Srikanth.P
‎2009 May 17 4:59 PM
‎2009 May 18 6:07 AM
Hi Babbal,
Instead of trying to fetch records from maintenance view, you can write a select statement on database table TCURR, which has all the data that is present in V_TCURR.
Hope this may work.
Regards,
Prashant Gaikwad
‎2009 May 18 9:33 AM
you cant fetch data from maintanance view just select data from TCURR table it will help you
‎2009 May 19 1:18 PM
Why dont you use FM
CONVERT_TO_LOCAL_CURRENCYif your requirement is to get the currency conversion. This is better way than getting the data from table and then using tfact and ffact factors.
‎2009 May 22 10:52 AM
Dear babbal,
select statement cant be on a Maintenance Views.what you can do is go directly to the tables which are using in that Maintenacne Views.in your case for the View V_TCURR,so you can use TCURR.
Cheers
fareed