cancel
Showing results for 
Search instead for 
Did you mean: 

Interface between java and sap

Former Member
0 Kudos

Hi,

i am getting a input from JAVA application thru Webmethods i need to process the input and then

generate the SAP document no thru transaction and same number has to go back to Java application.

Pls suggest some ways to process the data.

Regards

Gajju

Accepted Solutions (0)

Answers (8)

Answers (8)

Former Member
0 Kudos

Hi,

Check this thread will be very much useful

Thanks & Regards,

Kathirvel

Former Member
0 Kudos

Hi,

You must write a RFC enabled Functional Module which will generate the document or whatever you want. Now using JCo you will be able to perfrom the same from an external application. Refer to the JCo document that comes with the JCo jar. It will be very much helpful.

Thanks & Regards,

Kathirvel

guru_subramanianb
Active Contributor
0 Kudos

Hi ganesh,

Looking at ur latest q, JCo is just an interface to connect SAP backend with your Appl program.That all.

if you want to generate doc no you have write BAPI/RFC in ABAP and probably call them using JCo.

Check this link for Bapi documentation

http://help.sap.com/saphelp_erp2004/helpdata/en/7c/3ce3b465ba11d395fe00a0c94260a5/frameset.htm

rdgs,

Guru

Former Member
0 Kudos

Hi,

Thanks for the information, but my doubt is JCO is establish the connection between sap and non-sap.

but how do i generate the document number or post the datas into sap either i need to write BDC program in Function module or any other way to post and generate the document

Thanks

Gajju

guru_subramanianb
Active Contributor
0 Kudos

Hello ganesh,

The standard way of communication b/w SAP & Java is done thro JCA(Java Connector Architecture).Ons such interface(very common) in JCA is JCo.Using JCo you can connect your sap R/3 backend with your appl programming either Java or Webdynpro.

For using JCO you shd configure it.You have create your SLD & Modeldata & metadata.

Refer thsi for the same.

http://help.sap.com/saphelp_erp2004/helpdata/en/3a/3b1b40fcdd8f5ce10000000a155106/frameset.htm

If u hv still problem do let us know.

Regards,

Guru

Former Member
0 Kudos

Hi,

Check this thread for more details,

For some JCo Related FAQ

http://www.sapgenie.com/faq/jco.htm

Cheers

Kathir~

Former Member
0 Kudos

Hi Ganeshan,

Welcome to SDN.

SAP Java Connector can help you get this done. Besides you must have some idea about SAP Remote Function Calls using which you can access SAP Repository.

You can download that from SAP Service Market Place.

Click here for some more details,

http://www.sapgenie.com/interfaces/javaconnector.htm

Cheers

Kathir~

Former Member
0 Kudos

Hello Gajju,

up to my knowledge the only interface between java and SAP is the Java Connector (JCo). With the JCo-API you can handle connections to any SAP-system and call (remote) function modules which will do the stuff you need.

With best regards,

Holger Dittrich