<?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 SQL TRACE Problem with view in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-trace-problem-with-view/m-p/943150#M63590</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;     I am working in SAP 4.0 environment.While running SQL trace for one of the FI SAP Standard report,I see that in the SQl trace whenever a Transparent table is fetched eg ANLB or ANEK, I find an SQL query , but when the view V_ANLaB is fetched I find no SQL statement in front of it and only FETCH V_ANLAB is listed in the trace.&lt;/P&gt;&lt;P&gt;This is how the  trace looks:&lt;/P&gt;&lt;P&gt;Duration Object	  DB op.	RJu	RC SQL statement&lt;/P&gt;&lt;P&gt;17       V_ANLAB  FETCH	        1	0		&lt;/P&gt;&lt;P&gt;43.692	 ANLH	  OPEN	        1	0		SELECT WHERE  "MANDT" = '590' AND  "BUKRS" = '2350' AND  "ANLN1" IN ( '000001097275' , '000001097276' , '000001097277' , '000001097278' , '000001097279' , '000001097280' , '000001097281' , '000001097282' , '...	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    My question is whether select query are seen in the SQL trace for view or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Jyotsna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Aug 2005 07:51:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-08-22T07:51:55Z</dc:date>
    <item>
      <title>SQL TRACE Problem with view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-trace-problem-with-view/m-p/943150#M63590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;     I am working in SAP 4.0 environment.While running SQL trace for one of the FI SAP Standard report,I see that in the SQl trace whenever a Transparent table is fetched eg ANLB or ANEK, I find an SQL query , but when the view V_ANLaB is fetched I find no SQL statement in front of it and only FETCH V_ANLAB is listed in the trace.&lt;/P&gt;&lt;P&gt;This is how the  trace looks:&lt;/P&gt;&lt;P&gt;Duration Object	  DB op.	RJu	RC SQL statement&lt;/P&gt;&lt;P&gt;17       V_ANLAB  FETCH	        1	0		&lt;/P&gt;&lt;P&gt;43.692	 ANLH	  OPEN	        1	0		SELECT WHERE  "MANDT" = '590' AND  "BUKRS" = '2350' AND  "ANLN1" IN ( '000001097275' , '000001097276' , '000001097277' , '000001097278' , '000001097279' , '000001097280' , '000001097281' , '000001097282' , '...	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    My question is whether select query are seen in the SQL trace for view or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Jyotsna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 07:51:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-trace-problem-with-view/m-p/943150#M63590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-22T07:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: SQL TRACE Problem with view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-trace-problem-with-view/m-p/943151#M63591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jyotsna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried SQL trace on my system, i discovered that there is no SQL query for 'Fetch' for Tables as well as Views.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i get select queries for 'prepare' and 'open' in both the cases i.e. for both tables as well as views.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, there is no difference in my case. I'm on WAS 6.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, as per my understanding, select queries are seen in the SQL trace for views also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashish Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 08:20:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-trace-problem-with-view/m-p/943151#M63591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-22T08:20:48Z</dc:date>
    </item>
  </channel>
</rss>

