cancel
Showing results for 
Search instead for 
Did you mean: 

XI-J2EE for Java programmer

Former Member
0 Kudos

I'm working on my first ever project in my first job. I'm required to do pre-readings for the preliminary stage of project that consists of a J2EE web component that will be mapped to XI Integration Engine on SAP R/3 ( provided by client) through iDoc, RFC or BAPI adapters. This whole project will test on messaging function in the mean time. The adapter runtime has yet to be determined. I've read <a href="http://searchsap.techtarget.com/tip/1,289483,sid21_gci824860,00.html">this</a>

which gives me a clear idea of their differences.

However, I have no background in SAP. It is quite difficult for me to understand certain articles I've come acrossed in SDN. I wasn't even sure if I was heading the correct direction.

Some of the articles I've come across:

XI Library

http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

Overview

Java Mapping

http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/content.htm

Blog - Java Mapping I,II,III

/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i

/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii

/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii

And a lot more on forum topics.

Since I'm a Java programmer, I will be in charge of the J2EE part. However, I wish to learn more on the interaction and mappings between adapter engine and XI before meeting SAP consultant. So, I hope you can kindly point me to the correct direction, anything might help. I don't mind reading more.

Please notify me if I'm in the wrong place.

Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Tan,

Take a look at this doc..

http://help.sap.com/saphelp_nw2004s/helpdata/en/34/e2343e8c7f6329e10000000a114084/frameset.htm -- Java API for XML Parsing (JAXP)

Shud help u out!

cheers,

Prashanth

P.S Please mark helpful answers

Answers (5)

Answers (5)

Former Member
0 Kudos

Right now, I'll use RFC or Idoc, or both Adapters for the integration, abiding Proxies measure, due to some reasons.

The scenarios that will be used are RFC-XI-RFC and Idoc-XI-Idoc. However, I'm unsure if the adapter will conform to the whole java application or it can be configured to serve as function by function basis?

My case is: I have several functions of my applications that can be handled by Idoc or RFC according to its own nature of flow. Certain functions are not feasible to use RFC Adapter or vice versa.

So, I'm wondering if it's doable to configure separate adapter for each different function or generate different stubs for different functions?

I've done quite detailed comparisons between RFC and Idoc these few days. However, I would like to know the nature of message queueing after sending for both adapters in XI.

Since, Idoc triggers batch job, what kind of queueing algorithm is involved, etc?

Since, some of the functions to be implemented can be affected gravely by synchronous and async handling. However, I'm still concerned by how much control I can have in configuring each different adapters, as I'm afraid some might not be flexible enough to suit my needs.

Sorry, I'm quite confused here. So, if you need more clarifications, please let me know.

Former Member
0 Kudos

Tan,

In addition to the regular java stuff which is required in most of the cases, i.e. Java mappings,Adapter modules,Advanced user defined functions in message mappings, one question might arise and is about java source code maintainance / versioning / build / deploy /transport process. Are you aware of NWDI(NetWeaver Development infrastructure)? It would be better if you will have at least basic idea about DTR / CMS / CBS.

Link to NWDI ==>

http://help.sap.com/saphelp_nw04/helpdata/en/03/f6bc3d42f46c33e10000000a11405a/content.htm

Regards,

Amol

Former Member
0 Kudos

Tan,

You can also see an example in this...

http://help.sap.com/saphelp_nw2004s/helpdata/en/2c/71c644ec5e4ef295a4ba1ef8f11a0a/frameset.htm

cheers,

Prashanth

P.S Please mark helpful answers

Former Member
0 Kudos

Yes, bhavesh, I think you have guided me to the correct direction.

Thanks.

I'm getting more understanding on JPR. This somehow gives me a wishful thinking that, I can actually understand XI bit by bit through certain links it has to Java and compose the whole picture.

I'm just wondering:

Java mapping allow processing of XML documents using JAXP. However, what exactly does it do, other than this?

It seems that Java is used in certain part of SAP system and they interconnect well.

Thank you again.

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

<i>Java mapping allow processing of XML documents using JAXP. However, what exactly does it do, other than this?</i>

Well, Java Mapping is one of the mapping techniques available in XI. Java Mapping will take your input source XML as an inputstream. You can parse this input stream using any XML parser.. SAX, DOM or even JAX as u mentioned. But, it is not necessary that you actually parse this Source inside Java Mapping.

As the input XML is an InputStream in the java mapping , you can do any manipulations you want on the Inputstream and send the output as an Output stream.

As for other java Components in XI, well, XI has a separate J2EE engine and all mapping programs and adapters are a part of this J2EE engine.

You can take a look at the XI Overview Document available on Service Market place for the entire Architecture overview and see how Java components in XI play a role.

Regards,

Bhavesh

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Being from a J2ee background, one thing you wil be asked repeatedly info on is JAVA PROXIES.

Take a look at the HOW TO GUIDE for Java Proxy as well as these docs,

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5a...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7e...

Regards,

bhavesh