<?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 how to store variable for each triggering? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-store-variable-for-each-triggering/m-p/2207406#M472417</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Badi BADI_SCD_ACCTG will triggered every line item. Suppose, If I have three line items. If badi triggers first line item, here I m getting value Material Group. if again badi triggers for second line item, here all internal table information refreshed,. here also like this I am getting other material group. Here &lt;/P&gt;&lt;P&gt;(I didn't have global variables in BADI!!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;My requirement is at last line item triggering collect all material groups wat available from  first line item, All material groups I need to export to ABAP memory&amp;lt;/b&amp;gt;. I will use this for different purpose.&lt;/P&gt;&lt;P&gt;Please guide me how it possible&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 May 2007 05:49:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-11T05:49:48Z</dc:date>
    <item>
      <title>how to store variable for each triggering?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-store-variable-for-each-triggering/m-p/2207406#M472417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Badi BADI_SCD_ACCTG will triggered every line item. Suppose, If I have three line items. If badi triggers first line item, here I m getting value Material Group. if again badi triggers for second line item, here all internal table information refreshed,. here also like this I am getting other material group. Here &lt;/P&gt;&lt;P&gt;(I didn't have global variables in BADI!!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;My requirement is at last line item triggering collect all material groups wat available from  first line item, All material groups I need to export to ABAP memory&amp;lt;/b&amp;gt;. I will use this for different purpose.&lt;/P&gt;&lt;P&gt;Please guide me how it possible&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2007 05:49:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-store-variable-for-each-triggering/m-p/2207406#M472417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-11T05:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to store variable for each triggering?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-store-variable-for-each-triggering/m-p/2207407#M472418</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;   it's possible, i had a similar requirement in an user-exit&lt;/P&gt;&lt;P&gt;   - build an internal table of all the fields taht you want&lt;/P&gt;&lt;P&gt;  - import itab from memory id 'TRY'. (for the 1 st time nothng will come in)&lt;/P&gt;&lt;P&gt; - append values for the current line item to the itab and again export itab to   memory id 'TRY'&lt;/P&gt;&lt;P&gt; - import and export till the last line item &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;   if any error occurs, try setting a flag -&amp;gt; export that and when importing if the flag is x, free memory (to avoid erroneous data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful, reward&lt;/P&gt;&lt;P&gt;Sathish. R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2007 11:59:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-store-variable-for-each-triggering/m-p/2207407#M472418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-11T11:59:50Z</dc:date>
    </item>
  </channel>
</rss>

