<?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 bapi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/3377117#M810888</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;Pls can you tell me&lt;/P&gt;&lt;P&gt;what is the bapi &lt;/P&gt;&lt;P&gt;we use to create the BOM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;P&gt;mars&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Feb 2008 09:12:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-22T09:12:18Z</dc:date>
    <item>
      <title>bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/3377117#M810888</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;Pls can you tell me&lt;/P&gt;&lt;P&gt;what is the bapi &lt;/P&gt;&lt;P&gt;we use to create the BOM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;P&gt;mars&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2008 09:12:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/3377117#M810888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-22T09:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/3377118#M810889</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;A BAPI is remotely enabled function module 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. Part of BOR&lt;/P&gt;&lt;P&gt;BAPI are RFC enabled function modules. the difference between RFc and BAPI are business objects. You create business objects and those are then registered in your BOR (Business Object Repository) 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;In this case u only specify the business object and its method from external system in BAPI there is no direct system call. W&lt;/P&gt;&lt;P&gt;RFC are direct system call Some BAPIs provide basic functions and can be used for most SAP business object types. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sreelakshmi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2008 09:14:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/3377118#M810889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-22T09:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/3377119#M810890</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;&lt;/P&gt;&lt;P&gt;There are 5 different steps in BAPI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create BAPI Structure &lt;/P&gt;&lt;P&gt;Create BAPI Function Module or API Method. &lt;/P&gt;&lt;P&gt;Create BAPI object &lt;/P&gt;&lt;P&gt;Release BAPI Function Module. &lt;/P&gt;&lt;P&gt;Release BAPI object. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step1. Creating BAPI Structure: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to &amp;lt;SE11&amp;gt;. &lt;/P&gt;&lt;P&gt;Select Data Type &amp;amp; Enter a name. &lt;/P&gt;&lt;P&gt;Click on Create. &lt;/P&gt;&lt;P&gt;Note: Always BAPI should be in a development class with request number (Not Local Object). &lt;/P&gt;&lt;P&gt;Select Structure &amp;amp; hit ENTER. &lt;/P&gt;&lt;P&gt;Enter the fields from your database. Make sure that the first field is the Primary Key Field. &lt;/P&gt;&lt;P&gt;Then SAVE &amp;amp; ACTIVATE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 2. Creating BAPI module: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter TR.CODE &amp;lt;SE37&amp;gt;. &lt;/P&gt;&lt;P&gt;Before entering any thing, from the present screen that you are in, select the menu &lt;/P&gt;&lt;P&gt;Goto -&amp;gt; Function Groups -&amp;gt; Create Group. &lt;/P&gt;&lt;P&gt;Enter a name (Note: This name Must start with ZBAPI) &lt;/P&gt;&lt;P&gt;Let this screen be as it is and open another window and there, enter TR.CODE &amp;lt;SE80). &lt;/P&gt;&lt;P&gt;Click on the Third ICON that says Inactive Objects. &lt;/P&gt;&lt;P&gt;Select the group that you just created and click on Activate. &lt;/P&gt;&lt;P&gt;Notice that the group you created will disappear from the list of inactive objects. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go back to &amp;lt;SE37&amp;gt; screen and enter a name and hit &amp;lt;ENTER&amp;gt;. Then enter the group name that you just created and activated. &lt;/P&gt;&lt;P&gt;NOTE: When you release a function module the respective group will be attached to that particular application.&lt;/P&gt;&lt;P&gt; It cannot be used for any other application. NEVER include an already existing group that is attached to another module. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now click on the first Tab that says ATTRIBUTES and select the radio button that says remote-enabled module since &lt;/P&gt;&lt;P&gt;we will be accessing this from any external system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then click on the second tab that says IMPORT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter a PARAMETER NAME, TYPE and the structure you created in the first step. Also select the check box &amp;#145;Pa&amp;#146;. &lt;/P&gt;&lt;P&gt;All remotely enabled functional modules MUST be Pa enabled, where Pa means &amp;#145;Passed by Value&amp;#146; and if you don&amp;#146;t select &amp;#145;Pa&amp;#146;,&lt;/P&gt;&lt;P&gt;then that means it will be passed by reference.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then click on tab that says EXPORT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter the following as is in the first three fields &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RETURN TYPE BAPIRETURN (These 3 field values are always same) &lt;/P&gt;&lt;P&gt;Here also select &amp;#145;Pa&amp;#146; meaning Pass by value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: BAPIRETURN contains structure with message fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then SAVE and ACTIVATE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 3. Creating BAPI object: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter Tr.Code &amp;lt;SWO1&amp;gt; (Note. It is letter &amp;#145;O&amp;#146; and not Zero). &lt;/P&gt;&lt;P&gt;Enter a name and then click on create. Enter details. &lt;/P&gt;&lt;P&gt;NOTE: Make sure that that Object Type and Program name are SAME. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter Application &amp;#145;M&amp;#146;, if you are using standard table Mara. If you are using your own database then select &amp;#145;Z&amp;#146; at the bottom. &lt;/P&gt;&lt;P&gt;Then hit &amp;lt;ENTER&amp;gt;. &lt;/P&gt;&lt;P&gt;Now we have to add &amp;#145;Methods&amp;#146;. High light METHODS and then select the following from the menu: &lt;/P&gt;&lt;P&gt;Goto Utilities -&amp;gt; API Methods -&amp;gt; Add Methods. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter function Module name and hit &amp;lt;ENTER&amp;gt;. &lt;/P&gt;&lt;P&gt;Select the second FORWARD ARROW button (&amp;gt;)to go to next step. &lt;/P&gt;&lt;P&gt;Check if every thing looks ok and again click on FORWARD ARROW button (&amp;gt;). &lt;/P&gt;&lt;P&gt;Then select &amp;#145;YES&amp;#146; and click on &amp;lt;SAVE&amp;gt;. &lt;/P&gt;&lt;P&gt;Now on a different screen goto TR.CODE &amp;lt;SE37&amp;gt;. Enter Function Module name and select from the top menu Function Module -&amp;gt; Release -&amp;gt; Release. &lt;/P&gt;&lt;P&gt;Goback to TR.CODE &amp;lt;SWO1&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here select the menu combination shown below in the same order. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit -&amp;gt; Change Release Status -&amp;gt; Object Type Component -&amp;gt; To Implemented. &lt;/P&gt;&lt;P&gt;Edit -&amp;gt; Change Release Status -&amp;gt; Object Type Component -&amp;gt; To Released. &lt;/P&gt;&lt;P&gt;Edit -&amp;gt; Change Release Status -&amp;gt; Object Type -&amp;gt; To Implemented. &lt;/P&gt;&lt;P&gt;Edit -&amp;gt; Change Release Status -&amp;gt; Object Type -&amp;gt; To Released. &lt;/P&gt;&lt;P&gt;Then click on &amp;lt;SAVE&amp;gt;. &lt;/P&gt;&lt;P&gt;Then click on Generate Button (4th button from left hand side looks like spinning wheel). &lt;/P&gt;&lt;P&gt;Then Click on the button that says &amp;#145;PROGRAM&amp;#146; to see the source code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check if this is present in work flow goto TR.CODE &amp;lt;BAPI&amp;gt;. &lt;/P&gt;&lt;P&gt;Here it shows business object repository. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First click on the middle button and then select &amp;#147;ALL&amp;#148; and hit ENTER. &lt;/P&gt;&lt;P&gt;Goto tab ALPHABETICAL and look for the object that you created. This shows that the BAPI object has been created successfully &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps u,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arunsri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2008 09:15:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/3377119#M810890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-22T09:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/3377120#M810891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the bapi to create bom is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function module &lt;STRONG&gt;BAPI BOM UPLOAD SAVE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for information on ho wto use and create bapis &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;follow the link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://www.erpgenie.com/abap/bapi/example.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 22, 2008 3:51 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2008 09:26:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/3377120#M810891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-22T09:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/3377121#M810892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this bapi.&lt;/P&gt;&lt;P&gt;BAPI_MATERIAL_BOM_GROUP_CREATE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2008 09:40:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi/m-p/3377121#M810892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-22T09:40:22Z</dc:date>
    </item>
  </channel>
</rss>

