<?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: Database View is not appearing in the ABAP Coding in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-view-is-not-appearing-in-the-abap-coding/m-p/3934848#M941803</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Christine Evans  &lt;/P&gt;&lt;P&gt;&amp;gt;  &lt;/P&gt;&lt;P&gt;&amp;gt; your big essay doesnt mean to me anything.....I am a customer, I would like to use Oracle or any thing....that up to me......I don't need your suggession such as....&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; If you can give me the solution in ABAP, give me that....otherwise....dont misutilize our time......&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Rgds&lt;/P&gt;&lt;P&gt;&amp;gt; Farhad&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Just trying to be helpful.  If you have to work with SAP then the easiest and - more importantly - most easily maintainable way  to do it is to use the SAP supplied tools rather than distorting a development to suit your own particular skills set.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, I did provide the ABAP solution.  In the first sentence.   As did one of the earlier posts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 May 2009 09:11:26 GMT</pubDate>
    <dc:creator>christine_evans</dc:creator>
    <dc:date>2009-05-06T09:11:26Z</dc:date>
    <item>
      <title>Database View is not appearing in the ABAP Coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-view-is-not-appearing-in-the-abap-coding/m-p/3934840#M941795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am very much new in the ABAP. Actually I worked last 8 years in the Oracle PL/SQL. Recently, my company implements SAP. The database is Oracle 10g. I would like to use my oracle experience in the project. But in everywhere I faced some problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created one Database view by the Native sql. Here I am giving you the code.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------" /&gt;&lt;P&gt;Create OR REPLACE view &lt;STRONG&gt;ZVMVSL_ALLTPORT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;P&gt;SELECT T1.MVESSEL_NO, T1.MVESSEL_NAME, T1.SHIPPINGLINE, T2.MVOYAGENUMBER, &lt;/P&gt;&lt;P&gt;T2.TRANSHIPMENTA AS TPORT, T2.ETDTSHIPMENTA AS ETD_TPORT, &lt;/P&gt;&lt;P&gt;T3.MVESSEL_SRL_NO, &lt;/P&gt;&lt;P&gt;T3.PORTOFDISCHARGE POD, T3.ETAPORT &lt;/P&gt;&lt;P&gt;FROM ZSD_MOTHER_MST T1, ZSD_MOTHER_DTL T2, ZSD_MOTHER_VIA T3 &lt;/P&gt;&lt;P&gt;WHERE T1.MANDT = T2.MANDT &lt;/P&gt;&lt;P&gt;AND T1.MVESSEL_NO = T2.MVESSEL_NO &lt;/P&gt;&lt;P&gt;AND T1.MVESSEL_NO = T3.MVESSEL_NO &lt;/P&gt;&lt;P&gt;AND T2.MVOYAGENUMBER = T3.MVOYAGENUMBER &lt;/P&gt;&lt;P&gt;AND T2.TRANSHIPMENTA &amp;lt;&amp;gt;' '&lt;/P&gt;&lt;P&gt;UNION&lt;/P&gt;&lt;P&gt;SELECT T1.MVESSEL_NO, T1.MVESSEL_NAME, T1.SHIPPINGLINE, T2.MVOYAGENUMBER, &lt;/P&gt;&lt;P&gt;T2.TRANSHIPMENTB AS TPORT, T2.ETDTSHIPMENTB AS ETD_TPORT, &lt;/P&gt;&lt;P&gt;T3.MVESSEL_SRL_NO, &lt;/P&gt;&lt;P&gt;T3.PORTOFDISCHARGE POD, T3.ETAPORT &lt;/P&gt;&lt;P&gt;FROM ZSD_MOTHER_MST T1, ZSD_MOTHER_DTL T2, ZSD_MOTHER_VIA T3 &lt;/P&gt;&lt;P&gt;WHERE T1.MANDT = T2.MANDT &lt;/P&gt;&lt;P&gt;AND T1.MVESSEL_NO = T2.MVESSEL_NO &lt;/P&gt;&lt;P&gt;AND T1.MVESSEL_NO = T3.MVESSEL_NO &lt;/P&gt;&lt;P&gt;AND T2.MVOYAGENUMBER = T3.MVOYAGENUMBER&lt;/P&gt;&lt;P&gt;AND T2.TRANSHIPMENTB &amp;lt;&amp;gt;' '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------" /&gt;&lt;P&gt;This view i could not use from ABAP codes, ABAP/4 only identified by views which we would create from T-code &lt;STRONG&gt;se11&lt;/STRONG&gt;. Now tell me how could I solve this issue. Because in this query i did some UNION which is not directly available in teh &lt;STRONG&gt;se11&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me how to handle this situation. Because if I can use this sort of native sql views, I could solve lot of things in the development.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;Farhad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 12:06:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-view-is-not-appearing-in-the-abap-coding/m-p/3934840#M941795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-27T12:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Database View is not appearing in the ABAP Coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-view-is-not-appearing-in-the-abap-coding/m-p/3934841#M941796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have created a view in native SQL, and want to use it anyway, try querying it by using execute SQL statement from ABAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 14:40:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-view-is-not-appearing-in-the-abap-coding/m-p/3934841#M941796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-27T14:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Database View is not appearing in the ABAP Coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-view-is-not-appearing-in-the-abap-coding/m-p/3934842#M941797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right UNION is not available as option when you create a view in SE11. You could solve this as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Create a view for the first query&lt;/P&gt;&lt;P&gt;- Create a second view for your second query&lt;/P&gt;&lt;P&gt;- In the coding do the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select ........ from VIEW1
  into table lt_table
  where .........

