<?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 FM Error with strings in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-error-with-strings/m-p/8053814#M1612059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello World!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now, I am creating a function module w/c has this requirement:&lt;/P&gt;&lt;P&gt;Import:&lt;/P&gt;&lt;P&gt;I_PERNR type PERSNO&lt;/P&gt;&lt;P&gt;Export:&lt;/P&gt;&lt;P&gt;E_PERNRDATA LIKE Z_EE_DATA&lt;/P&gt;&lt;P&gt;TABLES:&lt;/P&gt;&lt;P&gt;T_DESC LIKE Z_EE_STR_DESC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, when I try to activate this FM, there is an error stating that Z_EE_STR_DESC must be a flat structure. You cannot use IT, strings, ref, or structures as components. The structure of Z_EE_STR_DESC is this:&lt;/P&gt;&lt;P&gt;PERNR type persno&lt;/P&gt;&lt;P&gt;NAME type char30&lt;/P&gt;&lt;P&gt;DESC type string --&amp;gt; this must be a string because this must hold large string data/description. and I think this is the cause of the error. are there any way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mrac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Aug 2011 18:52:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-08-09T18:52:34Z</dc:date>
    <item>
      <title>FM Error with strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-error-with-strings/m-p/8053814#M1612059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello World!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now, I am creating a function module w/c has this requirement:&lt;/P&gt;&lt;P&gt;Import:&lt;/P&gt;&lt;P&gt;I_PERNR type PERSNO&lt;/P&gt;&lt;P&gt;Export:&lt;/P&gt;&lt;P&gt;E_PERNRDATA LIKE Z_EE_DATA&lt;/P&gt;&lt;P&gt;TABLES:&lt;/P&gt;&lt;P&gt;T_DESC LIKE Z_EE_STR_DESC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, when I try to activate this FM, there is an error stating that Z_EE_STR_DESC must be a flat structure. You cannot use IT, strings, ref, or structures as components. The structure of Z_EE_STR_DESC is this:&lt;/P&gt;&lt;P&gt;PERNR type persno&lt;/P&gt;&lt;P&gt;NAME type char30&lt;/P&gt;&lt;P&gt;DESC type string --&amp;gt; this must be a string because this must hold large string data/description. and I think this is the cause of the error. are there any way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mrac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 18:52:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-error-with-strings/m-p/8053814#M1612059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-09T18:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: FM Error with strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-error-with-strings/m-p/8053815#M1612060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You probably need an lchar data type in that table or, since the use of tables except in remote enabled FM's is obsolete anyway, why not just export the values you need if a single set or create a table type with the lchar and necessary length field and try to use that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 19:23:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-error-with-strings/m-p/8053815#M1612060</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-09T19:23:49Z</dc:date>
    </item>
  </channel>
</rss>

