<?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: passing data from internal table in function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-from-internal-table-in-function-module/m-p/4388553#M1043582</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;Gothrough the following links,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=15750380&amp;amp;messageID=4753768" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=15750380&amp;amp;messageID=4753768&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5068188"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 31 Aug 2008 07:53:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-31T07:53:45Z</dc:date>
    <item>
      <title>passing data from internal table in function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-from-internal-table-in-function-module/m-p/4388552#M1043581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have data in an internal table in my function module and have to pass it my implementation program in badi. How do i do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem here is i am not able to declare any internal table in my changing parameters to pass it back.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Aug 2008 07:43:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-from-internal-table-in-function-module/m-p/4388552#M1043581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-31T07:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: passing data from internal table in function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-from-internal-table-in-function-module/m-p/4388553#M1043582</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;Gothrough the following links,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=15750380&amp;amp;messageID=4753768" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=15750380&amp;amp;messageID=4753768&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5068188"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Aug 2008 07:53:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-from-internal-table-in-function-module/m-p/4388553#M1043582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-31T07:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: passing data from internal table in function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-from-internal-table-in-function-module/m-p/4388554#M1043583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Abhinay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Presumably your problem is that you need to define an itab within your BAdI implementing class. Fortunately ABAP-OO no longer allows itabs having header lines. Thus, itab must be defined using table types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An itab having no header line can be used to fill or retrieve data from TABLES parameters (or CHANGING) in function modules, .e.g:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
METHOD if_ex_me_process_po_cust~check.

  DATA: lt_dfies    TYPE STANDARD TABLE OF mara.  " no header line. Or use table type:
    "        lt_dfies     TYPE ddfields.  " table type

    CALL FUNCTION 'DDIF_FIELDINFO_GET'
      EXPORTING
        tabname              = 'MARA'
*       FIELDNAME            = ' '
*       LANGU                = SY-LANGU
*       LFIELDNAME           = ' '
*       ALL_TYPES            = ' '
*       GROUP_NAMES          = ' '
*       UCLEN                =
*     IMPORTING
*       X030L_WA             =
*       DDOBJTYPE            =
*       DFIES_WA             =
*       LINES_DESCR          =
      TABLES
        DFIES_TAB            = lt_dfies   " itab without header line 
*       FIXED_VALUES         =
      EXCEPTIONS
*       NOT_FOUND            = 1
*       INTERNAL_ERROR       = 2
        OTHERS               = 3.
  

ENDMETHOD.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Aug 2008 17:08:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-from-internal-table-in-function-module/m-p/4388554#M1043583</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-08-31T17:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: passing data from internal table in function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-from-internal-table-in-function-module/m-p/4388555#M1043584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Uwe Schieferstein  ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ecc 6.0 when i use tables while defining function modules it says tables is obsolete.How do i do it now?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;C.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2008 07:25:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-from-internal-table-in-function-module/m-p/4388555#M1043584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-02T07:25:08Z</dc:date>
    </item>
  </channel>
</rss>

