<?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: Reg:SAP Query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-sap-query/m-p/5571483#M1270891</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did`t write any of the codings to display automatically it will create the program .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for this how we can write the coding to display .... there it is not creating the internal table .. so for this how we can write this can u help me ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manoja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 May 2009 12:51:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-18T12:51:42Z</dc:date>
    <item>
      <title>Reg:SAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-sap-query/m-p/5571481#M1270889</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;&lt;/P&gt;&lt;P&gt;    I have displayed the output in SAP QUery ... i want to change the output position from 1 coloum to another coloum in SAP Query how we can do this can any suugest me &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;&lt;/P&gt;&lt;P&gt;Manoja&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moderator message - duplicate post locked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on May 18, 2009 12:48 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 11:37:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-sap-query/m-p/5571481#M1270889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T11:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Reg:SAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-sap-query/m-p/5571482#M1270890</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;Suppose your internal table itab has the structure of =&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;column1 column2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and you have written the SAP Query to display the output in same format as your internal table structure .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;Write: itab-column1, itab-column2.&lt;/P&gt;&lt;P&gt;endloop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Output:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;column1 column2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now to swap the columns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to code in this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Loop at itab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;write: itab-column2, itab-column1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;endloop.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Output:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; Column2 column1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Anup Verma on May 18, 2009 1:41 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 11:41:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-sap-query/m-p/5571482#M1270890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T11:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Reg:SAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-sap-query/m-p/5571483#M1270891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did`t write any of the codings to display automatically it will create the program .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for this how we can write the coding to display .... there it is not creating the internal table .. so for this how we can write this can u help me ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manoja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 12:51:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-sap-query/m-p/5571483#M1270891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T12:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Reg:SAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-sap-query/m-p/5571484#M1270892</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;Go to SQ01 Transaction than click on the infoset query. There you will find options like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field/field groups    selections and output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to click on the check buttons which columns you want to select first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will solve your query.&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;Nikhil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 13:10:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-sap-query/m-p/5571484#M1270892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T13:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Reg:SAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-sap-query/m-p/5571485#M1270893</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;For changing the order of columns in the output in SAP query in the output just drag and drop the filed which ever needed.first drag the column which you want to change and then drop in the postion where you want to change.There is no need of coding for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;KK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 16:43:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-sap-query/m-p/5571485#M1270893</guid>
      <dc:creator>KK07</dc:creator>
      <dc:date>2009-05-18T16:43:14Z</dc:date>
    </item>
  </channel>
</rss>

