<?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 vs BDCs in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-vs-bdcs/m-p/3477514#M835955</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks  ..i am new here.... i'll remember your advice,,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Mar 2008 22:04:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-07T22:04:12Z</dc:date>
    <item>
      <title>BAPI vs BDCs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-vs-bdcs/m-p/3477512#M835953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the difference between BAPIs and BDCs...why BAPIs are preferred...? i know you might have gone through this question a zillion times....but the thing that bugs me the most is the fact that...if BAPIs are a better choise to transfer data as compared to BDCs...then where on earth are the field validations done in BAPIs.? ...how is data integrity maintained if data is transferred through BAPIs? ( since data is not passed through screens...no validations are done)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2008 21:52:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-vs-bdcs/m-p/3477512#M835953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-07T21:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI vs BDCs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-vs-bdcs/m-p/3477513#M835954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please do not cross or duplicate post - it makes it difficult for responders to help if the question is answered in the other one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See my answer in your other post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2008 21:55:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-vs-bdcs/m-p/3477513#M835954</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-07T21:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI vs BDCs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-vs-bdcs/m-p/3477514#M835955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks  ..i am new here.... i'll remember your advice,,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2008 22:04:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-vs-bdcs/m-p/3477514#M835955</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-07T22:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI vs BDCs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-vs-bdcs/m-p/3477515#M835956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not to worry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you find that you haven't gotten a good answer after a while, instead of creating a new thread, you can edit your original one and it will go to the top of the heap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2008 22:14:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-vs-bdcs/m-p/3477515#M835956</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-07T22:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI vs BDCs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-vs-bdcs/m-p/3477516#M835957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I much prefer BAPIs over BDCs because they are much faster for me to develop and use. You never have to worry about screen numbers/screen flow/subscreens changing on you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if you have to save data to a table control, you just pass a table in the BAPI at the tables parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of my favorite features is that most BAPIs let you run them in "TEST" mode - you pass an "X" to the NOCOMMIT importing parameter and it will return a success or error message without committing the changes to the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've used BAPIs on the HR side so I can speak to that. When you call a BAPI, such as BAPI_BEN_BUS3029_CREATE_PLANS to enroll an employee in Benefits, deep down you will find it performs a sort-of BDC session afterall.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case, you will eventually get to the following which updates employee master data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL DIALOG 'HR_MAINTAIN_MASTER_DATA' USING *BDCDATA* MODE *l_mode*
         EXPORTING
           PSPAR
           PROPOSED_VALUES
           LUW_MODE
           PS
           PSINFO
           PREFTAB
         IMPORTING
           PS
           PSINFO
           PREFTAB
           PSPAR
           PROPOSED_VALUES
           MODIFIED_KEYS.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice that it's using the same BDCDATA table and MODE as a BDC program would. If I set a break-point at the above Call statement and change L_MODE to '1'(Display all screens, I believe), you will be taken through each GUI screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should pick out a  BAPI that does something you are already familiar with and try it out. I think you'll find it much easier to work with compared to BDCs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Validations take place all over - you just have to debug to find them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2008 22:42:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-vs-bdcs/m-p/3477516#M835957</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-10T22:42:53Z</dc:date>
    </item>
  </channel>
</rss>

