<?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: BAPI_SALESDOCUMENT_COPY in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesdocument-copy/m-p/10110522#M1816011</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhargava,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;BAPI_MATVAL_PRICE_CHANGE&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;PRICES_CHANGE&lt;/STRONG&gt; &amp;amp; &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;PRICES_POST&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;BAPI_M_REVAL_CREATEPRICECHANGE&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;BAPI_MATERIAL_SAVEDATA&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;These are the fm's to save or change material price.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Feb 2014 08:00:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-02-26T08:00:35Z</dc:date>
    <item>
      <title>BAPI_SALESDOCUMENT_COPY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesdocument-copy/m-p/10110519#M1816008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using this function to copy sales order documents...but i need to update pricing also...can anyone suggest how to do this..&lt;/P&gt;&lt;P&gt;or suggest any other bapi through which can be achieved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 17:44:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesdocument-copy/m-p/10110519#M1816008</guid>
      <dc:creator>bhargava_dns</dc:creator>
      <dc:date>2014-02-25T17:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESDOCUMENT_COPY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesdocument-copy/m-p/10110520#M1816009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to create with reference to old sales order than you try below way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_SALESORDER_CREATEFROMDAT2&lt;/P&gt;&lt;P&gt;In item structure ORDER_ITEMS_IN,&lt;/P&gt;&lt;P&gt;REF_DOC = 'old sales order number'&lt;/P&gt;&lt;P&gt;REF_DOC_IT = 'old sales order item number'&lt;/P&gt;&lt;P&gt;REF_DOC_CA = 'C' sales order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to create without reference than you can try as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: sans-serif;"&gt;1. Collect the data for the reference document with the 'BAPISDORDER_GETDETAILEDLIST' function module.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: sans-serif;"&gt;2. Create the sales document using the 'BAPI_SALESORDER_CREATEFROMDAT2' function module by transferring the prepared data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: sans-serif;"&gt; 4. Finally, you must remove a COMMIT WORK so that the sales document can be written into the database.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: sans-serif;"&gt;For this you can check below link which has example for your ref.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: sans-serif;"&gt;&lt;A href="http://www.sapwiki.cl/wiki/index.php?title=BAPI_COPY_WITH_REF" style="font-family: sans-serif;" title="http://www.sapwiki.cl/wiki/index.php?title=BAPI_COPY_WITH_REF"&gt;BAPI COPY WITH REF - Sapwiki&lt;/A&gt;&lt;SPAN style="color: #000000; font-family: sans-serif;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 18:40:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesdocument-copy/m-p/10110520#M1816009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-25T18:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESDOCUMENT_COPY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesdocument-copy/m-p/10110521#M1816010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Sometimes is better to use BAPI...GET and BAPI...CREATEFROMDAT, but if You need to make slighty small modfication You can modify target document in exit (ex in MV45AFZZ)..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jarek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 21:27:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesdocument-copy/m-p/10110521#M1816010</guid>
      <dc:creator>JarosBaw</dc:creator>
      <dc:date>2014-02-25T21:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESDOCUMENT_COPY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesdocument-copy/m-p/10110522#M1816011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhargava,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;BAPI_MATVAL_PRICE_CHANGE&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;PRICES_CHANGE&lt;/STRONG&gt; &amp;amp; &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;PRICES_POST&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;BAPI_M_REVAL_CREATEPRICECHANGE&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;BAPI_MATERIAL_SAVEDATA&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;These are the fm's to save or change material price.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 08:00:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesdocument-copy/m-p/10110522#M1816011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-26T08:00:35Z</dc:date>
    </item>
  </channel>
</rss>

