<?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: Function modules and generically typed tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-and-generically-typed-tables/m-p/1115680#M107323</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;W3HTML is the line type typically used by CL_GUI_HTML_VIEWER or CL_DD classes for the HTML code internal tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is why I have suggested it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jan 2006 14:51:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-18T14:51:32Z</dc:date>
    <item>
      <title>Function modules and generically typed tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-and-generically-typed-tables/m-p/1115676#M107319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to write a function module which will take an internal table with an entirely arbitrary line type as its input and output a table in HTML. This is not very difficult to do in ABAP as long as I can get the table in and out. However, I have no idea how to transfer a generic table. At the moment I can see myself having to do something truly horrible to hack around this, when all I want to do is use "describe table" and a couple of "do...enddo" loops.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really, really hope this is a dead easy question to answer...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2006 14:31:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-and-generically-typed-tables/m-p/1115676#M107319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-18T14:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Function modules and generically typed tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-and-generically-typed-tables/m-p/1115677#M107320</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;In Tables Parameters of your FM interface do not give any reference type for your IN table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your OUT Table you can use W3HTML as line type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Srikanth Pinnamaneni&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Srikanth Pinnamaneni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2006 14:41:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-and-generically-typed-tables/m-p/1115677#M107320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-18T14:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Function modules and generically typed tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-and-generically-typed-tables/m-p/1115678#M107321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, passing a table thru the interface with no type is easy, just don't assign a structure when defining the interface.  It will then take its structure by what is being passed to it.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you would pass an internal table to it with the structure like so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Data: begin of itab occurs 0,
      line(1000) type c,
      end  of itab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then that is the structure inside the function module.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did this answer your question?   Please explain further if not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2006 14:42:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-and-generically-typed-tables/m-p/1115678#M107321</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-01-18T14:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Function modules and generically typed tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-and-generically-typed-tables/m-p/1115679#M107322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys. I feel like a right tit now! &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt; Can I just ask - what's so special about W3HTML? Am I not better off just passing back something of type string, as I'm obviously never going to go over 2GB of HTML (which I think is the maximum size for type string) and is surely easier to embed into a BSP? Obviously whatever it is I do I want it to be correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2006 14:47:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-and-generically-typed-tables/m-p/1115679#M107322</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-18T14:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Function modules and generically typed tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-and-generically-typed-tables/m-p/1115680#M107323</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;W3HTML is the line type typically used by CL_GUI_HTML_VIEWER or CL_DD classes for the HTML code internal tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is why I have suggested it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2006 14:51:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-and-generically-typed-tables/m-p/1115680#M107323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-18T14:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Function modules and generically typed tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-and-generically-typed-tables/m-p/1115681#M107324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to use a string table, please define your table in the TABLES tab as type WRB_STRING_TABLE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2006 14:56:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-and-generically-typed-tables/m-p/1115681#M107324</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-01-18T14:56:35Z</dc:date>
    </item>
  </channel>
</rss>

