<?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: Change Validity using IDOC_INPUT_COND_A in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-validity-using-idoc-input-cond-a/m-p/6632745#M1442134</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i didnt change the Validity Dates though ... but that can be done.. just by putting an enhancement in teh Inbound Function Module : "IDOC_INPUT_COND_A" . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enhancement should be put below following lines of code :::&lt;/P&gt;&lt;P&gt; "ENHANCEMENT-POINT idoc_input_cond_a_g1 SPOTS es_saplvkoi.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$&lt;/STRONG&gt;$-Start: IDOC_INPUT_COND_A_G1----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------" /&gt;&lt;P&gt;$&lt;STRONG&gt;$&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ENHANCEMENT 1  MGV_GENERATED_IDOC_INPUT_CO005.    "active version"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Internal Table idoc_data contains all the segments and segment value is there asa string in "sdata" field of Idoc_data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jsust need to find the position of the VALIDAITY DATE in this case and replace it with the required date... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have tried it for changing fields like LIFNR, KSCHL, CONDITION, EKORG and replaced them with new values... the idoc posts with the new values and new value sare updated too... and no extra records are created. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope it answers the query...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Feb 2010 07:01:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-24T07:01:50Z</dc:date>
    <item>
      <title>Change Validity using IDOC_INPUT_COND_A</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-validity-using-idoc-input-cond-a/m-p/6632743#M1442132</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 using the FM IDOC_INPUT_COND_A to change the validity of a record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ex: if I have a record as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MANDT KAPPL KSCHL        HIENR        PRODH1 KFRST      DATBI      DATAB       KBSTAT       KNUMH&lt;/P&gt;&lt;P&gt;140   V                ZRET            0000000099   02                 12/31/9999    04/20/2010              0000451885&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I want to change the validity of the record to 12/31/2010 then is it possible with this IDOC approach? Currently when I am trying to do its creating another record from 01/01/2011 to 12/31/9999 which I do not want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2010 17:45:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-validity-using-idoc-input-cond-a/m-p/6632743#M1442132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-09T17:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Change Validity using IDOC_INPUT_COND_A</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-validity-using-idoc-input-cond-a/m-p/6632744#M1442133</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;The standard COND_A Inbound FM, i.e. "IDOC_INPUT_COND_A" will create a new record if you try to change the validity end date to certain date which is intermediate between the current validity from and to dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case 12/31/2010 falls in between the current validity dates, i.e. 04/20/2010 and 12/31/9999; hence it will create another condition record in the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To avoid the creation of new condition record, we used the FM "RV_KONDITION_SICHERN_V13A" in one of the developments in my project. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ganga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 11:25:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-validity-using-idoc-input-cond-a/m-p/6632744#M1442133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-12T11:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Change Validity using IDOC_INPUT_COND_A</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-validity-using-idoc-input-cond-a/m-p/6632745#M1442134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i didnt change the Validity Dates though ... but that can be done.. just by putting an enhancement in teh Inbound Function Module : "IDOC_INPUT_COND_A" . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enhancement should be put below following lines of code :::&lt;/P&gt;&lt;P&gt; "ENHANCEMENT-POINT idoc_input_cond_a_g1 SPOTS es_saplvkoi.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$&lt;/STRONG&gt;$-Start: IDOC_INPUT_COND_A_G1----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------" /&gt;&lt;P&gt;$&lt;STRONG&gt;$&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ENHANCEMENT 1  MGV_GENERATED_IDOC_INPUT_CO005.    "active version"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Internal Table idoc_data contains all the segments and segment value is there asa string in "sdata" field of Idoc_data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jsust need to find the position of the VALIDAITY DATE in this case and replace it with the required date... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have tried it for changing fields like LIFNR, KSCHL, CONDITION, EKORG and replaced them with new values... the idoc posts with the new values and new value sare updated too... and no extra records are created. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope it answers the query...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 07:01:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-validity-using-idoc-input-cond-a/m-p/6632745#M1442134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-24T07:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Change Validity using IDOC_INPUT_COND_A</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-validity-using-idoc-input-cond-a/m-p/6632746#M1442135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Need to close because of 10 question&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 13:45:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-validity-using-idoc-input-cond-a/m-p/6632746#M1442135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-28T13:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Change Validity using IDOC_INPUT_COND_A</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-validity-using-idoc-input-cond-a/m-p/6632747#M1442136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same issue. How did you solve your issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 13:27:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-validity-using-idoc-input-cond-a/m-p/6632747#M1442136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-08T13:27:02Z</dc:date>
    </item>
  </channel>
</rss>

