<?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 Function module not genrating a output when executing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-genrating-a-output-when-executing/m-p/4276320#M1020278</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using this function module to calculate the difference between the number of days using factory calendar. The function module is working fine but it is not giving the output. It is not generating the result. here is the code for the function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please can you check and let me know what can be the reason&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA:&lt;/P&gt;&lt;P&gt;    DURATION_F       TYPE F.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF  START_DATE IS INITIAL&lt;/P&gt;&lt;P&gt;  AND END_DATE IS INITIAL.&lt;/P&gt;&lt;P&gt;    MESSAGE E032 RAISING PARAMETERS_NOT_VALID.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Bitte geben Sie ein gültiges Start- und Enddatum an&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF FLG_UNITS IS INITIAL.&lt;/P&gt;&lt;P&gt;    PERFORM TIME_UNITS.&lt;/P&gt;&lt;P&gt;    FLG_UNITS = 'X'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  IF UNIT = SPACE.&lt;/P&gt;&lt;P&gt;    UNIT = UNIT_DAY.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM DURATION_COMPUTE&lt;/P&gt;&lt;P&gt;     USING&lt;/P&gt;&lt;P&gt;          START_DATE&lt;/P&gt;&lt;P&gt;          START_TIME&lt;/P&gt;&lt;P&gt;          END_DATE&lt;/P&gt;&lt;P&gt;          END_TIME&lt;/P&gt;&lt;P&gt;          FACTORY_CALENDAR&lt;/P&gt;&lt;P&gt;          UNIT&lt;/P&gt;&lt;P&gt;     CHANGING&lt;/P&gt;&lt;P&gt;          DURATION_F&lt;/P&gt;&lt;P&gt;          START_DATE&lt;/P&gt;&lt;P&gt;          END_DATE&lt;/P&gt;&lt;P&gt;          START_TIME&lt;/P&gt;&lt;P&gt;          END_TIME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DURATION = DURATION_F.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Aug 2008 13:31:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-07T13:31:37Z</dc:date>
    <item>
      <title>Function module not genrating a output when executing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-genrating-a-output-when-executing/m-p/4276320#M1020278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using this function module to calculate the difference between the number of days using factory calendar. The function module is working fine but it is not giving the output. It is not generating the result. here is the code for the function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please can you check and let me know what can be the reason&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA:&lt;/P&gt;&lt;P&gt;    DURATION_F       TYPE F.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF  START_DATE IS INITIAL&lt;/P&gt;&lt;P&gt;  AND END_DATE IS INITIAL.&lt;/P&gt;&lt;P&gt;    MESSAGE E032 RAISING PARAMETERS_NOT_VALID.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Bitte geben Sie ein gültiges Start- und Enddatum an&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF FLG_UNITS IS INITIAL.&lt;/P&gt;&lt;P&gt;    PERFORM TIME_UNITS.&lt;/P&gt;&lt;P&gt;    FLG_UNITS = 'X'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  IF UNIT = SPACE.&lt;/P&gt;&lt;P&gt;    UNIT = UNIT_DAY.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM DURATION_COMPUTE&lt;/P&gt;&lt;P&gt;     USING&lt;/P&gt;&lt;P&gt;          START_DATE&lt;/P&gt;&lt;P&gt;          START_TIME&lt;/P&gt;&lt;P&gt;          END_DATE&lt;/P&gt;&lt;P&gt;          END_TIME&lt;/P&gt;&lt;P&gt;          FACTORY_CALENDAR&lt;/P&gt;&lt;P&gt;          UNIT&lt;/P&gt;&lt;P&gt;     CHANGING&lt;/P&gt;&lt;P&gt;          DURATION_F&lt;/P&gt;&lt;P&gt;          START_DATE&lt;/P&gt;&lt;P&gt;          END_DATE&lt;/P&gt;&lt;P&gt;          START_TIME&lt;/P&gt;&lt;P&gt;          END_TIME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DURATION = DURATION_F.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2008 13:31:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-genrating-a-output-when-executing/m-p/4276320#M1020278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-07T13:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Function module not genrating a output when executing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-genrating-a-output-when-executing/m-p/4276321#M1020279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when calling the function module get the duration field as output &lt;/P&gt;&lt;P&gt;write that output on the list&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2008 13:40:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-not-genrating-a-output-when-executing/m-p/4276321#M1020279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-07T13:40:15Z</dc:date>
    </item>
  </channel>
</rss>

