<?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 Values not clearedoff in standard BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/values-not-clearedoff-in-standard-bapi/m-p/6327833#M1395642</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 having a program which updates Kanban Control Cycle in mass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am calling BAPI 'BAPI_KANBANCC_CHANGE' inside a LOOP-ENDLOOP, where the control cycle number, material, supply area and plant is passed one by one to the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works fine when only one control cycle is passed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When multiple control cycles are passed, it does not clear some of the standard parameters related to configuration.&lt;/P&gt;&lt;P&gt;Due to which the program fails to update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following is the part of standard code inside the BAPI where it fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FORM check_terminierung USING pkhd_is LIKE pkhd.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF    tpk02-uttrm = xflag       "Prüfung, wenn Felder auf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OR  tpk03-uttrm = xflag.     "dem screen schon aufgeblendet&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF pkhd_is-kcprf IS INITIAL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OR tpkbp-schgrup IS INITIAL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OR tpkbp-sprog   IS INITIAL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OR tpkbp-fabkl   IS INITIAL.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SET CURSOR FIELD 'PKHD-KCPRF'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MESSAGE e334.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ELSEIF pkhd_is-kwbzm  IS INITIAL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AND    tpkbp-kwbzm IS INITIAL.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SET CURSOR FIELD 'PKHD-KWBZM'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MESSAGE e334.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDFORM.                    " CHECK_TERMINIERUNG&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone has any idea, on how we can clear off the old values ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sunanda.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Oct 2009 09:28:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-29T09:28:54Z</dc:date>
    <item>
      <title>Values not clearedoff in standard BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/values-not-clearedoff-in-standard-bapi/m-p/6327833#M1395642</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 having a program which updates Kanban Control Cycle in mass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am calling BAPI 'BAPI_KANBANCC_CHANGE' inside a LOOP-ENDLOOP, where the control cycle number, material, supply area and plant is passed one by one to the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works fine when only one control cycle is passed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When multiple control cycles are passed, it does not clear some of the standard parameters related to configuration.&lt;/P&gt;&lt;P&gt;Due to which the program fails to update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following is the part of standard code inside the BAPI where it fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FORM check_terminierung USING pkhd_is LIKE pkhd.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF    tpk02-uttrm = xflag       "Prüfung, wenn Felder auf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OR  tpk03-uttrm = xflag.     "dem screen schon aufgeblendet&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF pkhd_is-kcprf IS INITIAL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OR tpkbp-schgrup IS INITIAL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OR tpkbp-sprog   IS INITIAL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OR tpkbp-fabkl   IS INITIAL.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SET CURSOR FIELD 'PKHD-KCPRF'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MESSAGE e334.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ELSEIF pkhd_is-kwbzm  IS INITIAL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AND    tpkbp-kwbzm IS INITIAL.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SET CURSOR FIELD 'PKHD-KWBZM'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MESSAGE e334.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDFORM.                    " CHECK_TERMINIERUNG&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone has any idea, on how we can clear off the old values ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sunanda.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 09:28:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/values-not-clearedoff-in-standard-bapi/m-p/6327833#M1395642</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-29T09:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Values not clearedoff in standard BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/values-not-clearedoff-in-standard-bapi/m-p/6327834#M1395643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunanda,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had the same problem. Please use the FM:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PK_REFRESH_ALL&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;before calling your &lt;STRONG&gt;BAPI_KANBANCC_CHANGE&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;It is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would answer early, but only now in February I had that problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please write, what was your solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 09:35:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/values-not-clearedoff-in-standard-bapi/m-p/6327834#M1395643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-18T09:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Values not clearedoff in standard BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/values-not-clearedoff-in-standard-bapi/m-p/6327835#M1395644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunanda,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had the same problem. Please use the FM:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PK_REFRESH_ALL&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;before calling your &lt;STRONG&gt;BAPI_KANBANCC_CHANGE&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;It is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would answer early, but only now in February I had that problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please write, what was your solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 09:35:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/values-not-clearedoff-in-standard-bapi/m-p/6327835#M1395644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-18T09:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Values not clearedoff in standard BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/values-not-clearedoff-in-standard-bapi/m-p/6327836#M1395645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunanda,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had the same problem. Please use the FM:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PK_REFRESH_ALL&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;before calling your &lt;STRONG&gt;BAPI_KANBANCC_CHANGE&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;It is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would answer early, but only now in February I had that problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please write, what was your solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 09:51:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/values-not-clearedoff-in-standard-bapi/m-p/6327836#M1395645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-18T09:51:44Z</dc:date>
    </item>
  </channel>
</rss>

