<?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 Error in function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-function-module/m-p/1456744#M215862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abappers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am trying to use the function module GET_DELIVERY_DATE in my program, due to a type mismatch in a function module called PDOT_DATE_CONVERT inside the former function module  i am getting a run time error, ie, an "assign" statement inside the function module PDOT_DATE_CONVERT is causing this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field symbols: &amp;lt;field&amp;gt; type d.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  assign field to &amp;lt;field&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"field" is  of a different data type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using this statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: t_p_ddat(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'GET_DELIVERY_DATE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      ADDITIONAL_DAYS       = 1&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     DATE_1                 = t_p_ddat&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    DATE_2                =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any body tell me how to work around this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jul 2006 07:03:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-25T07:03:08Z</dc:date>
    <item>
      <title>Error in function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-function-module/m-p/1456744#M215862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abappers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am trying to use the function module GET_DELIVERY_DATE in my program, due to a type mismatch in a function module called PDOT_DATE_CONVERT inside the former function module  i am getting a run time error, ie, an "assign" statement inside the function module PDOT_DATE_CONVERT is causing this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field symbols: &amp;lt;field&amp;gt; type d.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  assign field to &amp;lt;field&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"field" is  of a different data type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using this statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: t_p_ddat(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'GET_DELIVERY_DATE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      ADDITIONAL_DAYS       = 1&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     DATE_1                 = t_p_ddat&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    DATE_2                =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any body tell me how to work around this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 07:03:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-function-module/m-p/1456744#M215862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-25T07:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error in function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-function-module/m-p/1456745#M215863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narendiran,&lt;/P&gt;&lt;P&gt;          Check whether the Data TYpe of your Variable and the one in the Function Module are both the same. Type Mismatch Error Occurs only when the variable assigned to the one in the Function Module do not Match(are not the same). Check with the Debugger in the Runtime Error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Prashanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 07:08:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-function-module/m-p/1456745#M215863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-25T07:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error in function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-function-module/m-p/1456746#M215864</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;&lt;/P&gt;&lt;P&gt;I think it is SAP Internal Error . Check for any Notes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 07:11:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-function-module/m-p/1456746#M215864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-25T07:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error in function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-function-module/m-p/1456747#M215865</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;both options are not possible the Function  modules used here are std function modules therefore i cannot change the type . givng the DATE_1 as YYYYMMDD is not possible, since it is imported into a local variable in my program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 07:18:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-function-module/m-p/1456747#M215865</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-25T07:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error in function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-function-module/m-p/1456748#M215866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi manoj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i searched the notes with search criteria &lt;/P&gt;&lt;P&gt;PDOT_DATE_CONVERT and GET_DELIVERY_DATE, but nothing relevant was found, my guess is that their might be method with which i can do the same thing, can you help me out here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 07:22:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-function-module/m-p/1456748#M215866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-25T07:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error in function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-function-module/m-p/1456749#M215867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The parameter DATE_1 and DATE_2 expect the value to be passed as a type of RM06E-EEIND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change this declaration and try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: t_p_ddat &amp;lt;b&amp;gt;TYPE RM06E-EEIND&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sudha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 07:33:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-function-module/m-p/1456749#M215867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-25T07:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error in function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-function-module/m-p/1456750#M215868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narendiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Even i am not able to get the notes . &lt;/P&gt;&lt;P&gt;last think u can do is create Z FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure ;try to contact sap for the dump.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 07:33:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-function-module/m-p/1456750#M215868</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-25T07:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error in function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-function-module/m-p/1456751#M215869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;instead of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: t_p_ddat(10).&lt;/P&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: t_p_ddat type RM06E-EEIND  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry about the double post, Sudha has already given the solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Durairaj Athavan Raja&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 07:53:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-function-module/m-p/1456751#M215869</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-07-25T07:53:20Z</dc:date>
    </item>
  </channel>
</rss>

