<?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 Failing to update internal table(deep structure)  using a work area. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/failing-to-update-internal-table-deep-structure-using-a-work-area/m-p/366590#M8027</link>
    <description>&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt;I am trying to update an internal which is within another table.Its actually a deep structure but when i try to update it its giving me a short dump.&lt;/P&gt;&lt;P&gt;Below is my code &lt;/P&gt;&lt;P&gt;*declaration of variables&lt;/P&gt;&lt;P&gt;DATA: it_levy TYPE LB_T_BIL_IT_KOND,&lt;BR /&gt;
 wa_levy LIKE LINE OF it_levy.&lt;/P&gt;&lt;P&gt;*reading the data from the internal table to my work area&lt;BR /&gt;
READ TABLE IS_BIL_INVOICE-IT_KOND[] INTO wa_levy&lt;BR /&gt;
 WITH KEY BIL_NUMBER = GS_IT_GEN-BIL_NUMBER&lt;BR /&gt;
 ITM_NUMBER = GS_IT_GEN-ITM_NUMBER&lt;BR /&gt;
 KSCHL = 'ZWNT' BINARY SEARCH.&lt;/P&gt;&lt;P&gt;*Update certain fields and update the final internal table&lt;BR /&gt;
IF wa_levy-KSCHL = 'ZWNT'.&lt;BR /&gt;
 wa_levy-ITM_NUMBER = '000011'.&lt;BR /&gt;
 wa_levy-KPOSN = '000011'.&lt;BR /&gt;
 MODIFY IS_BIL_INVOICE-IT_KOND[] FROM wa_levy.  *I'm getting a short-dump here&lt;BR /&gt;
ENDIF&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.sap.com/storage/attachments/19768-error-table.jpg"&gt;error-table.jpg&lt;/A&gt;&lt;A href="https://answers.sap.com/storage/attachments/19768-error-table.jpg"&gt;error-table.jpg&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have also attached a screen short of the short dump&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bryan&lt;/P&gt;</description>
    <pubDate>Fri, 10 Feb 2017 09:12:29 GMT</pubDate>
    <dc:creator>bryanjacobs</dc:creator>
    <dc:date>2017-02-10T09:12:29Z</dc:date>
    <item>
      <title>Failing to update internal table(deep structure)  using a work area.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/failing-to-update-internal-table-deep-structure-using-a-work-area/m-p/366590#M8027</link>
      <description>&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt;I am trying to update an internal which is within another table.Its actually a deep structure but when i try to update it its giving me a short dump.&lt;/P&gt;&lt;P&gt;Below is my code &lt;/P&gt;&lt;P&gt;*declaration of variables&lt;/P&gt;&lt;P&gt;DATA: it_levy TYPE LB_T_BIL_IT_KOND,&lt;BR /&gt;
 wa_levy LIKE LINE OF it_levy.&lt;/P&gt;&lt;P&gt;*reading the data from the internal table to my work area&lt;BR /&gt;
READ TABLE IS_BIL_INVOICE-IT_KOND[] INTO wa_levy&lt;BR /&gt;
 WITH KEY BIL_NUMBER = GS_IT_GEN-BIL_NUMBER&lt;BR /&gt;
 ITM_NUMBER = GS_IT_GEN-ITM_NUMBER&lt;BR /&gt;
 KSCHL = 'ZWNT' BINARY SEARCH.&lt;/P&gt;&lt;P&gt;*Update certain fields and update the final internal table&lt;BR /&gt;
IF wa_levy-KSCHL = 'ZWNT'.&lt;BR /&gt;
 wa_levy-ITM_NUMBER = '000011'.&lt;BR /&gt;
 wa_levy-KPOSN = '000011'.&lt;BR /&gt;
 MODIFY IS_BIL_INVOICE-IT_KOND[] FROM wa_levy.  *I'm getting a short-dump here&lt;BR /&gt;
ENDIF&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.sap.com/storage/attachments/19768-error-table.jpg"&gt;error-table.jpg&lt;/A&gt;&lt;A href="https://answers.sap.com/storage/attachments/19768-error-table.jpg"&gt;error-table.jpg&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have also attached a screen short of the short dump&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bryan&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 09:12:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/failing-to-update-internal-table-deep-structure-using-a-work-area/m-p/366590#M8027</guid>
      <dc:creator>bryanjacobs</dc:creator>
      <dc:date>2017-02-10T09:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Failing to update internal table(deep structure)  using a work area.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/failing-to-update-internal-table-deep-structure-using-a-work-area/m-p/366591#M8028</link>
      <description>&lt;P&gt;It's exactly what it says in the dump. You are trying to change the value of an importing parameter.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 10:30:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/failing-to-update-internal-table-deep-structure-using-a-work-area/m-p/366591#M8028</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2017-02-10T10:30:09Z</dc:date>
    </item>
  </channel>
</rss>

