<?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: creating db view? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-db-view/m-p/1577780#M260857</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can't use bseg in views, because it is a cluster table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can create views using transaction 'SE11'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Sep 2006 12:02:31 GMT</pubDate>
    <dc:creator>dani_mn</dc:creator>
    <dc:date>2006-09-18T12:02:31Z</dc:date>
    <item>
      <title>creating db view?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-db-view/m-p/1577779#M260856</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;As inner join is not allowed on BSEG table...i want to create db view of it so that join could be acheived? Is that ok? How to create db view?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2006 11:59:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-db-view/m-p/1577779#M260856</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-18T11:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: creating db view?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-db-view/m-p/1577780#M260857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can't use bseg in views, because it is a cluster table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can create views using transaction 'SE11'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2006 12:02:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-db-view/m-p/1577780#M260857</guid>
      <dc:creator>dani_mn</dc:creator>
      <dc:date>2006-09-18T12:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: creating db view?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-db-view/m-p/1577781#M260858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Viswanath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U cant use inner join in BSEG table as well as Views as its a cluster table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use 'FOR ALL ENTRIES IN ITAB' for solving ur problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls reward me points if u satisfy with the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Manas Ranjan Panda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2006 12:05:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-db-view/m-p/1577781#M260858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-18T12:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: creating db view?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-db-view/m-p/1577782#M260859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Here is the procedure for creating db view but this can not be created for cluster tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Enter an explanatory short text in the field Short text.&lt;/P&gt;&lt;P&gt;You can for example find the view at a later time using this short text.&lt;/P&gt;&lt;P&gt;2. Define the tables to be included in the view in the Tables field of the Tables/Join&lt;/P&gt;&lt;P&gt;conditions tab page.&lt;/P&gt;&lt;P&gt;Keep in mind that you can only include transparent tables in a database view.&lt;/P&gt;&lt;P&gt;3. Link the tables with join conditions .&lt;/P&gt;&lt;P&gt;If there are suitable foreign keys between the tables, you should copy the join conditions&lt;/P&gt;&lt;P&gt;from these foreign keys .&lt;/P&gt;&lt;P&gt;Place the cursor on a table name and choose Relationships. All foreign keys to other&lt;/P&gt;&lt;P&gt;tables defined for this table are displayed. Select the foreign keys and choose Copy.&lt;/P&gt;&lt;P&gt;The join condition is now derived from the definitions in the foreign key.&lt;/P&gt;&lt;P&gt;If you only want to see the foreign key relationship existing between two tables, you must&lt;/P&gt;&lt;P&gt;first select these two tables (click on the first column of the input area Tables) and then&lt;/P&gt;&lt;P&gt;choose Relationships.&lt;/P&gt;&lt;P&gt;4. On the View fields tab page, select the fields that you want to copy to the view.&lt;/P&gt;&lt;P&gt;Choose Table fields. All the tables contained in the view are displayed in a dialog box.&lt;/P&gt;&lt;P&gt;Select a table. All the fields contained in this table are displayed. You can copy fields by&lt;/P&gt;&lt;P&gt;selecting them in the first column and choosing Copy.&lt;/P&gt;&lt;P&gt;You can also include an entire table in the view.&lt;/P&gt;&lt;P&gt;5. On the Selection conditions tab page, you can (optionally) formulate restrictions for the&lt;/P&gt;&lt;P&gt;data records to be displayed with the view &lt;/P&gt;&lt;P&gt;The selection conditions define the data records that can be selected with the view.&lt;/P&gt;&lt;P&gt;6. With Goto   Technical settings, you can (optionally) maintain the technical settings of&lt;/P&gt;&lt;P&gt;the database view.&lt;/P&gt;&lt;P&gt;You can define whether and how the database view should be buffered here. Proceed as&lt;/P&gt;&lt;P&gt;for the technical settings of a table  Note&lt;/P&gt;&lt;P&gt;that only the settings for buffering can be maintained for database views.&lt;/P&gt;&lt;P&gt;7. On the Maintenance status tab page, select the maintenance status of the&lt;/P&gt;&lt;P&gt;database view.&lt;/P&gt;&lt;P&gt;If the view contains more than one table, the maintenance status read only cannot be&lt;/P&gt;&lt;P&gt;altered.&lt;/P&gt;&lt;P&gt;8. Save your entries. You are asked to assign the view a development class.&lt;/P&gt;&lt;P&gt;You can change this development class later with Goto  Object directory entry.&lt;/P&gt;&lt;P&gt;9. Choose activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a database view is activated, the corresponding view is also automatically created in the&lt;/P&gt;&lt;P&gt;database if the base tables of the view were already created there.&lt;/P&gt;&lt;P&gt;At activation, a log is written; it can be displayed with Utilities   Activation log. If errors or&lt;/P&gt;&lt;P&gt;warnings occurring when the view was activated, they are displayed directly in the activation log.&lt;/P&gt;&lt;P&gt;If the base tables are not yet created in the database, this is recorded in the activation log. The&lt;/P&gt;&lt;P&gt;view is nevertheless activated in the ABAP Dictionary. In this case you can create the relevant&lt;/P&gt;&lt;P&gt;view on the database later with the database utility.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2006 12:09:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-db-view/m-p/1577782#M260859</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-18T12:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: creating db view?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-db-view/m-p/1577783#M260860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to have two fields from bseg table into a inner join. how to achieve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2006 12:11:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-db-view/m-p/1577783#M260860</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-18T12:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: creating db view?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-db-view/m-p/1577784#M260861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    Innner join is not possible on cluster tables&lt;/P&gt;&lt;P&gt;    besg is cluster table .&lt;/P&gt;&lt;P&gt;    You can't create view on bseg table also  is simulation of inner join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2006 12:12:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-db-view/m-p/1577784#M260861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-18T12:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: creating db view?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-db-view/m-p/1577785#M260862</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 want to have two fields from bseg table and two fields from t001 table into a single table. since bseg is a cluster table so inner join is not possible. Any other method to acheive the purpose?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2006 12:29:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-db-view/m-p/1577785#M260862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-18T12:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: creating db view?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-db-view/m-p/1577786#M260863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a coding like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM sbeg &lt;/P&gt;&lt;P&gt;INTO TABLE it_bseg&lt;/P&gt;&lt;P&gt;WHERE ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM t001&lt;/P&gt;&lt;P&gt;INTO TABLE it_t001&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN it_bseg&lt;/P&gt;&lt;P&gt;WHERE bukrs = it_bseg-bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2006 12:33:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-db-view/m-p/1577786#M260863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-18T12:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: creating db view?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-db-view/m-p/1577787#M260864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; You can use for all entries option. &lt;/P&gt;&lt;P&gt;First select the fields what ever you want from t001 then select fields from bseg table using for all entries option into the single internal table by giving where condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Haritha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2006 12:35:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-db-view/m-p/1577787#M260864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-18T12:35:25Z</dc:date>
    </item>
  </channel>
</rss>

