Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Hibersap Plugin

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 COPYING
Octocat-spinner-32 COPYING.LESSER
Octocat-spinner-32 README.md
Octocat-spinner-32 pom.xml
README.md

Hibersap Plugin for Forge

A plugin to generate classes to get used by the Hibersap framework to connect to a SAP system.

The plugin allows to search for function names at a given SAP system and generates all required classes and configuration files to use the given function with the Hibersap framework.

You can find more information about Hibersap at http://hibersap.sourceforge.net/

This plugin is licensed under LGPL, like Forge and Hibersap

How to use

This plugin is using Hibersap, which is using the SAP Java Connector (JCo).
Before using download SAP Java Connector 3 (http://service.sap.com/connectors) and extract the sapjco3.jar and the sapjco3 native library.
(We assume you use version 3.0.7 or higher)

Install sapjco3 jar to your local Maven repository from the command line:

mvn install:install -file -DgroupId=com.sap -DartifactId=sap-jco -Dversion=3.0.7 -Dpackaging=jar -Dfile= sapjco3.jar 
  • Create or use an existing a Maven project (project may be created with Forge from the command line).
  • Navigate into the project
  • Set your session manager name and connection properties
  • Use the generate-sap-entities command to connect to your SAP system and generate Java classes which are used by Hibersap.

Also read the akquinet blogpost and watch the screen-cast that shows the usage of the Hibersap-Forge-Plugin:

Commands

[list-properties] - Lists all connection properties and the current session manager name.

[set-property] - Sets a new or existing property
[OPTIONS]
[--key] - The property key
[--value] - The property value

[delete-property] - Deletes an existing property
[OPTIONS]
[--key] - The property key

[generate-sap-entities] - Defalt command; generates SAP entities from a SAP system
[OPTIONS]
[--name-pattern] - Pattern to search SAP function names. Use * and ? as wildcards.
[--max-results] - Number of max. results. Use 0 for unlimited result list (Default value is 20)

Something went wrong with that request. Please try again.