<?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 Is it possible to write an abap code be SAP SQL query.(ECC 6) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-write-an-abap-code-be-sap-sql-query-ecc-6/m-p/3405221#M817772</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to write an abap code be SAP SQL query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scenario : table A has a field say f1 of length 10 and table B has a field say s1 of lenght 20. in sap sql i am able to link all the other tables but i am not able to link &lt;/P&gt;&lt;P&gt;table A&lt;SUP&gt;f1 ---&amp;gt;Table B&lt;/SUP&gt;s1. as the length doesnot match. so is it possibel that using abap code I can pick 10 characters from table A field f1 adjust it to 20 characters using abap and map it to field s1 of table B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know how to accomplish this if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Feb 2008 08:00:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-08T08:00:55Z</dc:date>
    <item>
      <title>Is it possible to write an abap code be SAP SQL query.(ECC 6)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-write-an-abap-code-be-sap-sql-query-ecc-6/m-p/3405221#M817772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to write an abap code be SAP SQL query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scenario : table A has a field say f1 of length 10 and table B has a field say s1 of lenght 20. in sap sql i am able to link all the other tables but i am not able to link &lt;/P&gt;&lt;P&gt;table A&lt;SUP&gt;f1 ---&amp;gt;Table B&lt;/SUP&gt;s1. as the length doesnot match. so is it possibel that using abap code I can pick 10 characters from table A field f1 adjust it to 20 characters using abap and map it to field s1 of table B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know how to accomplish this if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 08:00:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-write-an-abap-code-be-sap-sql-query-ecc-6/m-p/3405221#M817772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T08:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to write an abap code be SAP SQL query.(ECC 6)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-write-an-abap-code-be-sap-sql-query-ecc-6/m-p/3405222#M817773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello hemaraaja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For optimal results, the fields should be the same lenght/type. Even, some times the ABAP compiler do not let you use different field type to extract data from db tables to internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, type the code you are trying to use (specifying db tables, internal tables, etc).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;José Gabriel Martínez.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 08:21:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-write-an-abap-code-be-sap-sql-query-ecc-6/m-p/3405222#M817773</guid>
      <dc:creator>josgabriel_martnez</dc:creator>
      <dc:date>2008-02-08T08:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to write an abap code be SAP SQL query.(ECC 6)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-write-an-abap-code-be-sap-sql-query-ecc-6/m-p/3405223#M817774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your prompt reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to clarify i am using SAP SQL Query (sq01 sq02) to generate a list. tables/fields are LIPS-MATNR and AUSP-OBJEK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sai.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 08:27:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-write-an-abap-code-be-sap-sql-query-ecc-6/m-p/3405223#M817774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T08:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to write an abap code be SAP SQL query.(ECC 6)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-write-an-abap-code-be-sap-sql-query-ecc-6/m-p/3405224#M817775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Hemaraaja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can easily do so. But you need to keep in mind that while mapping the field of table A to table B the length should be same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This you can do by just transferring the field from table A say field 1 (10 char) to another variable say Var 1 (20 char)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then map Var 1 (20 char) to field of table 2 say field 2 (20 char).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jayant Sahu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 08:28:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-write-an-abap-code-be-sap-sql-query-ecc-6/m-p/3405224#M817775</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T08:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to write an abap code be SAP SQL query.(ECC 6)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-write-an-abap-code-be-sap-sql-query-ecc-6/m-p/3405225#M817776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jayant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your reply..... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how do i do this using SAP Sql query( tcode :sq01/sq02). can you please explain me in details. &lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Hem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 08:32:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-write-an-abap-code-be-sap-sql-query-ecc-6/m-p/3405225#M817776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T08:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to write an abap code be SAP SQL query.(ECC 6)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-write-an-abap-code-be-sap-sql-query-ecc-6/m-p/3405226#M817777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Herm,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adding code is done in the infoset.&lt;/P&gt;&lt;P&gt;Please do following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Goto SQ02&lt;/P&gt;&lt;P&gt;&amp;gt; Type in the infoset that the basis for your query, &amp;lt;change&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Press &amp;lt;code&amp;gt; OR &amp;lt;shift&amp;gt;&amp;lt;f8&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Tou'll see 4 tabs: Extras, Selections, Code, Enhancements.&lt;/P&gt;&lt;P&gt;&amp;gt; GoTo tab Code&lt;/P&gt;&lt;P&gt;&amp;gt; Choose the coding section (&amp;lt;f4&amp;gt; gives you an overview)&lt;/P&gt;&lt;P&gt;&amp;gt; Enter the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may set a breakpoint to see what the query in SQ01 will do with it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Succes!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2008 12:32:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-write-an-abap-code-be-sap-sql-query-ecc-6/m-p/3405226#M817777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-25T12:32:21Z</dc:date>
    </item>
  </channel>
</rss>

