<?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: lt_case_ref  internal table not refreshing in IF_SCMG_CASE_API~OPEN_CASE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/lt-case-ref-internal-table-not-refreshing-in-if-scmg-case-api-open-case/m-p/8384458#M1643177</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved myself&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Nov 2011 19:31:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-11-10T19:31:35Z</dc:date>
    <item>
      <title>lt_case_ref  internal table not refreshing in IF_SCMG_CASE_API~OPEN_CASE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lt-case-ref-internal-table-not-refreshing-in-if-scmg-case-api-open-case/m-p/8384457#M1643176</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 am fetching case details using UDM_DC_NOTES_GET function module inside my it_items loop to get the case note details for each item,  internally it is calling open_case method.&lt;/P&gt;&lt;P&gt;in side &lt;STRONG&gt;open_case&lt;/STRONG&gt; method (IF_SCMG_CASE_API~OPEN_CASE) there is a statement &lt;STRONG&gt;Append ls_case_ref to lt_case_ref&lt;/STRONG&gt;  . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is  lt_case_ref internal table is keep on appending for each and every record, so its causing internal table memory run time error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help how to refresh lt_case_ref internal table after UDM_DC_NOTES_GET function call..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the code i am using in my program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_items into wa_items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; notes for given each case guid&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'UDM_DC_NOTES_GET'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      im_guid   = wa_items.-case_guid&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      es_return = ls_return&lt;/P&gt;&lt;P&gt;      et_notes  = lt_notes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sireesha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 14:51:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lt-case-ref-internal-table-not-refreshing-in-if-scmg-case-api-open-case/m-p/8384457#M1643176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-09T14:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: lt_case_ref  internal table not refreshing in IF_SCMG_CASE_API~OPEN_CASE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lt-case-ref-internal-table-not-refreshing-in-if-scmg-case-api-open-case/m-p/8384458#M1643177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved myself&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 19:31:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lt-case-ref-internal-table-not-refreshing-in-if-scmg-case-api-open-case/m-p/8384458#M1643177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-10T19:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: lt_case_ref  internal table not refreshing in IF_SCMG_CASE_API~OPEN_CASE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lt-case-ref-internal-table-not-refreshing-in-if-scmg-case-api-open-case/m-p/8384459#M1643178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please mark this question as answered.........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 19:42:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lt-case-ref-internal-table-not-refreshing-in-if-scmg-case-api-open-case/m-p/8384459#M1643178</guid>
      <dc:creator>rakesh_m2</dc:creator>
      <dc:date>2011-11-10T19:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: lt_case_ref  internal table not refreshing in IF_SCMG_CASE_API~OPEN_CASE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lt-case-ref-internal-table-not-refreshing-in-if-scmg-case-api-open-case/m-p/8384460#M1643179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please mark this question as answered.........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 19:43:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lt-case-ref-internal-table-not-refreshing-in-if-scmg-case-api-open-case/m-p/8384460#M1643179</guid>
      <dc:creator>rakesh_m2</dc:creator>
      <dc:date>2011-11-10T19:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: lt_case_ref  internal table not refreshing in IF_SCMG_CASE_API~OPEN_CASE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lt-case-ref-internal-table-not-refreshing-in-if-scmg-case-api-open-case/m-p/8384461#M1643180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;marked&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 20:05:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lt-case-ref-internal-table-not-refreshing-in-if-scmg-case-api-open-case/m-p/8384461#M1643180</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-10T20:05:55Z</dc:date>
    </item>
  </channel>
</rss>

