<?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: Dynamic/generic Table in RFC module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-generic-table-in-rfc-module/m-p/7899666#M1596652</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;If it's RFC or not it shouldn't be a problem for passing generic data types to FM. I've just wrote and tested this code and it works. I'm using here static type (lyv_msg) but you could as well use dynamic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TYPES lyv_msg(12) TYPE c.
data lv_msg TYPE REF TO DATA.
FIELD-SYMBOLS &amp;lt;fs_msg&amp;gt; TYPE ANY.

CREATE DATA lv_msg TYPE lyv_msg.
ASSIGN lv_msg-&amp;gt;* TO &amp;lt;fs_msg&amp;gt;.
 &amp;lt;fs_msg&amp;gt; = 'Some info'.

CALL FUNCTION 'TH_POPUP' DESTINATION 'NONE'
  EXPORTING
    CLIENT               = 100
    USER                 = 'USER'
    MESSAGE              = &amp;lt;fs_msg&amp;gt;
 EXCEPTIONS
   USER_NOT_FOUND       = 1
   OTHERS               = 2.
IF SY-SUBRC &amp;lt;&amp;gt; 0.
* Implement suitable error handling here
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Marcin Choelwczuk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 May 2011 12:04:35 GMT</pubDate>
    <dc:creator>marcin_cholewczuk</dc:creator>
    <dc:date>2011-05-09T12:04:35Z</dc:date>
    <item>
      <title>Dynamic/generic Table in RFC module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-generic-table-in-rfc-module/m-p/7899665#M1596651</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;Need to Implement parallel processing as large amount of data is involved using RFC function modules. Not able to do so as RFC is not allowing generic data type needed for passing dynamic internal tables. &lt;/P&gt;&lt;P&gt;Data is in internal tables formed dynamically &amp;amp;  this data is to be processed. How this can be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to implement parallel processing using dynamic internal tables using RFC type of module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Prat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2011 11:19:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-generic-table-in-rfc-module/m-p/7899665#M1596651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-09T11:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic/generic Table in RFC module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-generic-table-in-rfc-module/m-p/7899666#M1596652</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;If it's RFC or not it shouldn't be a problem for passing generic data types to FM. I've just wrote and tested this code and it works. I'm using here static type (lyv_msg) but you could as well use dynamic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TYPES lyv_msg(12) TYPE c.
data lv_msg TYPE REF TO DATA.
FIELD-SYMBOLS &amp;lt;fs_msg&amp;gt; TYPE ANY.

CREATE DATA lv_msg TYPE lyv_msg.
ASSIGN lv_msg-&amp;gt;* TO &amp;lt;fs_msg&amp;gt;.
 &amp;lt;fs_msg&amp;gt; = 'Some info'.

CALL FUNCTION 'TH_POPUP' DESTINATION 'NONE'
  EXPORTING
    CLIENT               = 100
    USER                 = 'USER'
    MESSAGE              = &amp;lt;fs_msg&amp;gt;
 EXCEPTIONS
   USER_NOT_FOUND       = 1
   OTHERS               = 2.
IF SY-SUBRC &amp;lt;&amp;gt; 0.
* Implement suitable error handling here
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Marcin Choelwczuk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2011 12:04:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-generic-table-in-rfc-module/m-p/7899666#M1596652</guid>
      <dc:creator>marcin_cholewczuk</dc:creator>
      <dc:date>2011-05-09T12:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic/generic Table in RFC module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-generic-table-in-rfc-module/m-p/7899667#M1596653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Prat,&lt;/P&gt;&lt;P&gt;     I'm also facing the same problem. Could you please tell me whether you got proper answer for this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Selva M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 12:12:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-generic-table-in-rfc-module/m-p/7899667#M1596653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-13T12:12:10Z</dc:date>
    </item>
  </channel>
</rss>

