<?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: diff b/w bapi and a fn mod in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-bapi-and-a-fn-mod/m-p/2723712#M631990</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Bapi is also a function module like one with the following exceptions:&lt;/P&gt;&lt;P&gt;You can't use CHANGING and EXCEPTION parameters in BAPI&lt;/P&gt;&lt;P&gt;You can't use: call transaction, Submit report  statements, Set, Get parameters&lt;/P&gt;&lt;P&gt;You have to declare a parameter RETURN like bapiRET2 &lt;/P&gt;&lt;P&gt;you shpould not use INCLUDE structures,&lt;/P&gt;&lt;P&gt;Should not use COMMIT work command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Aug 2007 14:09:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-27T14:09:57Z</dc:date>
    <item>
      <title>diff b/w bapi and a fn mod</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-bapi-and-a-fn-mod/m-p/2723708#M631986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI guru's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Can i know the difference b/w a bapi and a function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2007 14:04:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-bapi-and-a-fn-mod/m-p/2723708#M631986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-27T14:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: diff b/w bapi and a fn mod</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-bapi-and-a-fn-mod/m-p/2723709#M631987</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;BAPI is a function module, so there is no difference between them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2007 14:06:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-bapi-and-a-fn-mod/m-p/2723709#M631987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-27T14:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: diff b/w bapi and a fn mod</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-bapi-and-a-fn-mod/m-p/2723710#M631988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The advantages of BAPI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Simple to use (its just an FM)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Not cumbersome like bdc&lt;/P&gt;&lt;P&gt;where we have to record each and every screen&lt;/P&gt;&lt;P&gt;sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. SAP guarantees the consistency&lt;/P&gt;&lt;P&gt;of bapi in future releases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the big plusses for BAPIs is that the interface and function are not supposed to change. This is a big plus when you do upgrades or hot packs because the transaction can change (format, required inputs etc) which means you then need to update the call transaction. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some of the BAPIs are better documented and easier to use than others. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You usually need to perform the BAPI that actually does the COMMIT after you call your BAPI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Program coding for calling a BAPI is usually cleaner than setting up the screen flow etc for the Call Transaction. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't need to worry about special data circumstances interrupting the normal data flow of the screens and causing errors because of that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPIs probably have better performance since they don't do the screen flow processing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general if the BAPI exists for the transaction you want to perform and you can figure out how to use it the BAPI is probably the best way to go. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is just from my experience working with both BAPI and Call Transaction. I have had some very good successes with BAPIs, but very occasionally found that I could not get the BAPI to perform the update I needed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer the transaction BAPI for detail information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also refer to below links:&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;/P&gt;&lt;P&gt;Basic learning guide:&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;/P&gt;&lt;P&gt;BAPI intro:&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;Overview:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.planetsap.com/Bapi_main_page.htm" target="test_blank"&gt;http://www.planetsap.com/Bapi_main_page.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also have a look at the following link :&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.planetsap.com/LIST_ALL_BAPIs.htm" target="test_blank"&gt;http://www.planetsap.com/LIST_ALL_BAPIs.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through the following Document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bapi to create customer master &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------" /&gt;&lt;P&gt;BAPI_CUSTOMER_CREATEFROMDATA&lt;/P&gt;&lt;P&gt;BAPI_CUSTOMER_CREATEFROMDATA1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can use FM SD_CUSTOMER_MAINTAIN_ALL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is BAPI?&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2007 14:07:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-bapi-and-a-fn-mod/m-p/2723710#M631988</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-27T14:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: diff b/w bapi and a fn mod</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-bapi-and-a-fn-mod/m-p/2723711#M631989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;a BAPI is an RFC enabled function module whose interface is clearly defined and documented in transaction BAPI.  The BAPI usually performs some business function from start to finish.  Remember BAPI is a function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2007 14:07:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-bapi-and-a-fn-mod/m-p/2723711#M631989</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-08-27T14:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: diff b/w bapi and a fn mod</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-bapi-and-a-fn-mod/m-p/2723712#M631990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Bapi is also a function module like one with the following exceptions:&lt;/P&gt;&lt;P&gt;You can't use CHANGING and EXCEPTION parameters in BAPI&lt;/P&gt;&lt;P&gt;You can't use: call transaction, Submit report  statements, Set, Get parameters&lt;/P&gt;&lt;P&gt;You have to declare a parameter RETURN like bapiRET2 &lt;/P&gt;&lt;P&gt;you shpould not use INCLUDE structures,&lt;/P&gt;&lt;P&gt;Should not use COMMIT work command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2007 14:09:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-bapi-and-a-fn-mod/m-p/2723712#M631990</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-27T14:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: diff b/w bapi and a fn mod</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-bapi-and-a-fn-mod/m-p/2723713#M631991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BAPI is remote function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPIs&lt;/P&gt;&lt;P&gt;BAPIs are standardized programming interfaces (methods) enabling external applications to access business processes and data in the R/3 System.&lt;/P&gt;&lt;P&gt;BAPIs provide stable and standardized methods to achieve seamless integration between the R/3 System and external applications, legacy systems and add-ons.&lt;/P&gt;&lt;P&gt;BAPIs are defined in the BOR(Business object repository) as methods of SAP business object types that carry out specific business functions.&lt;/P&gt;&lt;P&gt;BAPIs are implemented as RFC-enabled function modules and are created in the Function Builder of the ABAP Workbench&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI Explorer- ( Transaction :- BAPI )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI Explorer is the R/3 System working environment for developing BAPIs.&lt;/P&gt;&lt;P&gt;A BAPI interface is defined by:&lt;/P&gt;&lt;P&gt;-Import parameters&lt;/P&gt;&lt;P&gt;-Export parameters&lt;/P&gt;&lt;P&gt;-Import/export (table) parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each function module underlying a BAPI:&lt;/P&gt;&lt;P&gt;· Supports the Remote Function Call (RFC) protocol&lt;/P&gt;&lt;P&gt;· Has been assigned as a method to an SAP Business Object in the BOR&lt;/P&gt;&lt;P&gt;· Is processed without returning any screen dialogs to the calling application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI is an Object Oriented Methodology to implememnt the required&lt;/P&gt;&lt;P&gt;functionality.&lt;/P&gt;&lt;P&gt;Internally BAPI also uses a Function Module....but Business Objects gives an&lt;/P&gt;&lt;P&gt;better understanding of the scenario.&lt;/P&gt;&lt;P&gt;You can have a Business Object and can attach all the possible function as&lt;/P&gt;&lt;P&gt;methods of that Object. Like If there is a business Object As Material...you&lt;/P&gt;&lt;P&gt;can have Methods like GetListof Materials, Create new Material, Change Mat&lt;/P&gt;&lt;P&gt;Details like wise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It also hepls for non-SAP programs to integrate the non-SAP Application as&lt;/P&gt;&lt;P&gt;most of the developers are familier with OOPs concepts. !! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;srinivas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;*&lt;STRONG&gt;reward for useful answers&lt;/STRONG&gt;*&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2007 14:11:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-bapi-and-a-fn-mod/m-p/2723713#M631991</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-27T14:11:17Z</dc:date>
    </item>
  </channel>
</rss>

