<?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 in Function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure-in-function-module/m-p/5426636#M1245228</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare the structure IT_CHARACT in the table tab of the FM with associated type ZSD_CHAR_TAB.&lt;/P&gt;&lt;P&gt;This will resolve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Apr 2009 10:54:13 GMT</pubDate>
    <dc:creator>former_member584974</dc:creator>
    <dc:date>2009-04-09T10:54:13Z</dc:date>
    <item>
      <title>structure in Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure-in-function-module/m-p/5426632#M1245224</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 am using one function module 'Z_SD_CHARACT_CHANGE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT I_FINAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_CHARACT-ATINN = I_FINAL-ATINN.&lt;/P&gt;&lt;P&gt;I_CHARACT-KLART = '011'        .&lt;/P&gt;&lt;P&gt;I_CHARACT-ATWRT = I_FINAL-ATWRT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'Z_SD_CHARACT_CHANGE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    IV_KUNNR         = I_FINAL-KUNNR&lt;/P&gt;&lt;P&gt;    IT_CHARACT       = I_CHARACT&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CLEAR I_CHARACT.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here IT_CHARACT is structure  defined like ZSD_CHAR_TAB and I defined I_CHARACT  type structure like ZSD_CHAR_TAB.&lt;/P&gt;&lt;P&gt;But is giving following dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function module interface allows you to specify only fields of a particular type under "IT_CHARACT".&lt;/P&gt;&lt;P&gt;The field "I_CHARACT" specified here is a different field type .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please tell me what should I do for that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2009 10:40:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure-in-function-module/m-p/5426632#M1245224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-09T10:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: structure in Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure-in-function-module/m-p/5426633#M1245225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FM Expecting table not a structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rhea.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2009 10:48:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure-in-function-module/m-p/5426633#M1245225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-09T10:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: structure in Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure-in-function-module/m-p/5426634#M1245226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to pass the table and not the work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try passing:  &lt;STRONG&gt;I_CHARACT[]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Aditya Laud on Apr 9, 2009 6:49 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2009 10:49:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure-in-function-module/m-p/5426634#M1245226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-09T10:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: structure in Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure-in-function-module/m-p/5426635#M1245227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Function module is expecting a table as input not a work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to change your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT I_FINAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_CHARACT-ATINN = I_FINAL-ATINN.&lt;/P&gt;&lt;P&gt;I_CHARACT-KLART = '011' .&lt;/P&gt;&lt;P&gt;I_CHARACT-ATWRT = I_FINAL-ATWRT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;append the above lines to an internal table and pass to FM.*&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'Z_SD_CHARACT_CHANGE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;IV_KUNNR = I_FINAL-KUNNR&lt;/P&gt;&lt;P&gt;IT_CHARACT = I_CHARACT&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR I_CHARACT.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&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;Kumar M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2009 10:52:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure-in-function-module/m-p/5426635#M1245227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-09T10:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: structure in Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure-in-function-module/m-p/5426636#M1245228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare the structure IT_CHARACT in the table tab of the FM with associated type ZSD_CHAR_TAB.&lt;/P&gt;&lt;P&gt;This will resolve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2009 10:54:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure-in-function-module/m-p/5426636#M1245228</guid>
      <dc:creator>former_member584974</dc:creator>
      <dc:date>2009-04-09T10:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: structure in Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure-in-function-module/m-p/5426637#M1245229</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;Check the ZSD_CHAR_TAB is Table Type or Structure..If it is Table Type then it behaves like internal table.Then you need to declate the I_CHARACT as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : I_CHARACT LIKE LINE OF ZSD_CHAR_TAB.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2009 10:54:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure-in-function-module/m-p/5426637#M1245229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-09T10:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: structure in Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure-in-function-module/m-p/5426638#M1245230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi u define this under tab table .&lt;/P&gt;&lt;P&gt;like &lt;/P&gt;&lt;P&gt;table name                                 structure&lt;/P&gt;&lt;P&gt;T_MWDAT  	LIKE	RTAX1U15.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;this will help u.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2009 11:15:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure-in-function-module/m-p/5426638#M1245230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-09T11:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: structure in Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure-in-function-module/m-p/5426639#M1245231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I_CHARACT  like It_CHARACT .&lt;/P&gt;&lt;P&gt;in table tab of fm.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2009 11:15:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure-in-function-module/m-p/5426639#M1245231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-09T11:15:58Z</dc:date>
    </item>
  </channel>
</rss>

