<?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: structure with a string field as parameter in FM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure-with-a-string-field-as-parameter-in-fm/m-p/6914814#M1483431</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Herwin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just checked and even i was getting the same error, be it in the tables parameter or even by creating a table type. Looks like string data type is not supported in the function module interface. Only option which seems appropriate is to use char type with the maximum length possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 May 2010 10:14:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-11T10:14:54Z</dc:date>
    <item>
      <title>structure with a string field as parameter in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure-with-a-string-field-as-parameter-in-fm/m-p/6914810#M1483427</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;I have a requirement wherein based on some id which is the import paramter (table) i have to fetch some text of type string n pass as an export paramater. it has to be a table since for each id there wil a text associated with it. &lt;/P&gt;&lt;P&gt;For this i have declared a structure with two fields, one client and the other, the text type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While trying to activate my fm, it says that &lt;EM&gt;italics&lt;/EM&gt;the structure should be a flat type. You cannot use internal tables. string, references etc&lt;EM&gt;italics&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide a solution.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;herwin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 08:59:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure-with-a-string-field-as-parameter-in-fm/m-p/6914810#M1483427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-11T08:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: structure with a string field as parameter in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure-with-a-string-field-as-parameter-in-fm/m-p/6914811#M1483428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just create it as "Table Type" in SE11 and give that name in the tables tab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 09:02:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure-with-a-string-field-as-parameter-in-fm/m-p/6914811#M1483428</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2010-05-11T09:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: structure with a string field as parameter in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure-with-a-string-field-as-parameter-in-fm/m-p/6914812#M1483429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats because you cannot assign structures in the EXPORT parameter TAB and you can do that only in the TABLES tab. You should use TABLE TYPES in the EXPORT parameter TABs. Please check in SCN as to how to create a table type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 09:04:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure-with-a-string-field-as-parameter-in-fm/m-p/6914812#M1483429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-11T09:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: structure with a string field as parameter in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure-with-a-string-field-as-parameter-in-fm/m-p/6914813#M1483430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So vikranth, can i assign structures with string type fields in tables parameters. i had the same message while activating&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 09:35:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure-with-a-string-field-as-parameter-in-fm/m-p/6914813#M1483430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-11T09:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: structure with a string field as parameter in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure-with-a-string-field-as-parameter-in-fm/m-p/6914814#M1483431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Herwin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just checked and even i was getting the same error, be it in the tables parameter or even by creating a table type. Looks like string data type is not supported in the function module interface. Only option which seems appropriate is to use char type with the maximum length possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 10:14:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure-with-a-string-field-as-parameter-in-fm/m-p/6914814#M1483431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-11T10:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: structure with a string field as parameter in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure-with-a-string-field-as-parameter-in-fm/m-p/6914815#M1483432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikranth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ya using char or lchar would be one option and the other would be the use of the table type in the the import/export parameters. That worked without giving me that warning message and was able to execute my code properly with the desired output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Herwin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Herwin Wilmet Dsouza on May 11, 2010 12:18 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 10:18:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure-with-a-string-field-as-parameter-in-fm/m-p/6914815#M1483432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-11T10:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: structure with a string field as parameter in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure-with-a-string-field-as-parameter-in-fm/m-p/6914816#M1483433</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;I have created the structure with a field having data type STRINGVAR. Function module didn't give any error if i used this structure in the parameter definitions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 10:23:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure-with-a-string-field-as-parameter-in-fm/m-p/6914816#M1483433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-11T10:23:09Z</dc:date>
    </item>
  </channel>
</rss>

