<?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: Error while creating Sales Order Through BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-sales-order-through-bapi/m-p/6925133#M1484875</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Santosh,&lt;/P&gt;&lt;P&gt;Have u coded for commit work after the bapi executed successfully&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.
                CALL FUNCTION *'BAPI_TRANSACTION_COMMIT'*.
                MESSAGE 'Document Created TYPE 'I'.
                SET PF-STATUS 'ZBAPI1'.
              ELSE .
                MESSAGE 'Document contains Errors' TYPE 'E'.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 May 2010 05:53:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-14T05:53:53Z</dc:date>
    <item>
      <title>Error while creating Sales Order Through BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-sales-order-through-bapi/m-p/6925129#M1484871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;  i am creating a RFC where i have to create sales order .&lt;/P&gt;&lt;P&gt;I am using bapi &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;BAPI_SALESORDER_CREATEFROMDAT2&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; for same and entering values to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the following return messages: &lt;/P&gt;&lt;P&gt;S V4                   233 SALES_HEADER_IN has been processed successfully&lt;/P&gt;&lt;P&gt;S V4                   233 SALES_ITEM_IN has been processed successfully&lt;/P&gt;&lt;P&gt;S V1                   311 BDN Order 3112800903 has been saved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I go to transaction VA03 and enter the number i get the following error:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SD document 3112800903 is not in the database or has been archived&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one know how to resolve this error.I am also using BAPI_TRANSACTION_COMMIT with wait = 'X'.&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;Santosh Alle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 05:25:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-sales-order-through-bapi/m-p/6925129#M1484871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-14T05:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating Sales Order Through BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-sales-order-through-bapi/m-p/6925130#M1484872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when you call the FM BAPI_TRANSACTION_COMMIT just check the return code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 05:39:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-sales-order-through-bapi/m-p/6925130#M1484872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-14T05:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating Sales Order Through BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-sales-order-through-bapi/m-p/6925131#M1484873</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 check the return message once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SD document 3112800903 is not in the database or has been archived
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get this message if the sales document is deleted from the database .The BAPI   'BAPI_SALESORDER_CHANGE'  is used to delete salesorder.Check whether anyone has deleted it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, sometimes it may take few seconds to update the sales order in the database when using BAPI. Check the transaction after some time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lakshman.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Lakshman N on May 14, 2010 7:43 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 05:43:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-sales-order-through-bapi/m-p/6925131#M1484873</guid>
      <dc:creator>former_member209217</dc:creator>
      <dc:date>2010-05-14T05:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating Sales Order Through BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-sales-order-through-bapi/m-p/6925132#M1484874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Laxman,&lt;/P&gt;&lt;P&gt;   As soon as the Sales Order is been generated I check in VA03. How can it be deleted.Its been arceived I guess..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 05:46:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-sales-order-through-bapi/m-p/6925132#M1484874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-14T05:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating Sales Order Through BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-sales-order-through-bapi/m-p/6925133#M1484875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Santosh,&lt;/P&gt;&lt;P&gt;Have u coded for commit work after the bapi executed successfully&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.
                CALL FUNCTION *'BAPI_TRANSACTION_COMMIT'*.
                MESSAGE 'Document Created TYPE 'I'.
                SET PF-STATUS 'ZBAPI1'.
              ELSE .
                MESSAGE 'Document contains Errors' TYPE 'E'.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 05:53:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-sales-order-through-bapi/m-p/6925133#M1484875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-14T05:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating Sales Order Through BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-sales-order-through-bapi/m-p/6925134#M1484876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure whether its been deleted or archived.But check ,some program might be running behind this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lakshman.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Lakshman N on May 14, 2010 7:57 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 05:57:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-sales-order-through-bapi/m-p/6925134#M1484876</guid>
      <dc:creator>former_member209217</dc:creator>
      <dc:date>2010-05-14T05:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating Sales Order Through BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-sales-order-through-bapi/m-p/6925135#M1484877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;found myself&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Sep 2010 05:14:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-sales-order-through-bapi/m-p/6925135#M1484877</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-03T05:14:23Z</dc:date>
    </item>
  </channel>
</rss>

