Skip to content

XAware Community - Sponsored by Sparxent

You are here: Home arrow Forums
XAware Community Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Project requirements and design overview (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Project requirements and design overview
#2075
jpmanson (User)
XAware user
Posts: 25
User Offline Click here to see the profile of this user
Project requirements and design overview 2 Years, 2 Months ago Karma: 6  
I think that SAP connection support is something that XAware must have. While it is possible to connect to SAP through calls to SAP XI Web services using the SOAP connector, it is important to include the possibility of connecting with SAP JCO, which would connect directly to business objects, without passing through so many layers.

Background
XAware is Data Integration Middleware provided under the Open Software Foundation approved GNU General Public License Version 2 GPLv2. People all over the world are using XAware technology for various projects and purposes. The main reasons for the popularity are:

1. Benefits of Open Source software.
2. XAware has an open architecture and Application Programming Interface (API)
3. Solutions can be implemented in a short period of time
4. Reusable integration solutions for message standards

Meanwhile the XAware Company has established a Sandbox environment for Community Members to start their development projects but moreover to enable knowledge transfer and share prebuilt transformation routines and connectors / adaptors.

The guidelines and procedures for contributing code to the core software are under development. These will include coding guidelines and standards, test and certification guidelines, contributor agreement required for developers wishing to contribute code to the project, acceptance criteria and procedures for the adoption into the core project.

The goal is to develop a new connector that will become available for the whole community. The preliminary functional requirements and technical design are described hereafter. You are welcome to join us in the development of the SAP Connector functionality or to comment on the preliminary requirements and design approach.

The benefits of Open Source software are:

* Lower software licensing costs
* Avoidance of proprietary lock-in
* Compliance with accepted industry standards
* High innovation speed
* Freedom to study how the programs works and adapt it to your needs
* Freedom to run the program


SAP BAPIs and Other RFMs
ABAP Function Modules can only be called from an external client if they are marked as RFC-enabled. R/3 contains several thousands of such RFC-enabled Function Modules (RFMs). Amongst them are the BAPIs. BAPIs are RFMs that follow additional rules and are defined as object type methods in SAP's Business Object Repository (BOR). (Use transaction codes BAPI and SE37 to investigate the metadata of the BAPIs and other RFMs in SAP. If you do not have access to an SAP system, or you want to look up interfaces in a different release, use the SAP Interface Repository)
The basis for all communication between SAP and external components (as well as for most communication between SAP components) is the Remote Function Call (RFC) protocol. BAPIs and RFMs can be called using SAP Java Connector (SAP JCO), which is a middleware component that enables the development of SAP-compatible components and applications in Java. SAP JCO supports communication with the SAP Server in both directions: inbound calls (Java calls ABAP) and outbound calls (ABAP calls Java).

JCO Overview
JCO is a high-performance, JNI-based middleware for SAP's Remote Function Call (RFC) protocol. JCO allows you to build both client and server applications. JCO works with any SAP system starting with 3.1H. JCO is available for Windows 32, Linux, and other platforms.
JCO's ability to use connection pooling makes it an ideal choice for web server applications that are clients of an SAP system, but you can also develop desktop applications.

User requirements
These lines describe the functionality to be provided and/or developed for SAP connection support in XAware.

1. XAware must support the setup of a SAP connection, providing logon information. This information will be saved as a BizDriver.
2. The user will be able to browse SAP business object repository, and then select any of the RFC-enabled function (BAPIs and RFMs).
3. Once selected a function, XAware must support the retrieving of the function structure detail (input and output parameters, tables, data types, etc.).
4. The wizard should allow to map the BizComponent input parameters with SAP function parameters.
5. Like with other BizComponents, the wizard should allow the mapping of SAP function result with a defined output XML.
6. SAP JCO Connector should be built under (commercial) open source conditions, meaning that it is reusable for all customers and users in the community
7. The Project, project documentation and other artifacts should be made available through the XAware community site and forum.

Well, I hope you join to the project. Comments are welcome.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2370
danga (User)
XAware user
Posts: 25
User Offline Click here to see the profile of this user
Re:Project requirements and design overview 2 Years ago Karma: 2  
Have you looked at http://sourceforge.net/projects/sap-jco-support

Maybe their approach can help !
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2371
tferguson (User)
XAware expert
Posts: 493
User Offline Click here to see the profile of this user
Re:Project requirements and design overview 2 Years ago Karma: 6  
I took a super quick look at this - like I read the project description and started the download . Perhaps you could embed what they have and have our BizComponent use their XML format and make the calls to their API. Our bizcomp would generate the xml they use and invoke the engine - perhaps. I will need to spend more time when I get a chance.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2377
jpmanson (User)
XAware user
Posts: 25
User Offline Click here to see the profile of this user
Re:Project requirements and design overview 2 Years ago Karma: 6  
Hi Danga/Tim:

I have seen that project a time ago, but not in detail.
In the last month, I've developed my own libraries, thinking in XAware. The idea is:

I have a function with two parameters: The JCO.Client object with logon information, and a second parameter with RFC function that I want to execute, in XML format:

Code:

public static String executeFunction(JCO.Client mConnection, String request) { }
I'm attaching examples for the request and the response tested with SAP. May be the first approach for including SAP support, is using Java Class BizComponent, for calling this library. I have an application tool for browsing RFC functions in SAP object repository, which is useful for getting the XML request and response structure for the selected function. The project is developed in Netbeans. We should migrate the code to Eclipse. As a second phase, we can include a wizard and the SAP adapter as part of XAware. Tim, what you think about it? Juan
File Attachment:
File Name: RFCCallingExamples.zip
File Size: 155172
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2393
tferguson (User)
XAware expert
Posts: 493
User Offline Click here to see the profile of this user
Re:Project requirements and design overview 2 Years ago Karma: 6  
I think using the java class BizComponent as a first step would be a great idea. It definitely would take away a lot of coding if you need something fast. A second step of making a separate BizComponent with it's own Wizard would be the ultimate goal from my perspective and would probably be easier for me to help with once step 1 is done.

-Tim
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2408
jpmanson (User)
XAware user
Posts: 25
User Offline Click here to see the profile of this user
Re:Project requirements and design overview 2 Years ago Karma: 6  
I agree with you Tim. It's a good idea to start with Java Class BizComponent.
I'm cleaning the code right now for including it with XAware sources, and making a new project for this.
Do I have to use CVS for the upload?

Bye,
Juan
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Community Login

Get the Flash Player to see this player.
Flash Image Rotator Module by Joomlashack.
Commercial
Free Training
QuickStart Packages
Image 4 Title
Image 5 Title

Visit XAware.com