<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: read data from maintenance view in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-maintenance-view/m-p/935324#M61840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the documentation on maintenance views says that we can have read access to them. Does that mean the data can only be seen via the DDIC and not from a select written in a program??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is what i read...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maintenance Status &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The maintenance status of a view controls whether data records can also be changed or inserted in the tables contained in the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The maintenance status can be defined as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read only: Data can only be read through the view. &lt;/P&gt;&lt;P&gt;Read, change, delete, insert: Data of the tables contained in the view can be changed, deleted, and inserted through the view.&lt;/P&gt;&lt;P&gt;Only read access is permitted for database views that are defined through several tables. If a database view contains only one single table, data can be inserted in this table through the view (see Inserts Through Database Views).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following status definitions are also possible for maintenance views:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read and change: Existing view entries can be changed. However, records cannot be deleted or inserted.&lt;/P&gt;&lt;P&gt;Read and change (time-dependent views): Only entries whose non-time-dependent part of the key is the same as that of existing entries may be inserted.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;you surely have earned some points here....just let me be clear of the concept behind this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;PJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jul 2005 15:57:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-07-28T15:57:29Z</dc:date>
    <item>
      <title>read data from maintenance view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-maintenance-view/m-p/935322#M61838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could anyone please tell me if there is any special way to read data from a maintenance view (if at all it is possible). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i wrote a simple select on it but it gave me a syntax error that the view is not defined in the dictionary. (i am able to see the view definition by double clicking and it is active too). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the following is my select. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single lgnum from v_t320 into (w_lgnum) where werks eq p_i_werks and lgort eq p_i_lgort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;awaiting answers... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;PJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2005 15:34:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-maintenance-view/m-p/935322#M61838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-28T15:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: read data from maintenance view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-maintenance-view/m-p/935323#M61839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can not do a select over a maintenance view.  Just do your select over the underlying table T320.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


select single lgnum &amp;lt;b&amp;gt;from t320&amp;lt;/b&amp;gt; into (w_lgnum) where werks eq p_i_werks and lgort eq p_i_lgort.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2005 15:40:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-maintenance-view/m-p/935323#M61839</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-07-28T15:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: read data from maintenance view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-maintenance-view/m-p/935324#M61840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the documentation on maintenance views says that we can have read access to them. Does that mean the data can only be seen via the DDIC and not from a select written in a program??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is what i read...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maintenance Status &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The maintenance status of a view controls whether data records can also be changed or inserted in the tables contained in the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The maintenance status can be defined as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read only: Data can only be read through the view. &lt;/P&gt;&lt;P&gt;Read, change, delete, insert: Data of the tables contained in the view can be changed, deleted, and inserted through the view.&lt;/P&gt;&lt;P&gt;Only read access is permitted for database views that are defined through several tables. If a database view contains only one single table, data can be inserted in this table through the view (see Inserts Through Database Views).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following status definitions are also possible for maintenance views:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read and change: Existing view entries can be changed. However, records cannot be deleted or inserted.&lt;/P&gt;&lt;P&gt;Read and change (time-dependent views): Only entries whose non-time-dependent part of the key is the same as that of existing entries may be inserted.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;you surely have earned some points here....just let me be clear of the concept behind this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;PJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2005 15:57:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-maintenance-view/m-p/935324#M61840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-28T15:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: read data from maintenance view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-maintenance-view/m-p/935325#M61841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'VIEW_MAINTENANCE_CALL'&lt;/P&gt;&lt;P&gt;           EXPORTING&lt;/P&gt;&lt;P&gt;                action      = 'U'&lt;/P&gt;&lt;P&gt;                view_name   = 'table'&lt;/P&gt;&lt;P&gt;           TABLES&lt;/P&gt;&lt;P&gt;                dba_sellist = gt_typo&lt;/P&gt;&lt;P&gt;           EXCEPTIONS&lt;/P&gt;&lt;P&gt;                OTHERS      = 14.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2005 16:07:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-maintenance-view/m-p/935325#M61841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-28T16:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: read data from maintenance view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-maintenance-view/m-p/935326#M61842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, if you try to do a select against a maint. view, the syntax check will yell at you about,  saying that it needs to be a table, database view or projection view.  The documentation which you speak of is mostly likly talking about the user interface to the view.  Again, I would suggest reading the underlying table directly.  The maintenacne view is only used for the table maintenance program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2005 17:18:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-maintenance-view/m-p/935326#M61842</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-07-28T17:18:17Z</dc:date>
    </item>
  </channel>
</rss>

