cancel
Showing results for 
Search instead for 
Did you mean: 

Web enabling SAP Reports using Java

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

i think u can use java proxy to communicate with sap r\3.

to chk out this link to implement java proxy

/people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy

regards

jithesh

Answers (2)

Answers (2)

bhavesh_kantilal
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi

I am basically java programmar and new to SAP. Can you kindly help to me to start this project using JCO. Whether it needs any extra cost to download jco library. Also kindly let me know the netweaver role(if any) if i go with JCO approach.

thanks & regards,

Prasanth.C

Former Member
0 Kudos

Prashanth,

I have no idea about the cost factor.

Can you give us a big picture of what exactly you are tyring to do?

Regards,

Ravi

Former Member
0 Kudos

Hi

We are going to develop intranet system for your company. This will be based on employee login.Once employee logs in to the intranet system he must be able to view his HR details (should get from SAP). The intranet system would be in JSP on Tomcat server.

thanks & regards,

Prasanth.C

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Ravi

Thanks a lot. Once i download jco jar file i will contact you in case of any difficulties.

thanks & regards,

Prasanth.c

Former Member
0 Kudos

Prashanth,

<b>Use of JCo [SAP Java Connector] in a production environment is only valid with the sufficient amount of SAP Software Licenses.</b>

I guess you can get more detailed information on SAP service marketplace.

Regards,

Amol