<?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: About create BAPI in R3  for external  Java call in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-create-bapi-in-r3-for-external-java-call/m-p/1413525#M199063</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;Setps to create BAPI:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Defining BAPI Data structures in SE11  &lt;/P&gt;&lt;P&gt;-- This is not always required. If your BAPI has only a single IMPORT and EXPORT parameter, then you can specify directly in the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.Program a RFC enabled BAPI function module &lt;/P&gt;&lt;P&gt;-- This is the actual development. Required and you have created it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.Create a Business object for the BAPI in the BOR &lt;/P&gt;&lt;P&gt;-- This is required only if your BAPI is working on a Business Object. I think in your case it is not so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.Documentation the BAPI &lt;/P&gt;&lt;P&gt;-- This is not mandatory but only for information. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.Generate ALE interface for asynchronous BAPIs &lt;/P&gt;&lt;P&gt;-- Only required for Asynchronous BAPIs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6.Generate and release&lt;/P&gt;&lt;P&gt;-- This would be required, if you want to execute the BAPI from java in Production. Right now it seems you have called the JAVA program from development system and the BAPI in SAP is also in SAP system. Try to pass the IP address of Production system to JAVA BAPI Call and then it would fail. You have to put your BAPI under a Transport request and release it to production. Then through JAVA logon to production system of SAP and call the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jul 2006 01:39:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-11T01:39:46Z</dc:date>
    <item>
      <title>About create BAPI in R3  for external  Java call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-create-bapi-in-r3-for-external-java-call/m-p/1413520#M199058</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;   I only create one Function moudle ,namespace z_bapi_001,and set X for Remote-enabled module,I do not make other steps of bapi . But external java still can call the bapi.&lt;/P&gt;&lt;P&gt;Why? Could you explain for me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;collysun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2006 00:48:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-create-bapi-in-r3-for-external-java-call/m-p/1413520#M199058</guid>
      <dc:creator>com_2018</dc:creator>
      <dc:date>2006-07-11T00:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: About create BAPI in R3  for external  Java call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-create-bapi-in-r3-for-external-java-call/m-p/1413521#M199059</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 could be several reasons :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Login ID,password and Client of SAP logon are incorrect&lt;/P&gt;&lt;P&gt;2. The IP Address is incorrect&lt;/P&gt;&lt;P&gt;3. Error in the program in JAVA while calling BAPI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solutions :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Login with the same ID and password directly into same client of sap through logon pad to confirm whether the id and password are correct&lt;/P&gt;&lt;P&gt;2. Check the IP address of the system&lt;/P&gt;&lt;P&gt;3. Call Standard SAP BAPI viz BAPI_TRANSACTION_COMMIT or BAPI_TRANSACTION_ROLLBACK to confirm whether JAVA is able to call SAP correctly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2006 01:15:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-create-bapi-in-r3-for-external-java-call/m-p/1413521#M199059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-11T01:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: About create BAPI in R3  for external  Java call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-create-bapi-in-r3-for-external-java-call/m-p/1413522#M199060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;But external java still can call the bapi.&amp;lt;/b&amp;gt;&amp;lt;u&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2006 01:18:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-create-bapi-in-r3-for-external-java-call/m-p/1413522#M199060</guid>
      <dc:creator>com_2018</dc:creator>
      <dc:date>2006-07-11T01:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: About create BAPI in R3  for external  Java call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-create-bapi-in-r3-for-external-java-call/m-p/1413523#M199061</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;Yes thats correct. Once you set the RFC parameter in the FM, then it becomes a RFC/BAPI. So no need to set any additional parameters. Any third party system can call the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If JAVA is able to call the BAPI, then what is the problem ? You can pass the data through BAPI and import it in SAP if that is your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2006 01:21:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-create-bapi-in-r3-for-external-java-call/m-p/1413523#M199061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-11T01:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: About create BAPI in R3  for external  Java call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-create-bapi-in-r3-for-external-java-call/m-p/1413524#M199062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Setps of create BAPI:&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;1.Defining BAPI Data structures in SE11 &lt;/P&gt;&lt;P&gt;2.Program a RFC enabled BAPI function module&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;3.Create a Business object for the BAPI in the BOR &lt;/P&gt;&lt;P&gt;4.Documentation the BAPI &lt;/P&gt;&lt;P&gt;5.Generate ALE interface for asynchronous BAPIs &lt;/P&gt;&lt;P&gt;6.Generate and release&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only make 1 and 2 step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I worry about the java calling effect SAP performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: collysun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2006 01:30:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-create-bapi-in-r3-for-external-java-call/m-p/1413524#M199062</guid>
      <dc:creator>com_2018</dc:creator>
      <dc:date>2006-07-11T01:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: About create BAPI in R3  for external  Java call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-create-bapi-in-r3-for-external-java-call/m-p/1413525#M199063</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;Setps to create BAPI:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Defining BAPI Data structures in SE11  &lt;/P&gt;&lt;P&gt;-- This is not always required. If your BAPI has only a single IMPORT and EXPORT parameter, then you can specify directly in the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.Program a RFC enabled BAPI function module &lt;/P&gt;&lt;P&gt;-- This is the actual development. Required and you have created it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.Create a Business object for the BAPI in the BOR &lt;/P&gt;&lt;P&gt;-- This is required only if your BAPI is working on a Business Object. I think in your case it is not so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.Documentation the BAPI &lt;/P&gt;&lt;P&gt;-- This is not mandatory but only for information. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.Generate ALE interface for asynchronous BAPIs &lt;/P&gt;&lt;P&gt;-- Only required for Asynchronous BAPIs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6.Generate and release&lt;/P&gt;&lt;P&gt;-- This would be required, if you want to execute the BAPI from java in Production. Right now it seems you have called the JAVA program from development system and the BAPI in SAP is also in SAP system. Try to pass the IP address of Production system to JAVA BAPI Call and then it would fail. You have to put your BAPI under a Transport request and release it to production. Then through JAVA logon to production system of SAP and call the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2006 01:39:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-create-bapi-in-r3-for-external-java-call/m-p/1413525#M199063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-11T01:39:46Z</dc:date>
    </item>
  </channel>
</rss>

