on 04-04-2006 6:32 AM
Hi Experts
I want to communicate with SAP R/3 system using Java.I came to know that JCO is low level api and can be used for only simple applications. Can any one suggest a better approach. Also let me know any extra costs (licence) if i need to go with that approach.
thanks & regars,
Prasanth.C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Prasanth,
If you want to do an look up with your R3 system from a java mapping code within XI, I would suggest these blogs,
Using JCO call,
/people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
Using RFC communication Channel,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-code-samples... mapping lookups rfc api.pdf
/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Prashanth,
Doesn't look like your question has anything to do with XI.
Anyways, You can connect to SAP R/3 using JCo and call the required RFC's which will give you the data and then you can display the data in whatever the format you want.
However, if you are using SAP Enterprise Portals, there is a lot of business content that SAP gives.
What exactly are you looking for?
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Prashanth,
In this case, SAP Provides API's (Just like Java) calleds as BAPI (Business API's) or RFC's (Remote Functions). Use a JCo connection and you can call these API's by passing in the appropriate parameters.
Your SAP team will have to give which BAPI / RFC needs to be called for what functionality?
For example, if you want to display some details of an employee as and when he logs you should have a way finding his employee number (could be the login itself). Now, pass the emp no, to SAP and get the details.
Once you get the data, you display the same in your JSP Page. Similary if you are editing the data, call a API which will update the data in SAP. <b>Never update the database tables directly.</b>
Netweaver is a platform and has got different products for differnt purposes.
Here, you are not using NetWeaver.
Regards,
Ravi
Note : please mark the helpful answers
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.