<?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: BDC and BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-and-bapi/m-p/1696587#M305555</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BDC workes by populating the screen with the values from the other source where the business application transaction works for validating and posting the entries the value. &lt;/P&gt;&lt;P&gt;where as bapi dont use the programs to post the document. it can be called from outside..main advantage.. &lt;/P&gt;&lt;P&gt;how ever you can wrap your custom bdc code in a zbapi as well to call from outside..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the main purpose of both the things is to post the application document.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Nov 2006 06:27:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-07T06:27:59Z</dc:date>
    <item>
      <title>BDC and BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-and-bapi/m-p/1696581#M305549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the diff between BDC and BAPI?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2006 06:03:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-and-bapi/m-p/1696581#M305549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-07T06:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: BDC and BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-and-bapi/m-p/1696582#M305550</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;BDC = Batch Data Commands&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Comparable to macros in, e. g., Word. You enter data in a SAP standard transaction while recording it. This recording can be turned into an ABAP program or function module. You can modify these programs to change, e. g., the static data that you enteren in the recording to dynamic data that is read from a file or something like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works best with "simple" transactions, espacially the newer "Enjoy" transactions aren't easy to implement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not recommended by SAP any more, although it can be simple and effective to use sometimes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works with single or multiple transactions (hence "Batch").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI = Business Application Programming Interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From an ABAP programmer's perspective a BAPI is simply a certain type of RFC-enabled function module that obeys certain rules such as: No explicit COMMIT WORK in the FM, return a BAPIRETxxx message, no user interaction, etc. See the documentation for details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Recommended and supported way for management of many SAP business objects. Many different objects and methods available, although not everything a programmer needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Synchronous function modules, generally only one business object per call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps (please reward me if it does &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A BAPI is a method of a SAP Business Object. BAPI enables SAP and third party applications to interact and integrate &lt;/P&gt;&lt;P&gt;with each other at the Business Object / Process level. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link to know more about BAPI.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/bapi/example.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/bapi/example.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sappoint.com/abap/" target="test_blank"&gt;http://sappoint.com/abap/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Batch Data Communication (BDC) is the oldest batch interfacing technique that SAP provided since the early versions of R/3. BDC is not a &lt;/P&gt;&lt;P&gt;typical integration tool, in the sense that, it can be only be used for uploading data into R/3 and so it is not bi-directional. &lt;/P&gt;&lt;P&gt;BDC works on the principle of simulating user input for transactional screen, via an ABAP program. Typically the input comes in the form &lt;/P&gt;&lt;P&gt;of a flat file. The ABAP program reads this file and formats the input data screen by screen into an internal table (BDCDATA). The &lt;/P&gt;&lt;P&gt;transaction is then started using this internal table as the input and executed in the background. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In &amp;#145;Call Transaction&amp;#146;, the transactions are triggered at the time of processing itself and so the ABAP program must do the error handling. &lt;/P&gt;&lt;P&gt;It can also be used for real-time interfaces and custom error handling &amp;amp; logging features. . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To know more about BDC,&lt;/P&gt;&lt;P&gt;check the link.&lt;/P&gt;&lt;P&gt;&lt;A href="http://sappoint.com/abap/" target="test_blank"&gt;http://sappoint.com/abap/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;- Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2006 06:07:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-and-bapi/m-p/1696582#M305550</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2006-11-07T06:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: BDC and BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-and-bapi/m-p/1696583#M305551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi BALU,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;BDC are used for follwoing scenarios mostly:&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Mass Upload of Data&lt;/P&gt;&lt;P&gt;2. allowed to do some activity repeatedly for large amout of data where User Interaction becomes Hectic. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Major use would be for DATA TRANSFER!!!!! &lt;/P&gt;&lt;P&gt;It allows us to automate some transaction for which we have data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following documents would give u some brief idea on Batch Data communication : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/fa/097119543b11d1898e0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/fa/097119543b11d1898e0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/bdc.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/bdc.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u want to call a transaction and goto a particular screen as soon as u call the transaction, u can record the flow in BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is u have to goto SHDB transaction for recording and then specify the transaction code then pass the values and once u reach the screen, press save button and press back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code will get automatically generated.&lt;/P&gt;&lt;P&gt;Then u can copy and paste the part of the code that is needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A sample code for calling MM03 transaction from an ALV. When u click on the MATNR of the ALV grid this will call transaction. U can perform this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare a messtab&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: i_bdcdata TYPE STANDARD TABLE OF bdcdata,
