<?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: Problems in Valid From Date while Inserting BOM Item in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-valid-from-date-while-inserting-bom-item/m-p/5169192#M1197055</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you using ECM while creating this BOm items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if yes check the ECM valid from date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the date passed by you will be overwritten by the ECM valid from date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Feb 2009 12:18:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-16T12:18:13Z</dc:date>
    <item>
      <title>Problems in Valid From Date while Inserting BOM Item</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-valid-from-date-while-inserting-bom-item/m-p/5169190#M1197053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am inserting a BOM Item into a Sales Order BOM. The material in the SO is a VC Configurable Material and hence I am using the Configurator API's ( CAVC API's Tcode CAVC_TEST). &lt;/P&gt;&lt;P&gt;The process that I am following is &lt;/P&gt;&lt;P&gt;Step 1 : Initiate BOM using FM  &lt;STRONG&gt;CAVC_O_ORDER_BOM_INIT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Step 2 : Find the child instances for the SO BOM using FM &lt;STRONG&gt;CAVC_I_SELECT_CHILDS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Step 3 : Insert BOM Item using &lt;STRONG&gt;CAVC_I_INSERT_BOM_ITEM&lt;/STRONG&gt; for one of the child instance found above.&lt;/P&gt;&lt;P&gt;Step 4 : Save the BOM using FM &lt;STRONG&gt;CAVC_O_ORDER_BOM_SAVE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parameters I pass while inserting the BOM Item are&lt;/P&gt;&lt;P&gt;wa_bom_item_data-item_categ = 'N'.&lt;/P&gt;&lt;P&gt;wa_bom_item_data-component  = '3GZF101011M111'.&lt;/P&gt;&lt;P&gt;wa_bom_item_data-comp_qty   = 1.&lt;/P&gt;&lt;P&gt;wa_bom_item_data-comp_unit  = 'PC'.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;wa_bom_item_data-valid_from&lt;/STRONG&gt; = sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After Saving, the BOM Item gets created under that particular Child Instance. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But the problem is that the Valid From Date that I pass(current date) on to the FM is not considered and a date(future) of its own gets saved.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;Where as if I use tcode &lt;STRONG&gt;CS62&lt;/STRONG&gt; to create the BOM Item, current date is taken as the Valid From date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Pls help me find a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Jinson.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2009 10:42:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-valid-from-date-while-inserting-bom-item/m-p/5169190#M1197053</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-16T10:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in Valid From Date while Inserting BOM Item</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-valid-from-date-while-inserting-bom-item/m-p/5169191#M1197054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the CHNAGE number valid dates and Class valid dates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2009 11:48:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-valid-from-date-while-inserting-bom-item/m-p/5169191#M1197054</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-16T11:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in Valid From Date while Inserting BOM Item</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-valid-from-date-while-inserting-bom-item/m-p/5169192#M1197055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you using ECM while creating this BOm items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if yes check the ECM valid from date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the date passed by you will be overwritten by the ECM valid from date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2009 12:18:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-valid-from-date-while-inserting-bom-item/m-p/5169192#M1197055</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-16T12:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in Valid From Date while Inserting BOM Item</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-valid-from-date-while-inserting-bom-item/m-p/5169193#M1197056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jinson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the STPO table once whether it is updated or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the past when I tried to upload BOM I used CS01.&lt;/P&gt;&lt;P&gt;So Check once again whether you are missing any flags in your Function module parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Dileep .C&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2009 12:22:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-valid-from-date-while-inserting-bom-item/m-p/5169193#M1197056</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-16T12:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in Valid From Date while Inserting BOM Item</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-valid-from-date-while-inserting-bom-item/m-p/5169194#M1197057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jinson,&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="6763649"&gt;&lt;/A&gt;&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;Sravanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2009 12:25:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-valid-from-date-while-inserting-bom-item/m-p/5169194#M1197057</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-16T12:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in Valid From Date while Inserting BOM Item</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-valid-from-date-while-inserting-bom-item/m-p/5169195#M1197058</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;    check the function mod in CAVC_TEST if it is working there.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Krishna..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2009 12:41:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-valid-from-date-while-inserting-bom-item/m-p/5169195#M1197058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-16T12:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in Valid From Date while Inserting BOM Item</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-valid-from-date-while-inserting-bom-item/m-p/5169196#M1197059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass the &lt;STRONG&gt;iv_date&lt;/STRONG&gt; parameter as current date to the Function Module &lt;STRONG&gt;CAVC_O_ORDER_BOM_INIT&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This date will be taken as the Valid From date for BOM components.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'CAVC_O_ORDER_BOM_INIT'
    EXPORTING
      order     = gv_trgvbeln
      order_pos = gv_trgposnr
      iv_date   = lv_curdate
IMPORTING
      instance  = wa_instance
      return    = wa_return.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Jinson.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2009 04:59:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-valid-from-date-while-inserting-bom-item/m-p/5169196#M1197059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-18T04:59:10Z</dc:date>
    </item>
  </channel>
</rss>

