You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Reda <ma...@libero.it> on 2008/02/12 08:48:50 UTC

Re: Getting data from SAP

Older SAP releases are abap only based. newer releases (>= netweaver04) are
abap and java based. SAP provides java JCO libraries to send/receive data
to/from sap (abap only and abap/java releases) and other middleware
competitors (tibco) use JCO to send/receice IDOC to/from SAP, to call RFC
function modules,... 

There is a jbi implementation
http://wiki.open-esb.java.net/Wiki.jsp?page=SAPBC

but I don't know how to use it with servicemix. can anyone help me? Thanks


-- 
View this message in context: http://www.nabble.com/Getting-data-from-SAP-tp8743202s12049p15427090.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Getting data from SAP

Posted by mjustin <mi...@gmx.net>.


bsnyder wrote:
> 
> One question I have is about the libraries on which we'd have to
> depend for the connection into SAP. Does anyone know what license the
> JCo libraries use?
> 

Unfortunately, the JCo and JCoIDoc libraries are only available for download
in SAPs customer download area.

The good thing is that they do not depend on high-level (J2EE / JEE) stuff.
They use just a simple TCP/IP connection to the SAP (R/3) system, and
provide a callback for incoming messages.

All incoming IDoc messages can be converted to XML by the library, sending
IDocs from client-side XML messages is also possible.

A small disadvantage of JCo is that the libraries require a
platform-dependent DLL to connect with the server.

Mike
-- 
View this message in context: http://www.nabble.com/Getting-data-from-SAP-tp8743202s12049p15784706.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Getting data from SAP

Posted by Reda <ma...@libero.it>.
Hi

1) the official JCo FAQ page in http://service.sap.com/connectors/ looks
like the page http://www.erpgenie.com/faq/jco.htm

2) the documentation inside the zip file of JCo library says:

License Terms
This product is property of SAP AG. You are granted usage of this product in
your development environment. Deploying this product with your application
in a production environment is only valid with the sufficient amount of SAP
Software Licenses according to the terms and conditions of SAP Software.

THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. SAP
AG further does not warrant the accuracy or completeness of the information,
text, graphics, links or other items contained within these materials. SAP
AG shall not be liable for any special, indirect, incidental or
consequential damages, including without limitation, lost revenues or lost
profits, which may result from the use of these materials. The information
in this software is subject to change without notice and does not represent
a commitment on the part of SAP AG in the future.
 
JavaTM is a registered trademark of Sun Microsystems, Inc. 


3) I found a page about  SAP & Mule integration

http://www.mulesource.org/display/SAP/Home

4) what about servicemix & SAP JBI component from
http://wiki.open-esb.java.net/Wiki.jsp?page=SAPBC ?


Thanks in advance
http://www.redaelli.org/matteo/
-- 
View this message in context: http://www.nabble.com/Getting-data-from-SAP-tp8743202s12049p15768990.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Getting data from SAP