* Internal table to hold BDC messages
i_messtab TYPE STANDARD TABLE OF bdcmsgcoll

* Work area to hold bdcdata value
DATA: w_bdcdata TYPE bdcdata,
* Work area to hold BDC messages
w_messtab TYPE bdcmsgcoll.
CONSTANTS : c_e type bdcmsgcoll-msgtyp value 'E', "E
c_a type bdcmsgcoll-msgtyp value 'A', "A
nodata type c value '/'. "/
perform f1000_bdc_mm03 using lv_matnr lv_werks.
FORM f1000_bdc_mm03 USING P_LV_MATNR
P_LV_WERKS.

perform bdc_dynpro using 'SAPLMGMM' '0060'.
perform bdc_field using 'BDC_CURSOR'
'RMMG1-MATNR'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RMMG1-MATNR'
p_lv_matnr.
perform bdc_dynpro using 'SAPLMGMM' '0070'.
perform bdc_field using 'BDC_CURSOR'
'MSICHTAUSW-DYTXT(15)'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_field using 'MSICHTAUSW-KZSEL(15)'
'X'.
perform bdc_dynpro using 'SAPLMGMM' '0080'.
perform bdc_field using 'BDC_CURSOR'
'RMMG1-WERKS'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_field using 'RMMG1-WERKS'
p_lv_werks.
perform bdc_dynpro using 'SAPLMGMM' '4000'.
perform bdc_field using 'BDC_OKCODE'
'=ZU01'.
perform bdc_field using 'BDC_CURSOR'
'RMMG1-MATNR'.
perform bdc_dynpro using 'SAPLMGMM' '4300'.
perform bdc_field using 'BDC_OKCODE'
'=ZU08'.
perform bdc_field using 'BDC_CURSOR'
'RMMG1-MATNR'.
perform bdc_dynpro using 'SAPLMGMM' '4110'.
perform bdc_field using 'BDC_OKCODE'
'=GESV'.
*perform bdc_field using 'BDC_CURSOR'
* 'RMMG1-MATNR'.
call transaction 'MM03' using i_bdcdata MODE 'N'MESSAGES INTO i_messtab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;what is BAPI?&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI stands for Business API(Application Program Interface).&lt;/P&gt;&lt;P&gt;A BAPI is remotely enabled function module &lt;/P&gt;&lt;P&gt;ie it can be invoked from remote programs like standalone JAVA programs, web interface etc..&lt;/P&gt;&lt;P&gt;You can make your function module remotely enabled in attributes of Function module but&lt;/P&gt;&lt;P&gt;A BAPI are standard SAP function modules provided by SAP for remote access.&lt;/P&gt;&lt;P&gt;Also they are part of Businees Objest Repository(BOR).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI are RFC enabled function modules. the difference between RFc and BAPI are business objects. &lt;/P&gt;&lt;P&gt;You create business objects and those are then registered in your BOR (Business Object Repository) &lt;/P&gt;&lt;P&gt;which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case u only specify the business object and its method from external system &lt;/P&gt;&lt;P&gt;in BAPI there is no direct system call. while RFC are direct system call. &lt;/P&gt;&lt;P&gt;Some BAPIs provide basic functions and can be used for most SAP business object types. &lt;/P&gt;&lt;P&gt;These BAPIs should be implemented the same for all business object types. &lt;/P&gt;&lt;P&gt;Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs. &lt;/P&gt;&lt;P&gt;Whenever possible, a standardized BAPI must be used in preference to an individual BAPI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following standardized BAPIs are provided: &lt;/P&gt;&lt;P&gt;Reading instances of SAP business objects &lt;/P&gt;&lt;P&gt;GetList ( ) With the BAPI GetList you can select a range of object key values, &lt;/P&gt;&lt;P&gt;for example, company codes and material numbers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI GetList() is a class method. &lt;/P&gt;&lt;P&gt;GetDetail() With the BAPI GetDetail() the details of an instance of a business object type are retrieved &lt;/P&gt;&lt;P&gt;and returned to the calling program. &lt;/P&gt;&lt;P&gt;The instance is identified via its key. &lt;/P&gt;&lt;P&gt;The BAPI GetDetail() is an instance method. &lt;/P&gt;&lt;P&gt;BAPIs that can create, change or delete instances of a business object type &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following BAPIs of the same object type have to be programmed &lt;/P&gt;&lt;P&gt;so that they can be called several times within one transaction. &lt;/P&gt;&lt;P&gt;For example, if, after sales order 1 has been created, a second sales order 2 is created in the same transaction, &lt;/P&gt;&lt;P&gt;the second BAPI call must not affect the consistency of the sales order 2.&lt;/P&gt;&lt;P&gt; After completing the transaction with a COMMIT WORK, both the orders are saved consistently in the database. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create( ) and CreateFromData! ( ) &lt;/P&gt;&lt;P&gt;The BAPIs Create() and CreateFromData() create an instance of an SAP business object type, &lt;/P&gt;&lt;P&gt;for example, a purchase order. These BAPIs are class methods. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change( ) &lt;/P&gt;&lt;P&gt;The BAPI Change() changes an existing instance of an SAP business object type, &lt;/P&gt;&lt;P&gt;for example, a purchase order. The BAPI Change () is an instance method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delete( ) and Undelete( ) The BAPI Delete() deletes an instance of an SAP business object type from the database &lt;/P&gt;&lt;P&gt;or sets a deletion flag. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI Undelete() removes a deletion flag. These BAPIs are instance methods. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cancel ( ) Unlike the BAPI Delete(), the BAPI Cancel() cancels an instance of a business object type.&lt;/P&gt;&lt;P&gt; The instance to be cancelled remains in the database and an additional instance is created &lt;/P&gt;&lt;P&gt;and this is the one that is actually canceled. The Cancel() BAPI is an instance method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add&amp;lt;subobject&amp;gt; ( ) and Remove&amp;lt;subobject&amp;gt; ( ) The BAPI Add&amp;lt;subobject&amp;gt; adds a subobject to an existing object inst! &lt;/P&gt;&lt;P&gt;ance and the BAPI and Remove&amp;lt;subobject&amp;gt; removes a subobject from an object instance.&lt;/P&gt;&lt;P&gt; These BAPIs are instance methods. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check these Links out&lt;/P&gt;&lt;P&gt;&lt;A href="http://searchsap.techtarget.com/ateQuestionNResponse/0,289625,sid21_cid558752_tax293481,00.html" target="test_blank"&gt;http://searchsap.techtarget.com/ateQuestionNResponse/0,289625,sid21_cid558752_tax293481,00.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/interview-question-on-bapi-rfc-abap-objects-tables.htm" target="test_blank"&gt;http://www.sap-img.com/abap/interview-question-on-bapi-rfc-abap-objects-tables.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/fu033.htm" target="test_blank"&gt;http://www.sap-img.com/fu033.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/ale-bapi.htm" target="test_blank"&gt;http://www.sap-img.com/abap/ale-bapi.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check out this thread..&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1573674"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also refer to the following links..&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sap.com/www.sappoint.com/abap/bapiintro.pdf" target="test_blank"&gt;www.sappoint.com/abap/bapiintro.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sap.com/www.sap-img.com/bapi.htm" target="test_blank"&gt;www.sap-img.com/bapi.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sap.com/www.sap-img.com/abap/bapi-conventions.htm" target="test_blank"&gt;www.sap-img.com/abap/bapi-conventions.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sap.com/www.planetsap.com/Bapi_main_page.htm" target="test_blank"&gt;www.planetsap.com/Bapi_main_page.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sap.com/www.sapgenie.com/abap/bapi/index.htm" target="test_blank"&gt;www.sapgenie.com/abap/bapi/index.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Checkout !!&lt;/P&gt;&lt;P&gt;&lt;A href="http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html" target="test_blank"&gt;http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://techrepublic.com.com/5100-6329-1051160.html#" target="test_blank"&gt;http://techrepublic.com.com/5100-6329-1051160.html#&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/bapi.htm" target="test_blank"&gt;http://www.sap-img.com/bapi.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/bapi-conventions.htm" target="test_blank"&gt;http://www.sap-img.com/abap/bapi-conventions.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sappoint.com/abap/bapiintro.pdf" target="test_blank"&gt;http://www.sappoint.com/abap/bapiintro.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Java Connector(JCO) can call not only BAPI's but also the function modules which are remotely enabled..&lt;/P&gt;&lt;P&gt;BAPI's as i said earlier are remotely enabled function modules..&lt;/P&gt;&lt;P&gt;Hence, JCO can call also BAPI's(n not only BAPI's as u mentioned).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following BDC over BAPI&lt;/P&gt;&lt;P&gt;The steps to be followed are :&lt;/P&gt;&lt;P&gt;1. Find out the relevant BAPI (BAPI_SALESORDER_CHANGE for VA02).&lt;/P&gt;&lt;P&gt;[for VA01 use BAPI_SALESORDER_CREATEFROMDAT2]&lt;/P&gt;&lt;P&gt;2. Create a Z program and call the BAPi (same as a Funtion module call).&lt;/P&gt;&lt;P&gt;2. Now, if you see this BAPi, it has &lt;/P&gt;&lt;P&gt;-&amp;gt; Importing structures. &lt;/P&gt;&lt;P&gt;eg: SALESDOCUMENT: this will take the Sales order header data as input.&lt;/P&gt;&lt;P&gt;-&amp;gt; Tables parameters: &lt;/P&gt;&lt;P&gt;eg: ORDER_ITEM_IN: this will take the line item data as input. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note :&lt;/P&gt;&lt;P&gt;Only specify fields that should be changed&lt;/P&gt;&lt;P&gt;Select these fields by entering an X in the checkboxes&lt;/P&gt;&lt;P&gt;Enter a U in the UPDATEFLAG field&lt;/P&gt;&lt;P&gt;Always specify key fields when changing the data, including in the checkboxes&lt;/P&gt;&lt;P&gt;The configuration is an exception here. If this needs to be changed, you need to complete it again fully.&lt;/P&gt;&lt;P&gt;Maintain quantities and dates in the schedule line data&lt;/P&gt;&lt;P&gt;Possible UPDATEFLAGS:&lt;/P&gt;&lt;P&gt;U = change&lt;/P&gt;&lt;P&gt;D = delete&lt;/P&gt;&lt;P&gt;I = add&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;1. Delete the whole order&lt;/P&gt;&lt;P&gt;2. Delete order items&lt;/P&gt;&lt;P&gt;3. Change the order&lt;/P&gt;&lt;P&gt;4. Change the configuration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes&lt;/P&gt;&lt;P&gt;1. Minimum entry:&lt;/P&gt;&lt;P&gt;You must enter the order number in the SALESDOCUMENT structure.&lt;/P&gt;&lt;P&gt;You must always enter key fields for changes.&lt;/P&gt;&lt;P&gt;You must always specify the update indicator in the ORDER_HEADER_INX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Commit control:&lt;/P&gt;&lt;P&gt;The BAPI does not run a database Commit, which means that the application must trigger the Commit &lt;/P&gt;&lt;P&gt;so that the changes are read to the database. To do this, use the BAPI_TRANSACTION_COMMIT BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For further details... refer to the Function Module documentation for the BAPi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***&lt;STRONG&gt;pls assign the points if info is useful&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2006 06:07:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-and-bapi/m-p/1696583#M305551</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-07T06:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: BDC and BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-and-bapi/m-p/1696584#M305552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A BAPI is faster because it is updating the DB "directly" through ABAP code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A BDC with call transaction goes through the whole screen sequence like any user would do, simply put, it is filling screens.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2006 06:08:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-and-bapi/m-p/1696584#M305552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-07T06:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: BDC and BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-and-bapi/m-p/1696585#M305553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Balu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;BAPI&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt; is a SAP-supplied function module with a defined interface, which allows you to interact with various business objects. SAP guarantees the integrity of your database for anything updated using a BAPI. &lt;/P&gt;&lt;P&gt;BAPI enables SAP and third party applications to interact and integrate with each other at the Business Object / Process level. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link to know &amp;lt;b&amp;gt;more about BAPI&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;http://www.sapgenie.com/abap/bapi/example.htm&lt;/P&gt;&lt;P&gt;&lt;A href="http://sappoint.com/abap/&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;" target="test_blank"&gt;http://sappoint.com/abap/&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;BDC&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt; is a method of driving screens programatically, for updating SAP data.BDC is not a typical integration tool, in the sense that, it can be only be used for uploading data into R/3 and so it is not bi-directional. &lt;/P&gt;&lt;P&gt;BDC works on the principle of simulating user input for transactional screen, via an ABAP program. Typically the input comes in the form of a flat file. The ABAP program reads this file and formats the input data screen by screen into an internal table (BDCDATA). The transaction is then started using this internal table as the input and executed in the background. &lt;/P&gt;&lt;P&gt;It can also be used for real-time interfaces and custom error handling &amp;amp; logging features. . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To know &amp;lt;b&amp;gt;more about BDC&amp;lt;/b&amp;gt;,check the link.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;http://sappoint.com/abap/&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;BAPI V/S BDC:&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP comes up with Change in Version, so each and every time they will change the screens/number etc.&lt;/P&gt;&lt;P&gt;so you have to change your BDC programs accordingly.&lt;/P&gt;&lt;P&gt;and also Most of the Latest versions transactions are Enjoy Transaction. They will not support BDC's in Background.&lt;/P&gt;&lt;P&gt;But Using BAPI's No such disadvantages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Pragya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2006 06:16:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-and-bapi/m-p/1696585#M305553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-07T06:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: BDC and BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-and-bapi/m-p/1696586#M305554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi balu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. For BDC we have to write a program,&lt;/P&gt;&lt;P&gt;   by simulating the transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. BAPI is READY MADE by sap,&lt;/P&gt;&lt;P&gt;   it is a Function module,&lt;/P&gt;&lt;P&gt;   in which we just pass data in export/import/tables parameters,&lt;/P&gt;&lt;P&gt;  and it posts the data.&lt;/P&gt;&lt;P&gt;   If any error is there, it does not post the data,&lt;/P&gt;&lt;P&gt;   and returns the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2006 06:17:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-and-bapi/m-p/1696586#M305554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-07T06:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: BDC and BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-and-bapi/m-p/1696587#M305555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BDC workes by populating the screen with the values from the other source where the business application transaction works for validating and posting the entries the value. &lt;/P&gt;&lt;P&gt;where as bapi dont use the programs to post the document. it can be called from outside..main advantage.. &lt;/P&gt;&lt;P&gt;how ever you can wrap your custom bdc code in a zbapi as well to call from outside..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the main purpose of both the things is to post the application document.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2006 06:27:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-and-bapi/m-p/1696587#M305555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-07T06:27:59Z</dc:date>
    </item>
  </channel>
</rss>

