<?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: Hi Gurus, Doubt in Function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-gurus-doubt-in-function-module/m-p/9675101#M1766541</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;since the internal table is global ,any function module under the function group can fill the internal table (on the same program).&lt;/P&gt;&lt;P&gt;Use extended debugger and check whether calling function module is fiilling the internal table ,(similarly check all the function module ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other probablity is that code inside the function group will be filling the internal table ,if this is the case when execution reaches your funtion call ,it will load the entire function group (internal table get filled during that time ) .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Aug 2013 12:26:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-08-21T12:26:26Z</dc:date>
    <item>
      <title>Hi Gurus, Doubt in Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-gurus-doubt-in-function-module/m-p/9675097#M1766537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for creating a function module we have to create it under function group.&lt;/P&gt;&lt;P&gt;we can have lot of function modules under a funtion group. and we can have global variables here. it partly acts as class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;doubt here is how can we find how the global variables are getting filled.&lt;/P&gt;&lt;P&gt;i have a scenario, PM_PARTNER_CHECK_COMPLETE in this FM i have a global internal table XIHPA. i need to know how or when this global variable is getting filled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 14:06:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-gurus-doubt-in-function-module/m-p/9675097#M1766537</guid>
      <dc:creator>former_member525804</dc:creator>
      <dc:date>2013-08-20T14:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Hi Gurus, Doubt in Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-gurus-doubt-in-function-module/m-p/9675098#M1766538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dinesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Double click on XIHPA it will take you to the top include.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on where used list in toolbar and click enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give you where all this table is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;n/ow press Control + F and type APPEND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some 10 locations where it is getting filled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another best solution will be finding it in debug mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep a WATCHPOINT on this table it will stop exactly where it is changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 06:52:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-gurus-doubt-in-function-module/m-p/9675098#M1766538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-21T06:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Hi Gurus, Doubt in Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-gurus-doubt-in-function-module/m-p/9675099#M1766539</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;use &lt;/P&gt;&lt;P&gt;1) where used list &lt;/P&gt;&lt;P&gt;2) create breakpoint, watch point.&lt;/P&gt;&lt;P&gt;3) Debug the code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you will understand the functionality .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 07:06:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-gurus-doubt-in-function-module/m-p/9675099#M1766539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-21T07:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Hi Gurus, Doubt in Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-gurus-doubt-in-function-module/m-p/9675100#M1766540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;you can use the debugger for this .In debugger we can set extended debugger to debug the Function module&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 11:31:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-gurus-doubt-in-function-module/m-p/9675100#M1766540</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-21T11:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Hi Gurus, Doubt in Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-gurus-doubt-in-function-module/m-p/9675101#M1766541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;since the internal table is global ,any function module under the function group can fill the internal table (on the same program).&lt;/P&gt;&lt;P&gt;Use extended debugger and check whether calling function module is fiilling the internal table ,(similarly check all the function module ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other probablity is that code inside the function group will be filling the internal table ,if this is the case when execution reaches your funtion call ,it will load the entire function group (internal table get filled during that time ) .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 12:26:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-gurus-doubt-in-function-module/m-p/9675101#M1766541</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-21T12:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Hi Gurus, Doubt in Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-gurus-doubt-in-function-module/m-p/9675102#M1766542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please tell me about the watch point for internal table.&lt;/P&gt;&lt;P&gt;as of i know we can find any value change inside a internal table through watch point. &lt;/P&gt;&lt;P&gt;EX. if table has 10 entries, &lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;end loop.&lt;/P&gt;&lt;P&gt;we can keep watch point to find when it reaches itab-matnr = 5. we can acheive that by watch point.&lt;/P&gt;&lt;P&gt;but, take my above ex. how can we have watchpoint for that scenario.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 12:40:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-gurus-doubt-in-function-module/m-p/9675102#M1766542</guid>
      <dc:creator>former_member525804</dc:creator>
      <dc:date>2013-08-21T12:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Hi Gurus, Doubt in Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-gurus-doubt-in-function-module/m-p/9675103#M1766543</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;Double click on the table in the program and get to know where it is being used. Create Breakpoints at places where the table is getting modified like MODIFY, APPEND statements and debug. Or you could use the WATCHPOINT option while debugging through the FM. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 12:58:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-gurus-doubt-in-function-module/m-p/9675103#M1766543</guid>
      <dc:creator>mayur_priyan</dc:creator>
      <dc:date>2013-08-21T12:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Hi Gurus, Doubt in Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-gurus-doubt-in-function-module/m-p/9675104#M1766544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dinesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simply put a watch point for that variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abyson Joseph&lt;/P&gt;&lt;P&gt;Applexus Technologies&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 13:11:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-gurus-doubt-in-function-module/m-p/9675104#M1766544</guid>
      <dc:creator>former_member184611</dc:creator>
      <dc:date>2013-08-21T13:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Hi Gurus, Doubt in Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-gurus-doubt-in-function-module/m-p/9675105#M1766545</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;You are partially correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function of the watch point is to stop at the point when there is a change in the value of the variable defined in it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can just define the name of the variable whose value change needs to be spotted, by only specifying the name. Eg; itab[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also as you mentioned you can keep a check on the step where the value of the variable changes to a appropriate value, by specifying the condition in it . Eg . when itab-matnr = 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 14:00:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-gurus-doubt-in-function-module/m-p/9675105#M1766545</guid>
      <dc:creator>mayur_priyan</dc:creator>
      <dc:date>2013-08-21T14:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Hi Gurus, Doubt in Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-gurus-doubt-in-function-module/m-p/9675106#M1766546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priyan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the FM "PM_PARTNER_CHECK_COMPLETE" the global variable that is my internal table XIHPA is global. when i entered in to my function module in debugging mode i try to check when this table gets filled the first value.&lt;/P&gt;&lt;P&gt;i tried to put watch point but it shows&amp;nbsp;&amp;nbsp;&amp;nbsp; "Variable XIHPA[] does not exist" as it is not defined in this FM. can you please tell me the steps to use the watch point in this scenario.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 14:17:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-gurus-doubt-in-function-module/m-p/9675106#M1766546</guid>
      <dc:creator>former_member525804</dc:creator>
      <dc:date>2013-08-21T14:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Hi Gurus, Doubt in Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-gurus-doubt-in-function-module/m-p/9675107#M1766547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dinesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While trying to create the watchpoint make sure that the status of the variable defined is active because the watchpoint checks for variable in the current driver program. &lt;/P&gt;&lt;P&gt;The issue you are facing is because you are trying to create a watchpoint with a variable which is not defined in the current driver program while debugging. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that you can't create a watchpoint if the status of the variable is as follows.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/265597" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 15:07:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-gurus-doubt-in-function-module/m-p/9675107#M1766547</guid>
      <dc:creator>mayur_priyan</dc:creator>
      <dc:date>2013-08-21T15:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Hi Gurus, Doubt in Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-gurus-doubt-in-function-module/m-p/9675108#M1766548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You create a watchpoint on table without any condition in that case it will stop at each change in the table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first change will be insert only .... so you will get where it is getting filled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 05:44:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-gurus-doubt-in-function-module/m-p/9675108#M1766548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-22T05:44:56Z</dc:date>
    </item>
  </channel>
</rss>

