<?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: sort one field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-one-field/m-p/4345040#M1034845</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pranu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I m thankful for u also . U have provided me very important coding for problem solving and as a learning point of view .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;sk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Aug 2008 04:49:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-23T04:49:19Z</dc:date>
    <item>
      <title>sort one field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-one-field/m-p/4345034#M1034839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INFOTYPES: 0000, 0001, 0002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET PERNR .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROVIDE * FROM P0000 BETWEEN PN-BEGDA AND PN-ENDDA where p0000-STAT2 = '3'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:  /2 P0000-PERNR, 23 P0001-ENAME,&lt;/P&gt;&lt;P&gt;        91 P0001-BTRTL ,114 P0002-GBDAT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDPROVIDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT PLSTX PLANS FROM T528T INTO (ITAB-PLSTX, ITAB-PLANS) WHERE PLANS = P0001-PLANS.&lt;/P&gt;&lt;P&gt;WRITE: 57 ITAB-PLSTX.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;END-OF-SELECTION. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i wanna sort GBDAT which is date of birth in ascending order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;sk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2008 05:30:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-one-field/m-p/4345034#M1034839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-21T05:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: sort one field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-one-field/m-p/4345035#M1034840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whats the solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2008 06:25:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-one-field/m-p/4345035#M1034840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-21T06:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: sort one field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-one-field/m-p/4345036#M1034841</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;i have given coding. U see this coding. Tell me the answer.&lt;/P&gt;&lt;P&gt;Because i m new in ABAP-HR well as ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;sk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 04:32:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-one-field/m-p/4345036#M1034841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T04:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: sort one field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-one-field/m-p/4345037#M1034842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Provide in HR-ABAP works like a loop in Normal ABAP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The infotype records are imported to internal table Pnnnn (e.g. P0001 for infotype 0001). These tables are then processed in PROVIDE-ENDPROVIDE loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If You want to access records of two infotypes in a single Provide.. You can use code similar to following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROVIDE * FROM P0001&lt;/P&gt;&lt;P&gt;                &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FROM P0002&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                  BETWEEN PN-BEGDA AND PN-ENDDA.&lt;/P&gt;&lt;P&gt;         WRITE:/ .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END PROVIDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And remember that P0001 and P0002 are internal tables.. if you want all the data in the sorted format .. you can append the data into another Internal table (e.g I_PA0001), and Print it after the END_OF_SELECTION event.. sort by the field you want to, and Print, this would solve your sorting problem..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 04:54:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-one-field/m-p/4345037#M1034842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T04:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: sort one field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-one-field/m-p/4345038#M1034843</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;See this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;========&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report  ZSCD_TEST14&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZSCD_TEST14.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INFOTYPES: 0000, 0001, 0002.&lt;/P&gt;&lt;P&gt;tables : pernr, t528T.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: begin of ty_p0000,&lt;/P&gt;&lt;P&gt;        pernr type p0000-pernr,&lt;/P&gt;&lt;P&gt;        ename type p0001-ename,&lt;/P&gt;&lt;P&gt;        btrtl type p0001-btrtl,&lt;/P&gt;&lt;P&gt;        gbdat type p0002-gbdat,&lt;/P&gt;&lt;P&gt;        PLSTX type T528T-PLSTX,&lt;/P&gt;&lt;P&gt;       end of ty_p0000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: it_p0000 type standard table of ty_p0000,&lt;/P&gt;&lt;P&gt;      wa_p0000 type ty_p0000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET PERNR .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROVIDE * FROM P0000 BETWEEN PN-BEGDA AND PN-ENDDA where p0000-STAT2 = '3'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_p0000-pernr = p0000-pernr.&lt;/P&gt;&lt;P&gt;wa_p0000-ename = p0001-ename.&lt;/P&gt;&lt;P&gt;wa_p0000-btrtl = p0001-btrtl.&lt;/P&gt;&lt;P&gt;wa_p0000-gbdat = p0002-gbdat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDPROVIDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT PLSTX PLANS FROM T528T INTO (t528T-PLSTX, t528T-PLANS) WHERE PLANS = P0001-PLANS.&lt;/P&gt;&lt;P&gt;*WRITE: 57 t528T-PLSTX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_p0000-plstx = t528T-plstx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append wa_p0000 to it_p0000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;END-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort it_p0000 by GBDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_p0000 into wa_p0000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: /2 wa_p0000-PERNR, 23 wa_p0000-ENAME,&lt;/P&gt;&lt;P&gt;60 wa_p0000-BTRTL ,75 wa_p0000-GBDAT , 90 wa_p0000-plstx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;========&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reagrds,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 05:02:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-one-field/m-p/4345038#M1034843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T05:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: sort one field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-one-field/m-p/4345039#M1034844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I m really very thankful to u for ur very important guidence for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;SK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Aug 2008 04:45:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-one-field/m-p/4345039#M1034844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-23T04:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: sort one field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-one-field/m-p/4345040#M1034845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pranu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I m thankful for u also . U have provided me very important coding for problem solving and as a learning point of view .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;sk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Aug 2008 04:49:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-one-field/m-p/4345040#M1034845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-23T04:49:19Z</dc:date>
    </item>
  </channel>
</rss>

