<?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 Not checking Vendor existance (BAPI_VENDOR_EXISTENCECHECK) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-not-checking-vendor-existance-bapi-vendor-existencecheck/m-p/7133210#M1512675</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI is getting from the data and keeping in buffer.so at next time it is checking against buffer values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I copied BAPI into ZBAPI and passing buffer as X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jul 2010 07:03:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-27T07:03:29Z</dc:date>
    <item>
      <title>BAPI Not checking Vendor existance (BAPI_VENDOR_EXISTENCECHECK)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-not-checking-vendor-existance-bapi-vendor-existencecheck/m-p/7133208#M1512673</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;My BDC will created and update the vendor. code is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the vendor existance using BAPI_VENDOR_EXISTENCECHECK.&lt;/P&gt;&lt;P&gt;IF VENDOR exist.&lt;/P&gt;&lt;P&gt;Update the VENDOR.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;Create VENDOR.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;But the problem is, in case of update record come very next one of the creation of same record.&lt;/P&gt;&lt;P&gt;For the first record BAPI giving vendor doesn't exist and creating, it is fine but&lt;/P&gt;&lt;P&gt;For second one BAPI is giving vendor doesn't exist but the same is exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data&lt;/P&gt;&lt;P&gt;(1000091098 ''''''''' 1st record'&lt;/P&gt;&lt;P&gt;1000091098 ''''''''''') 2nd record&lt;/P&gt;&lt;P&gt;I can't use the select statement instead of BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why the BAPI is getting fails to do. i am using commit work after BDC also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 14:39:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-not-checking-vendor-existance-bapi-vendor-existencecheck/m-p/7133208#M1512673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-23T14:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Not checking Vendor existance (BAPI_VENDOR_EXISTENCECHECK)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-not-checking-vendor-existance-bapi-vendor-existencecheck/m-p/7133209#M1512674</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;there is nothing wrong with BAPI. There are two ways to solve this,&lt;/P&gt;&lt;P&gt;1) Put wait after vendor creation&lt;/P&gt;&lt;P&gt;2) Call BAPI &amp;amp; creation of vendor only one time.Why we need to check the same vendor again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jul 2010 11:53:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-not-checking-vendor-existance-bapi-vendor-existencecheck/m-p/7133209#M1512674</guid>
      <dc:creator>former_member75463</dc:creator>
      <dc:date>2010-07-24T11:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Not checking Vendor existance (BAPI_VENDOR_EXISTENCECHECK)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-not-checking-vendor-existance-bapi-vendor-existencecheck/m-p/7133210#M1512675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI is getting from the data and keeping in buffer.so at next time it is checking against buffer values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I copied BAPI into ZBAPI and passing buffer as X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jul 2010 07:03:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-not-checking-vendor-existance-bapi-vendor-existencecheck/m-p/7133210#M1512675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-27T07:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Not checking Vendor existance (BAPI_VENDOR_EXISTENCECHECK)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-not-checking-vendor-existance-bapi-vendor-existencecheck/m-p/7133211#M1512676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know it's solved (thank you for the feedback), but...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; The BAPI is getting from the data and keeping in buffer.so at next time it is checking against buffer values.&lt;/P&gt;&lt;P&gt;&amp;gt; I copied BAPI into ZBAPI and passing buffer as X.&lt;/P&gt;&lt;P&gt;As you are talking about a buffer, I thought you might be interested by this [wiki which explains why you MUST use BAPI_TRANSACTION_COMMIT instead of COMMIT WORK|http://wiki.sdn.sap.com/wiki/display/ABAP/BAPI_TRANSACTION_COMMIT&lt;EM&gt;versus&lt;/EM&gt;COMMIT+WORK] when you use BAPIs, and what is this buffer about.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; i am using commit work after BDC also&lt;/P&gt;&lt;P&gt;Executing COMMIT WORK after a CALL TRANSACTION will have no effect on what is done inside the CALL TRANSACTION because it's done in a different LUW (see [sap library|http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbae4135c111d1829f0000e829fbfe/frameset.htm]).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jul 2010 21:04:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-not-checking-vendor-existance-bapi-vendor-existencecheck/m-p/7133211#M1512676</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-07-27T21:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Not checking Vendor existance (BAPI_VENDOR_EXISTENCECHECK)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-not-checking-vendor-existance-bapi-vendor-existencecheck/m-p/7133212#M1512677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sandra Rossi for clarification.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jul 2010 09:31:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-not-checking-vendor-existance-bapi-vendor-existencecheck/m-p/7133212#M1512677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-28T09:31:17Z</dc:date>
    </item>
  </channel>
</rss>

