<?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 Select Statment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment/m-p/4097264#M979755</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;Here i am retrieving field names of particular table from dd03l table ,but i am facing the problem is..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to get  the field names as they are in Table, but here I am getting in Ascending order  , because they are stored like that in DD03L table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how to solve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;vinesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jul 2008 12:18:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-03T12:18:31Z</dc:date>
    <item>
      <title>Select Statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment/m-p/4097264#M979755</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;Here i am retrieving field names of particular table from dd03l table ,but i am facing the problem is..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to get  the field names as they are in Table, but here I am getting in Ascending order  , because they are stored like that in DD03L table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how to solve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;vinesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 12:18:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment/m-p/4097264#M979755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-03T12:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment/m-p/4097265#M979756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after the select statement use the sort by tablename fieldname..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 12:21:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment/m-p/4097265#M979756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-03T12:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment/m-p/4097266#M979757</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;There is a field called 'Table Position' in table DD03L ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select field names and table position from DD03l where tablename = ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sort the table ascending by table position ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if Helpful..&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;Sachin M M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 12:25:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment/m-p/4097266#M979757</guid>
      <dc:creator>sachin_mathapati</dc:creator>
      <dc:date>2008-07-03T12:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment/m-p/4097267#M979758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;tables:
  dd03l.
parameters :
  s_tabnam like dd03l-tabname.

data :
  t_dd03l like standard table of dd03l.

data :
  fs_dd03l like line of t_dd03l.

select tabname
          fieldname
   from dd03l
   into  corresponding fields of table t_dd03l
 where tabname in s_tabname.

sort t_dd03l by tabname fieldname ascending.

loop at t_dd03l into fs_dd03l.
  at new tabname.
   write :/ fs_dd03l-tabname.
  endat.
  
   write :/ fs_dd03l-fieldname.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swapna.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: NagaSwapna Thota on Jul 3, 2008 2:28 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: NagaSwapna Thota on Jul 3, 2008 2:30 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 12:26:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment/m-p/4097267#M979758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-03T12:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment/m-p/4097268#M979759</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;In your select add one more field called &lt;STRONG&gt;POSITION&lt;/STRONG&gt;  from ddo3l&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and finally sort in ascending by position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get it as you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;rama.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 12:28:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment/m-p/4097268#M979759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-03T12:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment/m-p/4097269#M979760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sachin and Ram..your answer solved the problem..&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, 03 Jul 2008 12:32:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment/m-p/4097269#M979760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-03T12:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment/m-p/4097270#M979761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Sorry ignore my post. It doesn't meet your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swapna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 12:33:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statment/m-p/4097270#M979761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-03T12:33:17Z</dc:date>
    </item>
  </channel>
</rss>

