<?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 abap display in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-display/m-p/3078057#M729928</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;I have a situation like this:&lt;/P&gt;&lt;P&gt;I need to display an internal table through abap display as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Order No:----&lt;/P&gt;&lt;HR originaltext="----------------" /&gt;&lt;P&gt;Item no:----&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;(If any under that order no.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;orderno.........&lt;/P&gt;&lt;P&gt;item no.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;likewise display..........&lt;/P&gt;&lt;P&gt;Any help?....&lt;/P&gt;&lt;P&gt;thanks in advance.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Dec 2007 16:16:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-03T16:16:16Z</dc:date>
    <item>
      <title>abap display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-display/m-p/3078057#M729928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;I have a situation like this:&lt;/P&gt;&lt;P&gt;I need to display an internal table through abap display as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Order No:----&lt;/P&gt;&lt;HR originaltext="----------------" /&gt;&lt;P&gt;Item no:----&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;(If any under that order no.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;orderno.........&lt;/P&gt;&lt;P&gt;item no.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;likewise display..........&lt;/P&gt;&lt;P&gt;Any help?....&lt;/P&gt;&lt;P&gt;thanks in advance.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 16:16:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-display/m-p/3078057#M729928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-03T16:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: abap display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-display/m-p/3078058#M729929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT ITAB.
  WRITE: / 'Order No:', itab-order.
  if not itab-item is initial.
  WRITE: / 'Item No:', itab-item.
  endif.
  skip 1.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 16:19:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-display/m-p/3078058#M729929</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-12-03T16:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: abap display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-display/m-p/3078059#M729930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how can we do this using at endat.....&lt;/P&gt;&lt;P&gt;this 2 fields are not the first 2 fields inmy table.....&lt;/P&gt;&lt;P&gt;can we sort them and use at endat logic......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 16:32:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-display/m-p/3078059#M729930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-03T16:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: abap display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-display/m-p/3078060#M729931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you can use the AT ENDAT on the LINE number but the probelm will be if the other field which are ahead of the ORDER and LINE will change your AT event will fire. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, put your fields ORDER  and LINE at the first two fields and try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SORT ITAB BY ORDER LINE.
LOOP AT ITAB.
  AT END OF LINE.
    WRITE:  / 'Order', ITAB-ORDER,
    WRITE: / 'Item', ITAB-ITEM.
  ENDAT.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 16:35:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-display/m-p/3078060#M729931</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-12-03T16:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: abap display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-display/m-p/3078061#M729932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kartikey,&lt;/P&gt;&lt;P&gt;  First You Sort your internal table upto Order no, Item no fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Forexample:&lt;/P&gt;&lt;P&gt;    Sort itab by field1&lt;/P&gt;&lt;P&gt;                      field2&lt;/P&gt;&lt;P&gt;                      -&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;                      Orderno&lt;/P&gt;&lt;P&gt;                      itemno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;  at endat.&lt;/P&gt;&lt;P&gt;  WRITE: / 'Order No:', itab-order.&lt;/P&gt;&lt;P&gt;  WRITE: / 'Item No:', itab-item.&lt;/P&gt;&lt;P&gt;  endat.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 16:40:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-display/m-p/3078061#M729932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-03T16:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: abap display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-display/m-p/3078062#M729933</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;Try to use (Due to your sort fields are not as first fields in your internal table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SORT ITAB BY ORDERNO.
LOOP AT ITAB.
ON CHANGE OF ITAB-ORDERNO.
WRITE: / 'Order No', ITAB-ORDERNO.
ENDON.
WRITE :/ Item No:' , ITAB-ITEMNO.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 16:41:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-display/m-p/3078062#M729933</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-12-03T16:41:29Z</dc:date>
    </item>
  </channel>
</rss>

