You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:
1.You are not logged in. Fill in the form at the bottom of this page and try again.
2.You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
3.If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Welcome, Guest

How to configure webMethods SAP Adapter for webMethods 7.1 version
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: How to configure webMethods SAP Adapter for webMethods 7.1 version

07-30-2012 18:53 #1

  • OFFLINE
    Senior Boarder
  • Join Date: 20-12-2011
    Posts: 63
    Points: 623
Hi,

One of my project is upgrading from 6.1 to 7.1.1.

We have downloaded webMethods Upgrade Guide 7.1 document from advantage but it does not contain any information about SAP Adapter configuration at 7.1.

Any one please provide us some information about configuring SAP Adapter at 7.1

Thanks

08-20-2012 16:01 #2

  • OFFLINE
    Senior Boarder
  • Join Date: 20-12-2011
    Posts: 64
    Points: 697
Before configuring you must have installed SAP Adapter for 7.1.1 and configured the required jars in the following paths:

Files Paths
librfccm.so - IntegrationServer_directory\lib\
sapjcorfc.so - IntegrationServer_directory\lib\
sapjco.jar - IntegrationServer_directory\packages\WmSAP\code\jars\static\
sapidoc.jar - IntegrationServer_directory\packages\WmSAP\code\jars\static\
sapidocjco.jar - IntegrationServer_directory\packages\WmSAP\code\jars\static\
and have added this setting in server.bat
SET RFC_TRACE_DIR=%IS_DIR%\packages\WmSAP\logs


Below are the ja versions that should be loaded
JCo Middleware sapjcorfc JCo Version - 2.1.8 (2006-12-11)
JCo Middleware Version - 2.1.8 (2006-12-11)
jRFC Library Version - 2.1.8 (2006-12-11)
jRFC Library Location - <webMethods71_Home>\lib\sapjcorfc.dll
IDoc Library Version (sapidoc.jar) - 1.0.4 (2006-10-10)
JCoIDoc Library Version(sapidocjco.jar) - 1.0.7 (2007-07-20)

Now, IS7.1.1 has to be restarted and then try to configure the adapter connection,listener to get the data from SAP and enable it. Make sure, the connection is enabled before enabling the listener for that connection.

SAP RFC Destination details are required to create the listener

Program ID - RFC Destination Port in SAP,
Gateway Host - Gateway Server to connect to SAP
Gateway Service,
Repository Server, and
Unicode Listener

Follow the below procedure for establishing communication with SAP by doing below configurations at webMethods and at SAP.


1. Create SAP Instance in webMethods

An SAP instance defines a group of resources such as memory, work processes and so on, usually in support of a single application server or database server within a client/server environment. Application servers share the same memory areas and are controlled by the same dispatcher process. The instance of the SAP system can be defined as an administrative unit which consist of different components that makes up the SAP system. These include the dispatcher, work processes, internet communication manager, assigned memory structures and the gateway.

Required information:Example values

SAP Client : 800
SAP User : sapuser
password: xxxxx
system number : 00
sapgateway host : sapdev
gateway service: sapgw00

Save and TestConnection.

2. Create a SAP Listener for the created SAP instance

SAP listener uses SAP connection details and monitors continuously the SAP host and service at particular port for information availability at SAP .

Click on the sap instance created and add listener
Giving ProgramID **
and after save on success can see green light

3. For establishing communication between webMethods -> SAP and to invoke calling a function module using the RFC interface, the calling program must specify the parameters of the connection in the form of a destination. This destination defines the type of connection, the partner program, and the target system. You can manage it using transaction SM59, and it distinguishes between a variety of connections, such as TCP/IP or SAP connections.Go to SAP:

Type Transaction ID sm59 :
go to SAP RFC Destination Gui
select TCIP Connection create
Give Name of RFC foir WM
Type : T
Select Logon Type : Registerd Program
Give ProgramID same as listner name givine WM
Give saphostname
Give gateway service as :sapgw00
Test Connection

It should have the same details that is provided in SAP RFC Destination port.


Hope this helps..

-> Please click on Thank you button if my reply really helps you..
  • Page:
  • 1