<?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 views in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-views/m-p/7061487#M1503389</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't. Why do you need a view, a SELECT in your ABAP program will achieve the same (but you definitely can't make this kind of operation on fields in Open SQL).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jul 2010 21:02:28 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2010-07-14T21:02:28Z</dc:date>
    <item>
      <title>Creating views</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-views/m-p/7061486#M1503388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon, people of the forum ... &lt;/P&gt;&lt;P&gt;You see, I have the following problem: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm in SE11 transaction for creating views from multiple tables ... &lt;/P&gt;&lt;P&gt;How I can do to get part of a field of a table in a view? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If one of the input tables of my view is the table KNA1 (Customer Master), I would like one of the target fields of the view to have the transportation zone (KNA1-LZONE), but only the part that goes from position 1 to position 4 of the field ... ie if the field has the value '010406 ', I just want to get the value '0104' in the target field of my view ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible to do this?? &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 19:32:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-views/m-p/7061486#M1503388</guid>
      <dc:creator>miguelngel_garcsramrez</dc:creator>
      <dc:date>2010-07-14T19:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Creating views</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-views/m-p/7061487#M1503389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't. Why do you need a view, a SELECT in your ABAP program will achieve the same (but you definitely can't make this kind of operation on fields in Open SQL).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 21:02:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-views/m-p/7061487#M1503389</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-07-14T21:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Creating views</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-views/m-p/7061488#M1503390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I wanted to create a view because the ABAP program works with a lot of data and tables... and it began to become slow.&lt;/P&gt;&lt;P&gt;Besides It has dynamic selects, so it's not that easy to modify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If y can't get part of the field, I guess I'll get the complete field in the view an then work with it in my ABAP Program...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 22:31:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-views/m-p/7061488#M1503390</guid>
      <dc:creator>miguelngel_garcsramrez</dc:creator>
      <dc:date>2010-07-14T22:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Creating views</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-views/m-p/7061489#M1503391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Performance between a view and an open sql are exactly the same, because database executes a view as if it was an SQL query (it doesn't store anything about views). Don't be confused when SAP says to use existing views because they are known to be performing: it's just because the join (for example) has been already tested, so it's best to use something already tested than risking to do a "bad" select.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 22:45:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-views/m-p/7061489#M1503391</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-07-14T22:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Creating views</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-views/m-p/7061490#M1503392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure what you are trying to achieve from the view .. But to answer to your Question related to Pattern.. You can have this by using maintenance view .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Maintenance view can allow you to show  position 1 to position 4 of the field by modifying the screen . ( play with Flow logic ).&lt;/P&gt;&lt;P&gt;2. you can also provide the selection condition in maintenance view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be achieved in select statement if the result of the columns are specified explicitly to target fields. You can specify the result in the list of elementary data objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System ; ECC6.&lt;/P&gt;&lt;P&gt;ex: data : lw_kunnr(3) type c.&lt;/P&gt;&lt;P&gt;data : lw_name type kna1-name1.&lt;/P&gt;&lt;P&gt;select SINGLE kunnr  Name1 into (lw_kunnr, lw_name ) from kna1 where&lt;/P&gt;&lt;P&gt;kunnr =&lt;/P&gt;&lt;P&gt;'0000009999'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write : lw_kunnr, lw_name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;result :&lt;/P&gt;&lt;P&gt;000 SWISS XXXXXXXXXXXXXXX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Jul 2010 21:02:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-views/m-p/7061490#M1503392</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-18T21:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Creating views</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-views/m-p/7061491#M1503393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answers but I finally decided to get the requested characters in the ABAP Program&lt;/P&gt;&lt;P&gt;Thanks anyway...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 17:43:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-views/m-p/7061491#M1503393</guid>
      <dc:creator>miguelngel_garcsramrez</dc:creator>
      <dc:date>2010-07-19T17:43:13Z</dc:date>
    </item>
  </channel>
</rss>

