<?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: Need to change CONTRACT End date using Bapi BAPI_CUSTOMERCONTRACT_CHANGE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-change-contract-end-date-using-bapi-bapi-customercontract-change/m-p/5457840#M1250568</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;try to use the structure CONTRACT_DATA_IN and CONTRACT_DATA_INX. The field you have to fill is CON_EN_DAT, for the item "000000" (header data).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field VBAK-GUEEN is filled with the data of VEDA-VENDDAT for the header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pepe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Apr 2009 07:40:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-30T07:40:09Z</dc:date>
    <item>
      <title>Need to change CONTRACT End date using Bapi BAPI_CUSTOMERCONTRACT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-change-contract-end-date-using-bapi-bapi-customercontract-change/m-p/5457837#M1250565</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;I need to change date of a contract and for the same I am using Bapi "BAPI_CUSTOMERCONTRACT_CHANGE".&lt;/P&gt;&lt;P&gt;I am passing the following Parameters to the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SALESDOCUMENT&lt;/STRONG&gt;  -- Have passed the Contract Number in this.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CONTRACT_HEADER_IN&lt;/STRONG&gt; -- Have passed the values of the following fields ::&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COLLECT_NO -- Sales Document number&lt;/P&gt;&lt;P&gt;Sales_Org  -- Sales Organization&lt;/P&gt;&lt;P&gt;Distribution Channes -- Dist. Channel&lt;/P&gt;&lt;P&gt;Division -- Division&lt;/P&gt;&lt;P&gt;CT_VALID_T -- New date which I want as the contract end date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CONTRACT_HEADER_INX&lt;/STRONG&gt; -- Following values have been paased in this Structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATEFLAG -- 'U'.&lt;/P&gt;&lt;P&gt;CT_VALID_T -- 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when I run the BAPI with these inputs I get the output as &lt;STRONG&gt;' Field 'GUEEN' cannot be copied, because it is not ready for input'.&lt;/STRONG&gt;This is a information message. But the changes are not reflected in the contract. I have done the commit work after BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I changes the value for &lt;STRONG&gt;CT_VALID_T flag from 'X' to 'U'&lt;/STRONG&gt; the message mentioned above does not come but the end result is same and changes are not reflected in the contract.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be really helpful to you if get any kind of helf to know ehy the output is not coming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a Lot for your kind help!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lalit Kabra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 10:50:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-change-contract-end-date-using-bapi-bapi-customercontract-change/m-p/5457837#M1250565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T10:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need to change CONTRACT End date using Bapi BAPI_CUSTOMERCONTRACT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-change-contract-end-date-using-bapi-bapi-customercontract-change/m-p/5457838#M1250566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lalit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value for CT_VALID_T flag has to be 'X' in the CONTRACT_HEADER_INX structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, you receive an informative message "Field 'GUEEN' cannot be copied, because it is not ready for input'"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is the problem. You cannot change this field because your functional team has this field as "not ready for input" in change mode. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you change this field in transaction VA42? If you can't modify it in dialog, you can't modify it with BAPI.&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, 29 Apr 2009 11:24:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-change-contract-end-date-using-bapi-bapi-customercontract-change/m-p/5457838#M1250566</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T11:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need to change CONTRACT End date using Bapi BAPI_CUSTOMERCONTRACT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-change-contract-end-date-using-bapi-bapi-customercontract-change/m-p/5457839#M1250567</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;Thanks a Lot for your prompt answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I could not find this field GUEEN in  sales order.&lt;/P&gt;&lt;P&gt;One more thing when I try doing this same functionalty using BDC, it works fine. I dont know why it is not working using BAPI.&lt;/P&gt;&lt;P&gt;Could any one please guide me if I am using the correct BAPI  "BAPI_CUSTOMERCONTRACT_CHANGE". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other BAPI/Functionmodule given SAP to change the contract end date of a contract.&lt;/P&gt;&lt;P&gt;Your help and inputs would be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lalit Kabra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 07:17:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-change-contract-end-date-using-bapi-bapi-customercontract-change/m-p/5457839#M1250567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-30T07:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need to change CONTRACT End date using Bapi BAPI_CUSTOMERCONTRACT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-change-contract-end-date-using-bapi-bapi-customercontract-change/m-p/5457840#M1250568</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;try to use the structure CONTRACT_DATA_IN and CONTRACT_DATA_INX. The field you have to fill is CON_EN_DAT, for the item "000000" (header data).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field VBAK-GUEEN is filled with the data of VEDA-VENDDAT for the header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pepe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 07:40:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-change-contract-end-date-using-bapi-bapi-customercontract-change/m-p/5457840#M1250568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-30T07:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Need to change CONTRACT End date using Bapi BAPI_CUSTOMERCONTRACT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-change-contract-end-date-using-bapi-bapi-customercontract-change/m-p/5457841#M1250569</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;Thanks a Lot for your kind help!!!&lt;/P&gt;&lt;P&gt;It worked!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lalit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 09:49:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-change-contract-end-date-using-bapi-bapi-customercontract-change/m-p/5457841#M1250569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-30T09:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Need to change CONTRACT End date using Bapi BAPI_CUSTOMERCONTRACT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-change-contract-end-date-using-bapi-bapi-customercontract-change/m-p/5457842#M1250570</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;I am also facing the same problem. I have tried what is given in this solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in my case, Contract end date is changing. But to different dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know on which logic this dates are varying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manoj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 07:24:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-change-contract-end-date-using-bapi-bapi-customercontract-change/m-p/5457842#M1250570</guid>
      <dc:creator>MKM</dc:creator>
      <dc:date>2014-12-03T07:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need to change CONTRACT End date using Bapi BAPI_CUSTOMERCONTRACT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-change-contract-end-date-using-bapi-bapi-customercontract-change/m-p/5457843#M1250571</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;Is it possible to add contract start date and end date using quotation BAPI(&amp;nbsp; BAPI_QUOTATION_CREATEFROMDATA2)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same field which you tried earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Muthu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 21:51:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-change-contract-end-date-using-bapi-bapi-customercontract-change/m-p/5457843#M1250571</guid>
      <dc:creator>Muthukumaran</dc:creator>
      <dc:date>2016-08-09T21:51:56Z</dc:date>
    </item>
  </channel>
</rss>