Posted by Bruce Snyder <br...@gmail.com>.
On Tue, Feb 12, 2008 at 1:37 AM,  <ma...@uk.bnpparibas.com> wrote:
> hiya,
>         I'll give my 2 cents here... anyone feel free to contraddict me /
>  comment on issue as w hat
>  i say is based on  how i have used JCO (7 years ago)
>
>  unfortunately, looks like i cannot access site that Matteo posted (
>
> http://wiki.open-esb.java.net/Wiki.jsp?page=SAPBC
>  ... i have been waiting 10 mins for page to load.. :(   so i cannot comment
>  on that.... :(
>
>  let me guess how'll do it based only on JCO .
>
>  in order to user JCO, you'll need to have  a connection to a
>  ResourceConnector (your R3/R4 address).
>  This assumes you'll deploy your servicemix onto an app server (JBoss?)
>  where you canh define ResourceConnectors (unless
>  there is a better way to do that... i m not aware of that)
>
>  i'll write a Spring POJO (let's call it SAPBean) which contains code use
>  JCO, using a JNDI connection to your R3/R4....
>
>  you'll write a SE that has  a dependency on yoru SAPBean........
>
>
>  to me, this is all that's required.....
>  when i did it, i used an EJB (as connection to the R3/R4 ResourceConnector
>  needed to be wrapped in a transaction) that uses JCO
>  to interact with SAP
>  i see no reasons why the same code in the EJB cannot be put in a simple
>  Spring POJO , which in turn gets called by a SE..
>
>  any comments appreciated...
>
>  end of my 2 cents :)
>
>  regards
>         marco
>
>
>
>
>
>
>
>  Internet
>  matteo.redaelli@libero.it
>
>  12/02/2008 07:48
>  Please respond to
>  users@servicemix.apache.org
>
>
>  To
>  users
>  cc
>
>  Subject
>  Re: Getting data from SAP
>
>
>
>
>
>
>
>
>
>  Older SAP releases are abap only based. newer releases (>= netweaver04)
>  are
>  abap and java based. SAP provides java JCO libraries to send/receive data
>  to/from sap (abap only and abap/java releases) and other middleware
>  competitors (tibco) use JCO to send/receice IDOC to/from SAP, to call RFC
>  function modules,...
>
>  There is a jbi implementation
>  http://wiki.open-esb.java.net/Wiki.jsp?page=SAPBC
>
>  but I don't know how to use it with servicemix. can anyone help me? Thanks

Any progress on this discussion? It would really be nice to have a SAP
connector in ServiceMix.

One question I have is about the libraries on which we'd have to
depend for the connection into SAP. Does anyone know what license the
JCo libraries use?

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Re: Getting data from SAP

Posted by ma...@uk.bnpparibas.com.
hiya,
        I'll give my 2 cents here... anyone feel free to contraddict me / 
comment on issue as w hat
i say is based on  how i have used JCO (7 years ago)

unfortunately, looks like i cannot access site that Matteo posted (
http://wiki.open-esb.java.net/Wiki.jsp?page=SAPBC
... i have been waiting 10 mins for page to load.. :(   so i cannot comment 
on that.... :(

let me guess how'll do it based only on JCO .

in order to user JCO, you'll need to have  a connection to a 
ResourceConnector (your R3/R4 address).
This assumes you'll deploy your servicemix onto an app server (JBoss?) 
where you canh define ResourceConnectors (unless
there is a better way to do that... i m not aware of that)

i'll write a Spring POJO (let's call it SAPBean) which contains code use 
JCO, using a JNDI connection to your R3/R4....

you'll write a SE that has  a dependency on yoru SAPBean........


to me, this is all that's required..... 
when i did it, i used an EJB (as connection to the R3/R4 ResourceConnector 
needed to be wrapped in a transaction) that uses JCO
to interact with SAP
i see no reasons why the same code in the EJB cannot be put in a simple 
Spring POJO , which in turn gets called by a SE..

any comments appreciated...

end of my 2 cents :)

regards
        marco







Internet
matteo.redaelli@libero.it

12/02/2008 07:48
Please respond to
users@servicemix.apache.org


To
users
cc

Subject
Re: Getting data from SAP







Older SAP releases are abap only based. newer releases (>= netweaver04) 
are
abap and java based. SAP provides java JCO libraries to send/receive data
to/from sap (abap only and abap/java releases) and other middleware
competitors (tibco) use JCO to send/receice IDOC to/from SAP, to call RFC
function modules,... 

There is a jbi implementation
http://wiki.open-esb.java.net/Wiki.jsp?page=SAPBC

but I don't know how to use it with servicemix. can anyone help me? Thanks


-- 
View this message in context: 
http://www.nabble.com/Getting-data-from-SAP-tp8743202s12049p15427090.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.



This communication is confidential, may be privileged and is meant only for the intended recipient.  If you are 
not the intended recipient, please notify the sender by reply and delete this message from your system.  Any 
unauthorised dissemination, distribution or copying hereof is prohibited.

BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK Limited, BNP Paribas UK Limited, 
BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited are authorised and regulated by 
the Financial Services Authority.

BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private Bank are authorised by the CECEI 
and AMF.  BNP Paribas London Branch, BNP Paribas Securities Services London Branch and BNP Paribas 
Private Bank London Branch are regulated by the Financial Services Authority for the conduct of their UK 
business.  BNP Paribas Securities Services London Branch is also a member of the London Stock Exchange.