<?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: problem with SET GET parameters in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-get-parameters/m-p/7709778#M1578975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try clearing the parameter id before each iteration and set paramter again .&lt;/P&gt;&lt;P&gt;Inside loop at the end : SET PARAMETER ID 'QLS' FIELD space.&lt;/P&gt;&lt;P&gt;and again set id : SET PARAMETER ID 'QLS' FIELD value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Feb 2011 17:30:26 GMT</pubDate>
    <dc:creator>Sandeep_Panghal</dc:creator>
    <dc:date>2011-02-22T17:30:26Z</dc:date>
    <item>
      <title>problem with SET GET parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-get-parameters/m-p/7709777#M1578974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a problem using SET and GET parameters.&lt;/P&gt;&lt;P&gt;There is a Z transaction(Dialog program) where some fields of screen are having parameter ID's. That transaction is designed to diaplay/change status of only one inspection lot at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to call that transaction in a loop using BDC. I mean i need to update the status of multiple inspection lots(one after the other). Before calling the transaction I am using &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SET PARAMETER ID 'QLS' FIELD lv_prueflos.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Unfortunately the transaction is only changing the first inspection lot. When I debugged I found that the screen field is changing in PAI. Even though in PBO it shows the next value, when it goes to PAI it is automatically changing to the first value(inspection lot).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Inspection Lots : 4100000234&lt;/P&gt;&lt;P&gt;                                           4100000235&lt;/P&gt;&lt;P&gt;                                          4100000236&lt;/P&gt;&lt;P&gt;Now first time when the call transaction is being made the status of insp lot 4100000234 is changed. For the second time when insp lot 4100000235 is being passed in PBO ican see this. But the moment it enters PAI the screen field changes to 4100000234.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you pls help me in solving this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aravind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 16:59:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-get-parameters/m-p/7709777#M1578974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-22T16:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: problem with SET GET parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-get-parameters/m-p/7709778#M1578975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try clearing the parameter id before each iteration and set paramter again .&lt;/P&gt;&lt;P&gt;Inside loop at the end : SET PARAMETER ID 'QLS' FIELD space.&lt;/P&gt;&lt;P&gt;and again set id : SET PARAMETER ID 'QLS' FIELD value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 17:30:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-get-parameters/m-p/7709778#M1578975</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2011-02-22T17:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: problem with SET GET parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-get-parameters/m-p/7709779#M1578976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why dont you use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;free memory id 'XXX'  after the job is over so that set next will have the current iteration value ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'XXX' = 'QLS'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 02:42:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-get-parameters/m-p/7709779#M1578976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-23T02:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: problem with SET GET parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-get-parameters/m-p/7709780#M1578977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Sandeep and Sniper,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I have tried both the ways. &lt;/P&gt;&lt;P&gt;Even if I free or set the memory if to space and later set it to new value as soon as the call transaction is being made in PBO i can see the current value where as in PAI i can see the previous value only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly let me know if there is any other way of solving it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 09:14:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-get-parameters/m-p/7709780#M1578977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-23T09:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: problem with SET GET parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-get-parameters/m-p/7709781#M1578978</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;STRONG&gt;Problem with SET GET parameters&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding on your query. Follow this below link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="8962752"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="8122462"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Hope it will helps to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 18:08:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-get-parameters/m-p/7709781#M1578978</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-03T18:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: problem with SET GET parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-get-parameters/m-p/7709782#M1578979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Aravind,&lt;/P&gt;&lt;P&gt;Not a biggest Fan of parameters unless you are using this in different programs. I would like to suggest a more radical approach if you  are in the same program.&lt;/P&gt;&lt;P&gt;Create a function group. Declare a global variable in the function group. Now create function modules to set and get the values.&lt;/P&gt;&lt;P&gt;Use these function modules inside the program. The values are retained since within a program its sinle LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 18:31:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-get-parameters/m-p/7709782#M1578979</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-03T18:31:56Z</dc:date>
    </item>
  </channel>
</rss>

