<?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: Sales Order Create BDC/BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-create-bdc-bapi/m-p/6814158#M1469396</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using the function module "SD_SALESDOCUMENT_CREATE" to create Sales order, This will confirm even partial available quantity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Through BDC also this is possible.  Refer Some lines of BDC recording for availability check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;perform bdc_dynpro      using 'SAPMV45A' '4001'.
            perform bdc_field       using 'BDC_OKCODE'
                                          '=POPO'.
            perform bdc_dynpro      using 'SAPMV45A' '0251'.
            perform bdc_field       using 'BDC_CURSOR'
                                          'RV45A-POSNR'.
            perform bdc_field       using 'BDC_OKCODE'
                                          '=POSI'.
            perform bdc_field       using 'RV45A-POSNR'
                                           l_posnr .        " '30'.
            perform bdc_dynpro      using 'SAPMV45A' '4001'.
            perform bdc_field       using 'BDC_OKCODE'
                                          '=ITEM'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Apr 2010 05:17:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-14T05:17:19Z</dc:date>
    <item>
      <title>Sales Order Create BDC/BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-create-bdc-bapi/m-p/6814157#M1469395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I want to upload Sales Orders using BAPI or BDC. But, in both the cases, system is not catching availability check confirmation screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. When we mannually create Sales Order, system does availability check evrytime; when less stock is available the given in the Order, system shows confirmation screen with the available stock. On confirmation, this stock is taken as confirmed in Schedule Lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. But, when I tried to do it through BDC, the confirmation screen is not available; system takes 0 as confirmed qty in Schedule Lines when Order Qty is more than the available stock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want that the same thing as is available in Mannual Sales Order creation, should be available with BDC too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I achieve this?&lt;/P&gt;&lt;P&gt;Can anyone pls help on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 12:35:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-create-bdc-bapi/m-p/6814157#M1469395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-13T12:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Order Create BDC/BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-create-bdc-bapi/m-p/6814158#M1469396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using the function module "SD_SALESDOCUMENT_CREATE" to create Sales order, This will confirm even partial available quantity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Through BDC also this is possible.  Refer Some lines of BDC recording for availability check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;perform bdc_dynpro      using 'SAPMV45A' '4001'.
            perform bdc_field       using 'BDC_OKCODE'
                                          '=POPO'.
            perform bdc_dynpro      using 'SAPMV45A' '0251'.
            perform bdc_field       using 'BDC_CURSOR'
                                          'RV45A-POSNR'.
            perform bdc_field       using 'BDC_OKCODE'
                                          '=POSI'.
            perform bdc_field       using 'RV45A-POSNR'
                                           l_posnr .        " '30'.
            perform bdc_dynpro      using 'SAPMV45A' '4001'.
            perform bdc_field       using 'BDC_OKCODE'
                                          '=ITEM'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 05:17:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-create-bdc-bapi/m-p/6814158#M1469396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-14T05:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sales Order Create BDC/BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-create-bdc-bapi/m-p/6814159#M1469397</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 now having an issue where function module SD_SALESDOCUMENT_CREATE do not confirm automatically when there are partial availability of stock. May I know the reason for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Zheng&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2011 04:36:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-create-bdc-bapi/m-p/6814159#M1469397</guid>
      <dc:creator>zheng_yingjie</dc:creator>
      <dc:date>2011-04-22T04:36:20Z</dc:date>
    </item>
  </channel>
</rss>

