<?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: problem for bapi: BAPI_SALESORDER_CREATEFROMDAT2 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-bapi-bapi-salesorder-createfromdat2/m-p/1194967#M129432</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Macy, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Sales order will not be saved in the database till the time you call the bapi from an ABAP Program. &lt;/P&gt;&lt;P&gt;Also you have call the FM BAPI_TRANSACTION_COMMIT after the calling the BAPI BAPI_SALESORDER_CREATEFROMDAT2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are simply testing the BAPI from SE37, no Sales Order will be saved in the database tables and hence will not be seen in VA03. Testing BAPI from se37 is simply a simulation of the sales order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So create a test program, call the bapi&lt;/P&gt;&lt;P&gt;BAPI_SALESORDER_CREATEFROMDAT2.. pass all the required data. &lt;/P&gt;&lt;P&gt;Then if sy-subrc = 0&lt;/P&gt;&lt;P&gt;call FM BAPI_TRANSACTION_COMMIT....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lokesh&lt;/P&gt;&lt;P&gt;Pls. reward appropriate points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2006 05:06:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-23T05:06:41Z</dc:date>
    <item>
      <title>problem for bapi: BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-bapi-bapi-salesorder-createfromdat2/m-p/1194963#M129428</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;when creating sales order via BAPI_SALESORDER_CREATEFROMDAT2 in the testing mode,&lt;/P&gt;&lt;P&gt;it returns a sales order no successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when a veiw it via VA03, the system says that this sales order doesn't exist.&lt;/P&gt;&lt;P&gt;What's wrong? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 04:40:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-bapi-bapi-salesorder-createfromdat2/m-p/1194963#M129428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T04:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: problem for bapi: BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-bapi-bapi-salesorder-createfromdat2/m-p/1194964#M129429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot do a single test from SE37 for this BAPI as it requires a commit. You will have to do this using the feature 'Test Sequence' in SE37. In the initial screen of SE37, enter 'BAPI_SALESORDER_CREATEFROMDAT2' and then in the menu, 'Function Module--&amp;gt;Test Sequences'. In the pop-up, enter 'BAPI_SALESORDER_CREATEFROMDAT2' in the first line, and then enter 'BAPI_TRANSACTION_COMMIT' in the second. Then Execute and follow the test. It will bring the 'BAPI_SALESORDER_CREATEFROMDAT2' first for testing. Enter test data, execute and then it will bring the next function module. Execute that and your sales order will be saved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 04:54:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-bapi-bapi-salesorder-createfromdat2/m-p/1194964#M129429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T04:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: problem for bapi: BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-bapi-bapi-salesorder-createfromdat2/m-p/1194965#M129430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Macy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Sales order will not get generated when you execute the BAPI in testing mode. It will only tell you whether processing will go through fine or not. Although it returns a order number, the order is never created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if you take out the testing mode, you should be able to see the order in VA03.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Reward the posts that help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 04:55:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-bapi-bapi-salesorder-createfromdat2/m-p/1194965#M129430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T04:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: problem for bapi: BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-bapi-bapi-salesorder-createfromdat2/m-p/1194966#M129431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u need to use&lt;/P&gt;&lt;P&gt;You have to call the bapi BAPI_TRANSACTION_COMMIT after the first bapi is succesful or BAPI_TRANSACTION_ROLLBACK for not success.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 04:57:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-bapi-bapi-salesorder-createfromdat2/m-p/1194966#M129431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T04:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: problem for bapi: BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-bapi-bapi-salesorder-createfromdat2/m-p/1194967#M129432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Macy, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Sales order will not be saved in the database till the time you call the bapi from an ABAP Program. &lt;/P&gt;&lt;P&gt;Also you have call the FM BAPI_TRANSACTION_COMMIT after the calling the BAPI BAPI_SALESORDER_CREATEFROMDAT2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are simply testing the BAPI from SE37, no Sales Order will be saved in the database tables and hence will not be seen in VA03. Testing BAPI from se37 is simply a simulation of the sales order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So create a test program, call the bapi&lt;/P&gt;&lt;P&gt;BAPI_SALESORDER_CREATEFROMDAT2.. pass all the required data. &lt;/P&gt;&lt;P&gt;Then if sy-subrc = 0&lt;/P&gt;&lt;P&gt;call FM BAPI_TRANSACTION_COMMIT....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lokesh&lt;/P&gt;&lt;P&gt;Pls. reward appropriate points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 05:06:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-bapi-bapi-salesorder-createfromdat2/m-p/1194967#M129432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T05:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: problem for bapi: BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-bapi-bapi-salesorder-createfromdat2/m-p/1194968#M129433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for your help.&lt;/P&gt;&lt;P&gt;It works when I test with the bapi_transaction_commit in R/3.&lt;/P&gt;&lt;P&gt;But could I call it via my VB after calling the BAPI_SALESORDER_CREATEFROMDAT2?&lt;/P&gt;&lt;P&gt;it gives me error in the VB program:&lt;/P&gt;&lt;P&gt;Additional information: Method SAPProxy1.Bapi_Transaction_Commit can not be reflected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 07:13:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-bapi-bapi-salesorder-createfromdat2/m-p/1194968#M129433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T07:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: problem for bapi: BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-bapi-bapi-salesorder-createfromdat2/m-p/1194969#M129434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;there also call the &amp;lt;b&amp;gt;BAPI_TRANSACTION_COMMIT&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;after the BAPI Call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 07:29:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-bapi-bapi-salesorder-createfromdat2/m-p/1194969#M129434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T07:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: problem for bapi: BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-bapi-bapi-salesorder-createfromdat2/m-p/1194970#M129435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, that is something else. RFC connections are tricky in that they open new tasks whenever you go back and forth unless you put everything in a single call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, you may have to combine the two calls into one LUW. Then it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 17:29:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-bapi-bapi-salesorder-createfromdat2/m-p/1194970#M129435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T17:29:19Z</dc:date>
    </item>
  </channel>
</rss>

