<?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: Internal table in badi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-badi/m-p/7706583#M1578645</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The methods which you had suggested 'set_int_table' and 'get_int_table' are SAP defined or I have to code them in my Badi and ABAP program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Feb 2011 13:46:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-02-15T13:46:51Z</dc:date>
    <item>
      <title>Internal table in badi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-badi/m-p/7706580#M1578642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends,&lt;/P&gt;&lt;P&gt;I am working with Badi's and my requirement is i need to fetch the data from database in badi method and have to use that data in my abap program.&lt;/P&gt;&lt;P&gt;So, is there any way i can declare internal table as export parameter of badi method or else if I declare internal table in my abap program and export that while calling badi method then how to declare internal table as import parameter in badi method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 05:37:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-badi/m-p/7706580#M1578642</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-11T05:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table in badi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-badi/m-p/7706581#M1578643</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 can call a function module (Z_*) from the BADI and set in the interface the parameters that you need. In the function module you can work with internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 12:00:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-badi/m-p/7706581#M1578643</guid>
      <dc:creator>eduardo_hinojosa</dc:creator>
      <dc:date>2011-02-11T12:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table in badi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-badi/m-p/7706582#M1578644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some things are not clear here..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 - You have a ABAP Program that trigger's a process that calls a BADI and then return to your ABAP Program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 - You have implemented a BADI in a process that runs separately from the ABAP Program, and you need to grab data from the BADI into your Program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I`d suggest:&lt;/P&gt;&lt;P&gt;1 -  Try to use a static method or a static class with a method that would "hold the data" from the badi into you memory. You could use methods like SET_INT_TABLE in BADI and then GET_INT_TABLE in your ABAP Prog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 - Not sure why you want to do this, but use a Z table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Mauricio Roberto Cruz on Feb 11, 2011 2:26 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 13:26:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-badi/m-p/7706582#M1578644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-11T13:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table in badi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-badi/m-p/7706583#M1578645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The methods which you had suggested 'set_int_table' and 'get_int_table' are SAP defined or I have to code them in my Badi and ABAP program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 13:46:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-badi/m-p/7706583#M1578645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-15T13:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table in badi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-badi/m-p/7706584#M1578646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would have to create a new class in SE24, with 2 static methods that would maintain a attribute named  INT_TABLE (where data you wanna hold will be stored).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you use SET_INT_TABLE inside the BADI, and you can grab data into your program using GET_INT_TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already used something similar, and I found more useful and structured than just exporting things to memory (which i hate btw).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 16:12:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-badi/m-p/7706584#M1578646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-15T16:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table in badi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-badi/m-p/7706585#M1578647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved the problem.&lt;/P&gt;&lt;P&gt;Thanks for replying.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 09:06:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-in-badi/m-p/7706585#M1578647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-16T09:06:17Z</dc:date>
    </item>
  </channel>
</rss>

