<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-view/m-p/1150737#M117430</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Norman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I know that sy-datum can be declared in maintenance and help views. But I want to download the contents the view in to a file. Can I do that using maintenance view?? I dont think so. Please suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jan 2006 18:36:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-26T18:36:28Z</dc:date>
    <item>
      <title>Database view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-view/m-p/1150735#M117428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really am having a serious issue here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am building a database view based on a z table and pa0002 infotype using employee number as join condition. The pa0002 infotype is having 2 records for each employee number (due to some reason).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the view I am seeing 2 records for each employee (which is expected) but I am trying to filter those records with a selection condition in the database view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to put the following logic in the seelction condition of the database view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Begin date LE sy-datum and&lt;/P&gt;&lt;P&gt;End date   GE sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the 'comparison value' in selection condition of a database view is not taking sy-datum. It is looking for a constant or a string in quotations. I need to compare begin and end dates with todays date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any1 help how to address this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Naren Somen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2006 18:16:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-view/m-p/1150735#M117428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-26T18:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Database view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-view/m-p/1150736#M117429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should be able to use SY-DATUM or SYST-DATUM in Help and Maintenance views.  I don't think you use quotes for the system fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it a MAINTENANCE or HELP View?  Not sure it works with a DB view.  I've only used it with MAINTENANCE and HELP views.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2006 18:30:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-view/m-p/1150736#M117429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-26T18:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Database view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-view/m-p/1150737#M117430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Norman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I know that sy-datum can be declared in maintenance and help views. But I want to download the contents the view in to a file. Can I do that using maintenance view?? I dont think so. Please suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2006 18:36:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-view/m-p/1150737#M117430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-26T18:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Database view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-view/m-p/1150738#M117431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can down load the contents in the view (Using SE11/Se16)but not in maintenance view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lanka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2006 18:42:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-view/m-p/1150738#M117431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-26T18:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Database view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-view/m-p/1150739#M117432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Murthy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes...that is the reason behind creating a database view so that I can download the contents. But it has a restriction..I can not specify sy-datum in the selection method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where as with Maintenance view I can specify sy-datum in the selection method for filtering but can not download.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for a solution which satisfies both scenarios.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2006 18:48:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-view/m-p/1150739#M117432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-26T18:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Database view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-view/m-p/1150740#M117433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you define a HELP VIEW against the database view (or the same tables in the view) and then put the SY-DATUM selection in the HELP VIEW?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2006 18:54:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-view/m-p/1150740#M117433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-26T18:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Database view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-view/m-p/1150741#M117434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Norman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I attach a help view to a database view??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can help view be used for my requirement. If I create a help view can I display the contents of those two tables used in help view like I do in database view??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2006 19:08:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-view/m-p/1150741#M117434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-26T19:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Database view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-view/m-p/1150742#M117435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought you could point one view to another, but I just tried and it doesn't look like it.  Sorry.  I'm still looking around.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2006 19:17:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-view/m-p/1150742#M117435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-26T19:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Database view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-view/m-p/1150743#M117436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hopefully someone will think of a solution.  All I can think of is changing the DATABASE view to a MAINTENANCE view, adding the SY-DATUM restriction, and setting the ACCESS to READ ONLY.  Don't think you could use SE16, so you would have to do something like an ALV to display and download the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2006 19:41:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-view/m-p/1150743#M117436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-26T19:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Database view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-view/m-p/1150744#M117437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Norman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your replies. Ypur replies are rewarding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the solution I came across and implemented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of using sy-datum, I am just comparing end date to '12/31/9999' to get a unique/latest record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2006 20:19:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-view/m-p/1150744#M117437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-26T20:19:17Z</dc:date>
    </item>
  </channel>
</rss>