select ....... from VIEW2
  appending table lt_table
  where .........
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would append the data selected in the second query to the data selected in the first query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 14:52:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-view-is-not-appearing-in-the-abap-coding/m-p/3934842#M941797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-27T14:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Database View is not appearing in the ABAP Coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-view-is-not-appearing-in-the-abap-coding/m-p/3934843#M941798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Harish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i populate one internal table by using a database view....as this was not been created by ABAP structure....rather it has been created by using execute SQL statement from ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please give me on example code for that.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Farhad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 May 2009 06:08:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-view-is-not-appearing-in-the-abap-coding/m-p/3934843#M941798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-03T06:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Database View is not appearing in the ABAP Coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-view-is-not-appearing-in-the-abap-coding/m-p/3934844#M941799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am waiting for reply....is there any one can help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 10:43:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-view-is-not-appearing-in-the-abap-coding/m-p/3934844#M941799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T10:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Database View is not appearing in the ABAP Coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-view-is-not-appearing-in-the-abap-coding/m-p/3934845#M941800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pls guys pls give the solution....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 07:11:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-view-is-not-appearing-in-the-abap-coding/m-p/3934845#M941800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-05T07:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Database View is not appearing in the ABAP Coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-view-is-not-appearing-in-the-abap-coding/m-p/3934846#M941801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; This view i could not use from ABAP codes, ABAP/4 only identified by views which we would create from T-code &lt;STRONG&gt;se11&lt;/STRONG&gt;. Now tell me how could I solve this issue. Because in this query i did some UNION which is not directly available in teh &lt;STRONG&gt;se11&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Please help me how to handle this situation. Because if I can use this sort of native sql views, I could solve lot of things in the development.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; rgds&lt;/P&gt;&lt;P&gt;&amp;gt; Farhad&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You can use real SQL to query non SE11 created database tables - look at the SAP help on EXEC SQL - but this is really not a good idea.  For example, it is database specific which removes one of the 'advantages' of SAP ie that it is portable between different database platforms;using SAP's Open SQL should mean that if your company moves to eg SQL Server it shouldn't be necessary to doing any re-coding whereas anything you've done in Oracle SQL will have to be re-coded. There are also other disadvantages of using real SQL eg you don't get any help from the syntax checker and I think you would bypass the whole SAP security level - SAP security is defined at application level and not via database grants.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would bet a reasonable amount of money that there is nothing that you can do in real SQL that you can't replicate in SAP's Open SQL .  Ok the Open SQL solution might be a bit more convoluted and possibly less elegant but you can make it do the same thing.  If you want to stick with Oracle then I guess you should look for a job that uses Oracle rather than SAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 12:32:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-view-is-not-appearing-in-the-abap-coding/m-p/3934846#M941801</guid>
      <dc:creator>christine_evans</dc:creator>
      <dc:date>2009-05-05T12:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Database View is not appearing in the ABAP Coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-view-is-not-appearing-in-the-abap-coding/m-p/3934847#M941802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Christine Evans  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;your big essay doesnt mean to me anything.....I am a customer, I would like to use Oracle or any thing....that up to me......I don't need your suggession such as....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can give me the solution in ABAP, give me that....otherwise....dont misutilize our time......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Farhad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 08:24:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-view-is-not-appearing-in-the-abap-coding/m-p/3934847#M941802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T08:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Database View is not appearing in the ABAP Coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-view-is-not-appearing-in-the-abap-coding/m-p/3934848#M941803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Christine Evans  &lt;/P&gt;&lt;P&gt;&amp;gt;  &lt;/P&gt;&lt;P&gt;&amp;gt; your big essay doesnt mean to me anything.....I am a customer, I would like to use Oracle or any thing....that up to me......I don't need your suggession such as....&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; If you can give me the solution in ABAP, give me that....otherwise....dont misutilize our time......&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Rgds&lt;/P&gt;&lt;P&gt;&amp;gt; Farhad&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Just trying to be helpful.  If you have to work with SAP then the easiest and - more importantly - most easily maintainable way  to do it is to use the SAP supplied tools rather than distorting a development to suit your own particular skills set.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, I did provide the ABAP solution.  In the first sentence.   As did one of the earlier posts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 09:11:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-view-is-not-appearing-in-the-abap-coding/m-p/3934848#M941803</guid>
      <dc:creator>christine_evans</dc:creator>
      <dc:date>2009-05-06T09:11:26Z</dc:date>
    </item>
  </channel>
</rss>

