<?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: Function Module problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-problem/m-p/10047166#M1809467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avadhut&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rather than putting your whole code here why dont you try and debug both program and function module in parllel sessions and find out the difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nabheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jan 2014 13:10:54 GMT</pubDate>
    <dc:creator>nabheetscn</dc:creator>
    <dc:date>2014-01-29T13:10:54Z</dc:date>
    <item>
      <title>Function Module problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-problem/m-p/10047165#M1809466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;I have created a function module to replace old coding in program. Its working fine while testing for some entries but for some inputs its displaying lesser number of entries. Those entries are correct as per program but it skips some entries. If anybody have any idea regarding this issue please share it with me. Here i am attaching code for program and FM and also screen shots for function module with this discussion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is displaying 7 entries in table but in actual there are 15 entries in program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/375049" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Here is the screen shot for program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/375072" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are entries for Function Module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/375073" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anybody have any idea regarding this issue please share it with me. I am also attaching codes for program and function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Avadhut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 12:45:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-problem/m-p/10047165#M1809466</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-29T12:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-problem/m-p/10047166#M1809467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avadhut&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rather than putting your whole code here why dont you try and debug both program and function module in parllel sessions and find out the difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nabheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 13:10:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-problem/m-p/10047166#M1809467</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2014-01-29T13:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-problem/m-p/10047167#M1809468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nabheet,&lt;/P&gt;&lt;P&gt;I have debugged code and adjusted code according to program. But What i want to do is FM should not work as per program there are four parameters referring to internal table in code as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;&lt;SPAN lang="IS" style="font-family: 'Lucida Sans Unicode','sans-serif'; color: #003300;"&gt;R_VENJU = &lt;/SPAN&gt;&lt;SPAN lang="IS" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;itafla&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN lang="IS" style="font-family: 'Lucida Sans Unicode','sans-serif'; color: #003300;"&gt;R_SAMAND = &lt;/SPAN&gt;&lt;SPAN lang="IS" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;it_t353i_t&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN lang="IS" style="font-family: 'Lucida Sans Unicode','sans-serif'; color: #003300;"&gt;R_STARFS = &lt;/SPAN&gt;&lt;SPAN lang="IS" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;it_pa_timar&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN lang="IS" style="font-family: 'Lucida Sans Unicode','sans-serif'; color: #003300;"&gt;R_STASKI = &lt;/SPAN&gt;&lt;SPAN lang="IS" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;it_pa_t353i&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN lang="IS" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="IS" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;as per the program when we select one of the parameters then more than one tables were populated but according to new requirement suppose when i select R_VENJU EQ 'X'. then only itafla should be populated. I have achieved this but for some cases FM displaying less entries. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="IS" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="IS" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="IS" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;Avadhut&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="IS" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 13:25:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-problem/m-p/10047167#M1809468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-29T13:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-problem/m-p/10047168#M1809469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Avadhut&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My point still is you will have to debug it to understand why some records are missing we can not tell you from here. Just switch on the debugger and debug each statement where the data is not fetched..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nabheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 13:27:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-problem/m-p/10047168#M1809469</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2014-01-29T13:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-problem/m-p/10047169#M1809470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Debug in parallel and set the watchpoint on final internal table for both FM &amp;amp; program and check at which stage number of entries are different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the :&lt;/P&gt;&lt;P&gt;1) Select where conditions&lt;/P&gt;&lt;P&gt;2) Append statements&lt;/P&gt;&lt;P&gt;3) Delete statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;DPM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 16:18:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-problem/m-p/10047169#M1809470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-29T16:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-problem/m-p/10047170#M1809471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;I have done it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Avadhut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 16:23:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-problem/m-p/10047170#M1809471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-29T16:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-problem/m-p/10047171#M1809472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Very nice...keep it up:)&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 16:31:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-problem/m-p/10047171#M1809472</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2014-01-29T16:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-problem/m-p/10047172#M1809473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi nabheet,&lt;/P&gt;&lt;P&gt;I have done with entries problem can you just tell me where to initialize the internal table as entries were repeating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Avadhut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 06:33:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-problem/m-p/10047172#M1809473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-30T06:33:13Z</dc:date>
    </item>
  </channel>
</rss>

