<?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: modify in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify/m-p/2979333#M703386</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;make use of flags and control breaks.&lt;/P&gt;&lt;P&gt;check below code&lt;/P&gt;&lt;P&gt;DATA : V_FLAG TYPE FLAG.&lt;/P&gt;&lt;P&gt;data : v_tabix type sy-tabix.&lt;/P&gt;&lt;P&gt;at new belnr .&lt;/P&gt;&lt;P&gt;v_flag = 'X'.&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;if v_flag = 'X'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;v_tabix = v_tabix + 1.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;modify itab where index = v_tabix.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Nov 2007 14:08:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-06T14:08:39Z</dc:date>
    <item>
      <title>modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify/m-p/2979332#M703385</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;&lt;/P&gt;&lt;P&gt;i need fetch bset-fwste(tax amount), comparing with bkpf fields of bukrs,belnr,gjahr.&lt;/P&gt;&lt;P&gt;if for particuler belnr has 5 line items then tax amount contains 5 values for all those 5 line items .how to use modify for these line items in read table .&lt;/P&gt;&lt;P&gt;please help me urgent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 13:56:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify/m-p/2979332#M703385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T13:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify/m-p/2979333#M703386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;make use of flags and control breaks.&lt;/P&gt;&lt;P&gt;check below code&lt;/P&gt;&lt;P&gt;DATA : V_FLAG TYPE FLAG.&lt;/P&gt;&lt;P&gt;data : v_tabix type sy-tabix.&lt;/P&gt;&lt;P&gt;at new belnr .&lt;/P&gt;&lt;P&gt;v_flag = 'X'.&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;if v_flag = 'X'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;v_tabix = v_tabix + 1.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;modify itab where index = v_tabix.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 14:08:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify/m-p/2979333#M703386</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T14:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify/m-p/2979334#M703387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;BELNR line items will bein BSEG table&lt;/P&gt;&lt;P&gt;so write a select to BSEG for the required fields (check if these line items are in BSIS&amp;lt;BSAS,BSID,BSAD,BSIK,BSAK then use that table)&lt;/P&gt;&lt;P&gt;into itab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for all enteries of this itab fetch the data from BSET into itab1.&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;  read table itab1 with key belnr = itab-belnr gjahr = itab-gjahr buzei = itab-buzei.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  itab- field1 = itab1-field1.&lt;/P&gt;&lt;P&gt;   ...assign like this..&lt;/P&gt;&lt;P&gt;   modify itab index sy-tabix transaporting field1..&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 14:13:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify/m-p/2979334#M703387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T14:13:03Z</dc:date>
    </item>
  </channel>
</rss>

