<?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: CHANGING parameters not changed? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameters-not-changed/m-p/11403754#M1925352</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd use IMPORT and EXPORT to move the data back from your perform to the calling function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is probably some timing issue with the parameter values. Marshalling? Asynchronous execution? Not sure of the jargon that applies here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Dec 2015 15:23:28 GMT</pubDate>
    <dc:creator>juan_suros</dc:creator>
    <dc:date>2015-12-07T15:23:28Z</dc:date>
    <item>
      <title>CHANGING parameters not changed?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameters-not-changed/m-p/11403753#M1925351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a workflow task that runs in the background. It's supposed to update a custom log table Z_LOG. The table entries didn't get updated as expected, so I added a few log points and activated them globally in SAAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function module &lt;SPAN style="font-size: 10pt;"&gt;calls a subroutine that gets the correct values from tables&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Perform &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Get_Fi_Invoicedata_210 &lt;SPAN class="L0S52"&gt;Using &lt;/SPAN&gt;im_logdata&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;company_code&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; im_logdata&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;fi_document&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; im_logdata&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;fiscal_year&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;Changing &lt;/SPAN&gt;wa_log&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Just before ENDFORM, I have inserted a log point to check the values of wa_log (p_log).&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;log&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;point &lt;SPAN class="L0S52"&gt;id &lt;/SPAN&gt;ZMARTTI_OSLA &lt;SPAN class="L0S52"&gt;fields &lt;/SPAN&gt;p_log&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;refno p_log&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;amount p_log&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;amount_lc&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Then right after the subroutine call, I check the values of wa_log again&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;log&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;point &lt;SPAN class="L0S52"&gt;id &lt;/SPAN&gt;ZMARTTI_OSLA &lt;SPAN class="L0S52"&gt;fields &lt;/SPAN&gt;wa_log&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;refno wa_log&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;amount wa_log&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;amount_lc&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now here's the weird thing: &lt;/P&gt;&lt;P&gt;in SAAB logs, I see that at the end of the subroutine, p_log-amount has a new value, say 132.00&lt;/P&gt;&lt;P&gt;but back in the main program, I see that wa_log-amount has the old value, 131.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This happens occasionally, maybe one time out of three, when we run it in the background with WF-BATCH. In direct debugging, it doesn't happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I have to decide which I rely more on, subroutine parameter passing or SAAB, I'd choose basic subroutine passing every time. Still, the actual results seem to agree with what SAAB shows: sometimes the new values are not updated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2015 15:02:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameters-not-changed/m-p/11403753#M1925351</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-12-07T15:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: CHANGING parameters not changed?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameters-not-changed/m-p/11403754#M1925352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd use IMPORT and EXPORT to move the data back from your perform to the calling function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is probably some timing issue with the parameter values. Marshalling? Asynchronous execution? Not sure of the jargon that applies here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2015 15:23:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameters-not-changed/m-p/11403754#M1925352</guid>
      <dc:creator>juan_suros</dc:creator>
      <dc:date>2015-12-07T15:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: CHANGING parameters not changed?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameters-not-changed/m-p/11403755#M1925353</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;never heard of parameters not getting correct values after calling a method / perform.&lt;/P&gt;&lt;P&gt;are there any dirty assigns influencing the values? does the structure fit? maybe the result does not get populated into the correct field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you lock the z-Tabelle befor updating it, so parallel updates dont influence each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you import/export from memory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Stefan Seeburger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2015 15:38:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameters-not-changed/m-p/11403755#M1925353</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-12-07T15:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: CHANGING parameters not changed?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameters-not-changed/m-p/11403756#M1925354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, IMPORT and EXPORT to memory with a key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like to use a GUID for the keywhen multiple batch jobs or threads may be involved:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;DATA: guid &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;guid_32.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;guid &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;cl_system_uuid&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;create_uuid_c32_static&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There must be some issue with the runtime losing synchronization of the calls from one process to the next. Arto doesn't say, but I suspect the FM is called IN UPDATE TASK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Juan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2015 15:59:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameters-not-changed/m-p/11403756#M1925354</guid>
      <dc:creator>juan_suros</dc:creator>
      <dc:date>2015-12-07T15:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: CHANGING parameters not changed?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameters-not-changed/m-p/11403757#M1925355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The execution process is quite simple. The function is not called in parallel, nor in update task. It's just called from a workflow method, and thus executed in the background by WF-BATCH. That shouldn't change the way it runs, though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there's anything that has been thoroughly tested and widely used, that's parameter passing, so I guess I don't seriously think there would be an error in passing parameters from a subroutine. It must be something else, but can't see what.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have the function module Z_IV_UPDATE_LOG_TABLE that calls the subroutine as below, with the log point right after the call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Perform &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Get_Fi_Invoicedata_210 &lt;SPAN class="L0S52"&gt;Using &lt;/SPAN&gt;im_logdata&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;company_code&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; im_logdata&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;fi_document&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; im_logdata&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;fiscal_year&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;Changing &lt;/SPAN&gt;wa_log&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;endif&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;log&lt;/SPAN&gt;&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;point &lt;SPAN class="L0S52"&gt;id &lt;/SPAN&gt;ZMARTTI_OSLA &lt;SPAN class="L0S52"&gt;fields &lt;/SPAN&gt;wa_log&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;refno wa_log&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;amount wa_log&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;amount_lc&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;The subroutine signature is&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FORM &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;get_fi_invoicedata_210 &lt;SPAN class="L0S52"&gt;USING &lt;/SPAN&gt;p_bukrs p_belnr p_gjahr&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CHANGING &lt;/SPAN&gt;p_log &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;z_iv_log&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and the last lines of the subroutine are &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;log&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;point &lt;SPAN class="L0S52"&gt;id &lt;/SPAN&gt;ZMARTTI_OSLA &lt;SPAN class="L0S52"&gt;fields &lt;/SPAN&gt;p_log&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;refno p_log&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;amount p_log&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;amount_lc&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; &lt;SPAN class="L0S52"&gt;ENDFORM&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;" GET_FI_INVOICEDATA_210&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;So there's not much room for dirty assigns&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;The logpoint in the subroutine shows the new value (for example 132.00) for parameter p_log-amount.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;The logpoint in the FM shows the old value (131.00) for wa_log-amount.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;But this doesn't happen every time I run this. Strange, indeed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2015 11:37:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameters-not-changed/m-p/11403757#M1925355</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-12-08T11:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: CHANGING parameters not changed?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameters-not-changed/m-p/11403758#M1925356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As one could have guessed, there was nothing wrong with standard parameter passing or log points. It was my interpretation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the larger framework, there was another call to the subroutine that I had missed. In that latter call, the subroutine had the new values, and that log point obscured the results of the first call. I then misinterpreted that the subroutine had new values, but returned old values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We fixed the leak by doing the same read and update routines again a bit further down the road. Admittedly, it's a bit stupid, and &lt;SPAN style="font-size: 10pt;"&gt;there are still some elements that I don't understand, but I ran out of time and budget in exploring. I believe most of it goes down to the standard invoice update functions not having completed database updates by the time the invoice was re-read from the database. As for the rest, I'll just have to shrug and let it pass...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 15:10:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameters-not-changed/m-p/11403758#M1925356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-12-11T15:10:24Z</dc:date>
    </item>
  </channel>
</rss>

