<?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: Regarding Control break Statements in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-control-break-statements/m-p/4645039#M1093295</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line DATe CARTNO VBELN &lt;/P&gt;&lt;P&gt;1 20081022 0000000004 0080030087 &lt;/P&gt;&lt;P&gt;2 20081022 0000000005 0080030058 &lt;/P&gt;&lt;P&gt;3 20081022 0000000006 0080030078 &lt;/P&gt;&lt;P&gt;4 want to insert a line&lt;/P&gt;&lt;P&gt;5 20081023 0000000004 0080030087 &lt;/P&gt;&lt;P&gt;6 20081023 0000000005 0080030058 &lt;/P&gt;&lt;P&gt;7 20081023 0000000006 0080030078 &lt;/P&gt;&lt;P&gt;8 want to insert a line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you want to insert a new line in 4th place then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using &lt;/P&gt;&lt;P&gt;at last 20081002 filed name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append 3lines before at last &lt;/P&gt;&lt;P&gt;and append 4th line in the at last statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e creat a new internal table in the loop move all the fileds in before at last and also append before at last then in u r internal table u will have 3records then in at last 4th record will be add.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Santosh Marupally on Oct 24, 2008 9:10 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Oct 2008 07:10:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-24T07:10:07Z</dc:date>
    <item>
      <title>Regarding Control break Statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-control-break-statements/m-p/4645037#M1093293</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;can u help me regarding coontrol brak statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a data like this:&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;Line  DATe         CARTNO       VBELN  &lt;/P&gt;&lt;P&gt;   1   20081022    0000000004    0080030087       &lt;/P&gt;&lt;P&gt;   2   20081022    0000000005    0080030058       &lt;/P&gt;&lt;P&gt;   3   20081022    0000000006    0080030078       &lt;/P&gt;&lt;P&gt;   4  want to insert a line&lt;/P&gt;&lt;P&gt;   5   20081023   0000000004    0080030087       &lt;/P&gt;&lt;P&gt;   6   20081023    0000000005    0080030058       &lt;/P&gt;&lt;P&gt;   7   20081023   0000000006    0080030078       &lt;/P&gt;&lt;P&gt;   8  want to insert a line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my final internal table i got 6 records which u can see in above  example..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_final into wa_final.&lt;/P&gt;&lt;P&gt;    CLEAR lv_tabix.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   lv_tabix = sy-tabix.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   at new ccdat.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   wa_final_tp-pckno = lv_pckno.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   wa_final_tp-qanty = lv_qty.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   insert wa_final_tp into table it_final_tp.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    wa_final_tp-ccdat = wa_final-ccdat.&lt;/P&gt;&lt;P&gt;    wa_final_tp-cartno = wa_final-cartno.&lt;/P&gt;&lt;P&gt;    wa_final_tp-lifnr = wa_final-lifnr.&lt;/P&gt;&lt;P&gt;    wa_final_tp-loryno = wa_final-loryno.&lt;/P&gt;&lt;P&gt;    wa_final_tp-frloc = wa_final-frloc.&lt;/P&gt;&lt;P&gt;    wa_final_tp-pckno = wa_final-pckno.&lt;/P&gt;&lt;P&gt;    wa_final_tp-qanty = wa_final-qanty.&lt;/P&gt;&lt;P&gt;    wa_final_tp-vbeln = wa_final-vbeln.&lt;/P&gt;&lt;P&gt;    wa_final_tp-repid = wa_final-repid.&lt;/P&gt;&lt;P&gt;    wa_final_tp-matnr = wa_final-matnr.&lt;/P&gt;&lt;P&gt;    wa_final_tp-openo = wa_final-openo.&lt;/P&gt;&lt;P&gt;    wa_final_tp-name1 = wa_final-name1.&lt;/P&gt;&lt;P&gt;    wa_final_tp-toloc = wa_final-toloc.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; wa_final-todat = wa_freight-todat.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    wa_final_tp-flgort = wa_final-flgort.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; wa_final-tlogrt = wa_freight-tlgort.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    wa_final_tp-dmbtr = wa_final-dmbtr.&lt;/P&gt;&lt;P&gt;    wa_final_tp-lfgja = wa_final-lfgja.&lt;/P&gt;&lt;P&gt;    wa_final_tp-lfmon = wa_final-lfmon.&lt;/P&gt;&lt;P&gt;    wa_final_tp-tlfgja = wa_final-tlfgja.&lt;/P&gt;&lt;P&gt;    wa_final_tp-tlfmon = wa_final-tlfmon.&lt;/P&gt;&lt;P&gt;    wa_final_tp-flfgja = wa_final-flfgja.&lt;/P&gt;&lt;P&gt;    wa_final_tp-flfmon = wa_final-flfmon.&lt;/P&gt;&lt;P&gt;    wa_final_tp-usnam = wa_final-usnam.&lt;/P&gt;&lt;P&gt;    wa_final_tp-modat = wa_final-modat.&lt;/P&gt;&lt;P&gt;    wa_final_tp-motim = wa_final-motim.&lt;/P&gt;&lt;P&gt;    APPEND wa_final_tp to it_final_tp.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   read table it_freight into wa_freight with key ccdat = wa_final-ccdat&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                                  loryno = wa_final-loryno.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   if sy-subrc = 0.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*endat.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   lv_tabix = sy-tabix.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  at new ccdat.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    lv1_tabix = lv_tabix.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    lv_tabix = sy-tabix.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    lv2_tabix = lv_tabix + 1.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*insert wa_final_tp into table it_final_tp.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ENDAT.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;if do like this it is not working.. can any help in this regrd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " DISPLAY_DATA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 07:06:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-control-break-statements/m-p/4645037#M1093293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T07:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Control break Statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-control-break-statements/m-p/4645038#M1093294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u want to insert lines after 3 and 6 records?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line DATe CARTNO VBELN&lt;/P&gt;&lt;P&gt;1 20081022 0000000004 0080030087&lt;/P&gt;&lt;P&gt;2 20081022 0000000005 0080030058&lt;/P&gt;&lt;P&gt;3 20081022 0000000006 0080030078&lt;/P&gt;&lt;P&gt;4 want to insert a line&lt;/P&gt;&lt;P&gt;5 20081023 0000000004 0080030087&lt;/P&gt;&lt;P&gt;6 20081023 0000000005 0080030058&lt;/P&gt;&lt;P&gt;7 20081023 0000000006 0080030078&lt;/P&gt;&lt;P&gt;8 want to insert a line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at end of 'date'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;insert line in itab.&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Anil Kalive on Oct 24, 2008 12:42 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 07:08:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-control-break-statements/m-p/4645038#M1093294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T07:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Control break Statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-control-break-statements/m-p/4645039#M1093295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line DATe CARTNO VBELN &lt;/P&gt;&lt;P&gt;1 20081022 0000000004 0080030087 &lt;/P&gt;&lt;P&gt;2 20081022 0000000005 0080030058 &lt;/P&gt;&lt;P&gt;3 20081022 0000000006 0080030078 &lt;/P&gt;&lt;P&gt;4 want to insert a line&lt;/P&gt;&lt;P&gt;5 20081023 0000000004 0080030087 &lt;/P&gt;&lt;P&gt;6 20081023 0000000005 0080030058 &lt;/P&gt;&lt;P&gt;7 20081023 0000000006 0080030078 &lt;/P&gt;&lt;P&gt;8 want to insert a line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you want to insert a new line in 4th place then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using &lt;/P&gt;&lt;P&gt;at last 20081002 filed name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append 3lines before at last &lt;/P&gt;&lt;P&gt;and append 4th line in the at last statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e creat a new internal table in the loop move all the fileds in before at last and also append before at last then in u r internal table u will have 3records then in at last 4th record will be add.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Santosh Marupally on Oct 24, 2008 9:10 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 07:10:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-control-break-statements/m-p/4645039#M1093295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T07:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Control break Statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-control-break-statements/m-p/4645040#M1093296</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;Use at-end of on date field of itab..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 07:17:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-control-break-statements/m-p/4645040#M1093296</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T07:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Control break Statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-control-break-statements/m-p/4645041#M1093297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Insert into &amp;lt;ITAB&amp;gt; at index sy-tabix will work.&lt;/P&gt;&lt;P&gt;Just a word of caution.&lt;/P&gt;&lt;P&gt;Since you are looping and inserting in same internal table,  takecare that loop will not go into infinity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Sudhaker&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 07:17:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-control-break-statements/m-p/4645041#M1093297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T07:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Control break Statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-control-break-statements/m-p/4645042#M1093298</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;you want insert a record in itab before coming new date.&lt;/P&gt;&lt;P&gt;as per ur example...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line DATe CARTNO VBELN&lt;/P&gt;&lt;P&gt;1 20081022 0000000004 0080030087&lt;/P&gt;&lt;P&gt;2 20081022 0000000005 0080030058&lt;/P&gt;&lt;P&gt;3 20081022 0000000006 0080030078&lt;/P&gt;&lt;P&gt;4 want to insert a line&lt;/P&gt;&lt;P&gt;5 20081023 0000000004 0080030087&lt;/P&gt;&lt;P&gt;6 20081023 0000000005 0080030058&lt;/P&gt;&lt;P&gt;7 20081023 0000000006 0080030078&lt;/P&gt;&lt;P&gt;8 want to insert a line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So wat u will do for this, use &lt;STRONG&gt;At End&lt;/STRONG&gt; statement in loop on field &lt;STRONG&gt;DATE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that u write code like this..&lt;/P&gt;&lt;P&gt;At New itab-Date.&lt;/P&gt;&lt;P&gt;Read table itab2 into wa_itab2.&lt;/P&gt;&lt;P&gt;insert wa_itab2 into table itab index sy-tabix.&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;Shankar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 07:18:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-control-break-statements/m-p/4645042#M1093298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T07:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Control break Statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-control-break-statements/m-p/4645043#M1093299</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;wat ever logic u said is not wrking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at last fieldname &lt;/P&gt;&lt;P&gt;enat.&lt;/P&gt;&lt;P&gt;this dnt work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i mean with  the same date i should a add aline.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 08:37:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-control-break-statements/m-p/4645043#M1093299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T08:37:36Z</dc:date>
    </item>
  </channel>
</rss>

