<?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: Test BAPI + real post? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337025#M171017</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for you reply, it helped. It worked 1 time, but now I can't get it to work again :s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the BAPI_TRANSACTIO_COMMIT, the return result just says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                                                 &lt;/P&gt;&lt;P&gt;Export parameters   Value                            &lt;/P&gt;&lt;P&gt;RETURN              000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 May 2006 10:16:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-10T10:16:18Z</dc:date>
    <item>
      <title>Test BAPI + real post?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337021#M171013</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;How can I test a BAPI &amp;amp; get an actual result in the table?&lt;/P&gt;&lt;P&gt;Now, when I test a BAPI, the only result that I get is the line: "Document posted successfully ...", but I want to check if all the needed information is written down into the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I do my testing via SE37 + enter BAPI name + hit the F8 button. I've read on a website or in a help document, that for actual postings, you have to do "commit" or sth, but that's all I could find. Don't know how or where. &lt;/P&gt;&lt;P&gt;Anyone in here knows how I can get a result in the table, make an actual posting via a BAPI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2006 07:03:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337021#M171013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-10T07:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Test BAPI + real post?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337022#M171014</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;when you would like to test a BAPI in SE37, you have to use in the menu the option : test sequence (SHIFT + F8). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set in the first line your BAPI and in the second line the BAPI :BAPI_TRANSACTION_COMMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will save all your data like a real use of the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgd&lt;/P&gt;&lt;P&gt;Frédéric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2006 07:21:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337022#M171014</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2006-05-10T07:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Test BAPI + real post?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337023#M171015</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;if it is from SE37, then you should run test sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;frist from menu function module-&amp;gt; test-&amp;gt;test sequence&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one popup comes there enter your BAPI first, then enter BAPI_TRANSACTION_COMMIT  then say ok, and then Run the FM .&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>Wed, 10 May 2006 07:25:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337023#M171015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-10T07:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Test BAPI + real post?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337024#M171016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally we call BAPI inside abap program. Most of the Bapi's need explicit Commit work to commit data in database tables. That means you should commit work after calling bapis in program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABAP statment to commit work is " Commit Work".. &lt;/P&gt;&lt;P&gt;          OR &lt;/P&gt;&lt;P&gt;call Bapi "BAPI_TRANSACTION_COMMIT"..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          OR&lt;/P&gt;&lt;P&gt;if you want to test it using SE37 as Vijay / Frédéric has suggested you can set in the first line your BAPI and in the second line the BAPI :BAPI_TRANSACTION_COMMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will answer your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Nilesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2006 09:54:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337024#M171016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-10T09:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Test BAPI + real post?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337025#M171017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for you reply, it helped. It worked 1 time, but now I can't get it to work again :s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the BAPI_TRANSACTIO_COMMIT, the return result just says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                                                 &lt;/P&gt;&lt;P&gt;Export parameters   Value                            &lt;/P&gt;&lt;P&gt;RETURN              000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2006 10:16:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337025#M171017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-10T10:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Test BAPI + real post?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337026#M171018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  If you are testing in se37 using test sequences, then immediately after the execution of the bapi, you would get the message that the doc has been created.&lt;/P&gt;&lt;P&gt;Then the bapi_transaction_commit will be executed which will return a table which has the same name 'result' but it doesn't have the document number.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2006 10:20:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337026#M171018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-10T10:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Test BAPI + real post?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337027#M171019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Boiler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the document created or not. and try to write the code and see the effect how it is doing for return table parameter.&lt;/P&gt;&lt;P&gt;from SE37 that is how you need to Test the BAPI's.&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>Wed, 10 May 2006 10:23:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337027#M171019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-10T10:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Test BAPI + real post?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337028#M171020</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;The document is not created. It only worked once &amp;amp; then I got also some feedback after the BAPI_TRANSACTION_COMMIT had run. Now I check in the table, but no new documents were posted..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can write the statement "commit work" in the ABAP code, but since I'm not a programmer, I don't know where to write that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a difference between the BAPI COMMIT &amp;amp; the statement commit work: the bapi is for external, could that make any difference? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the object type I use is BKPFF, that should be alright, since the TTYP table says that this is a direct Acc document posting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2006 11:27:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337028#M171020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-10T11:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Test BAPI + real post?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337029#M171021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the BAPI you are using,,,&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>Wed, 10 May 2006 11:42:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337029#M171021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-10T11:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Test BAPI + real post?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337030#M171022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use the BAPI's:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_ACC_INVOICE_RECEIPT_POST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_ACC_DOCUMENT_POST (for G/L postings) -&amp;gt; this one worked for 2 times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OBJ_TYPE: I use BKPFF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could it have sth to do with the WAIT value I have to fill in before the COMMIT BAPI runs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Boiler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2006 13:08:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337030#M171022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-10T13:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Test BAPI + real post?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337031#M171023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Allrigth guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You were all correct!&lt;/P&gt;&lt;P&gt;The problem is that using the BAPI seems to give in the document number as a TEXT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when I want to look at the BSEG table and enter a range: 51400000 until 51400020, the newly created documents will not be shown. Only the ones created "online" via FB60 in SAP. So that's why I could not see them &amp;amp; though they were not created....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I enter a range like I would be doing for text: 514* then my newly created documents show up!! This means troubles! Anyone would know how to solve this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2006 15:30:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337031#M171023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-10T15:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Test BAPI + real post?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337032#M171024</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;so you mean to say it is working. and where you are looking for docment (in BSEG table) try to give &amp;lt;b&amp;gt;0051400000&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;since it is associated with converison routine.&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>Wed, 10 May 2006 15:39:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337032#M171024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-10T15:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Test BAPI + real post?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337033#M171025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to enter with preceeding 0's, but the I click the "process" button or when I go to another line, the 0's are taken away by the system. So in my entry it is seen as numbers, but when it posts, it appears as text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is for the BAPI BAPI_ACC_INVOICE_RECEIPT_POST. &lt;/P&gt;&lt;P&gt;Could this be a bug?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2006 15:59:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337033#M171025</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-10T15:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Test BAPI + real post?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337034#M171026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 09:36:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-bapi-real-post/m-p/1337034#M171026</guid>
      <dc:creator>Dominik_Tylczynski</dc:creator>
      <dc:date>2011-07-08T09:36:49Z</dc:date>
    </item>
  </channel>
</rss>

