Page 2 - Copyright; Restricted Rights Legend
Copyright Copyright © 2002 BEA Systems, Inc. All Rights Reserved. Copyright © 2002 iWay Software. All Rights Reserved. Restricted Rights Legend This software and documentation is subject to and made available only pursuant to the terms of the BEA Systems License Agreement and may be used or copied o...
Page 3 - Table of Contents; About This Document
BEA WebLogic Adapter for SAP User Guide iii Table of Contents About This Document What You Need to Know .................................................................................... viRelated Information ............................................................................................
Page 4 - The BEA WebLogic Adapter for SAP and IDocs
iv BEA WebLogic Adapter for SAP User Guide 4. The BEA WebLogic Adapter for SAP and IDocs Defining a Logical Port ..................................................................................... 4-2Creating a Logical System ...........................................................................
Page 6 - What You Need to Know
vi BEA WebLogic Adapter for SAP User Guide What You Need to Know This document is written for system integrators who develop client interfaces between SAP and other applications. It describes how to use the BEA WebLogic Adapter for SAP in order to integrate SAP IDocs, RFCs, and BAPIs with WebLogic I...
Page 8 - Documentation Conventions
viii BEA WebLogic Adapter for SAP User Guide Documentation Conventions The following documentation conventions are used throughout this document. Convention Item boldface text Indicates terms defined in the glossary. Ctrl+Tab Indicates that you must press two or more keys simultaneously. italics Ind...
Page 12 - Introducing the BEA WebLogic Adapter for SAP
1 Introducing the BEA WebLogic Adapter for SAP 1-2 BEA WebLogic Adapter for SAP User Guide The BEA WebLogic Adapter for SAP is designed specifically to provide simple, standard access to business objects such as SAP Remote Function Call (RFC) modules, BAPIs (Business Application Programming Interfac...
Page 13 - WebLogic Integration
WebLogic Integration BEA WebLogic Adapter for SAP User Guide 1-3 As a JCA and JMS-based service and event adapter, ensuring reusability from the entire WebLogic Server platform. Integrating SAP events and services with WebLogic Integration. WebLogic Integration WebLogic Integration is a single s...
Page 15 - How the BEA WebLogic Adapter for SAP Works
How the BEA WebLogic Adapter for SAP Works BEA WebLogic Adapter for SAP User Guide 1-5 from the physical connection data, which is stored in the WebLogic Integration repository. This shields users from the details of executing SAP IFR XML, IDoc, BAPIs, and RFCs. The deployed application view from BE...
Page 17 - Overview
BEA WebLogic Adapter for SAP User Guide 2-1 C HAPTER 2 Creating Schemas for SAP Business Objects This section describes how to use the BEA Application Explorer to generate schemas that describe your SAP business objects. It contains the following topics: Overview Generating Schemas Using the BEA...
Page 18 - Creating Schemas for SAP Business Objects
2 Creating Schemas for SAP Business Objects 2-2 BEA WebLogic Adapter for SAP User Guide Note: It is important to understand that the connection information and the event, request, and response schema information that you enter and that is created by the BEA Application Explorer, directly affects the...
Page 19 - Generating Schemas Using the BEA Application Explorer
Generating Schemas Using the BEA Application Explorer BEA WebLogic Adapter for SAP User Guide 2-3 Generating Schemas Using the BEA Application Explorer To generate schemas for an SAP business object using the BEA Application Explorer: 1. Open the BEA Application Explorer: z From the Windows Start me...
Page 29 - Creating an Application View Folder
BEA WebLogic Adapter for SAP User Guide 3-1 C HAPTER 3 Configuring the BEA WebLogic Adapter for SAP This section describes how to create, configure, and test event adapter application views and service adapter application views. It includes the following topics: Creating an Application View Folder...
Page 30 - Configuring the BEA WebLogic Adapter for SAP
3 Configuring the BEA WebLogic Adapter for SAP 3-2 BEA WebLogic Adapter for SAP User Guide To create an application view folder: 1. Open the Application View Console, which is found at the following location: http:// host:port /wlai Here, host is the TCP/IP address or DNS name where WebLogic Integra...
Page 31 - Event Adapter Application Views
Event Adapter Application Views BEA WebLogic Adapter for SAP User Guide 3-3 4. Double-click the new folder icon. The Add Folder window opens. Figure 3-2 Application View Console Window 5. Enter a name for the folder and click Save. You have finished creating the application view folder. To create a ...
Page 32 - Creating the Event Adapter Application View
3 Configuring the BEA WebLogic Adapter for SAP 3-4 BEA WebLogic Adapter for SAP User Guide Creating the Event Adapter Application View To create an event adapter application view: 1. Open the Application View Console, which is found at the following location: http:// host:port /wlai Here, host is th...
Page 36 - Creating an SAP Remote Destination
3 Configuring the BEA WebLogic Adapter for SAP 3-8 BEA WebLogic Adapter for SAP User Guide Creating an SAP Remote Destination To enable your SAP system to issue remote function calls (RFCs) or BAPIs to the SAP event adapter, you must define an RFC destination on the SAP system. This process is also ...
Page 42 - Configuring the Event Adapter Application View
3 Configuring the BEA WebLogic Adapter for SAP 3-14 BEA WebLogic Adapter for SAP User Guide 15. Click OK. Figure 3-12 Gateway Host and Service Window Configuring the Event Adapter Application View The event adapter application view contains all events that are expected to arrive at this instance of ...
Page 54 - Testing the Event Adapter in Studio
3 Configuring the BEA WebLogic Adapter for SAP 3-26 BEA WebLogic Adapter for SAP User Guide You can now write custom code to exploit the adapter or create a process flow in Studio. For more information, see “Using Application Views in the Studio” in Using Application Integration : For WebLogic Int...
Page 57 - Service Adapter Application Views; Creating a Service Adapter Application View
Service Adapter Application Views BEA WebLogic Adapter for SAP User Guide 3-29 Service Adapter Application Views This section describes how to create, configure, and test a service adapter application view. Service adapters allow WebLogic Integration to request information from SAP. Creating a Servi...
Page 60 - Configuring the Service Adapter Application View
3 Configuring the BEA WebLogic Adapter for SAP 3-32 BEA WebLogic Adapter for SAP User Guide Configuring the Service Adapter Application View To configure the service adapter application view: 1. If it is not already open, open the application view to be modified. For more information, see “Editing a...
Page 64 - Testing the Service Adapter
3 Configuring the BEA WebLogic Adapter for SAP 3-36 BEA WebLogic Adapter for SAP User Guide 4. If required, update the settings, and click Deploy. The Summary for Application View window opens. At this point, you can test your service adapter as described in “Testing the Service Adapter.” Testing th...
Page 70 - The BEA WebLogic Adapter for SAP and IDocs; Defining a Logical Port
4 The BEA WebLogic Adapter for SAP and IDocs 4-2 BEA WebLogic Adapter for SAP User Guide Defining a Logical Port The lower level networking requires that a system port number be associated with the RFC destination. The logical port identifies the port to which messages are sent. The logical port can...
Page 72 - Creating a Logical System
4 The BEA WebLogic Adapter for SAP and IDocs 4-4 BEA WebLogic Adapter for SAP User Guide Creating a Logical System One type of partner is a logical system. A logical system manages one or more RFC destinations. To create a logical system called BEALOG: 1. In the SAP Main screen, choose Tools → Accel...
Page 75 - Creating a Partner Profile
Creating a Partner Profile BEA WebLogic Adapter for SAP User Guide 4-7 Creating a Partner Profile To create a partner profile: 1. In the SAP Main screen, choose Tools → Business Communication → IDOC Basis → IDOC → Partner profile, or else execute transaction WE20 . 2. Select Partner type LS (Logical...
Page 79 - Creating a Distribution Model for the Partner and Message Type
Creating a Distribution Model for the Partner and Message Type BEA WebLogic Adapter for SAP User Guide 4-11 Figure 4-6 SAP Window / Distribution Model Changed
Page 82 - Manually Sending an IDoc
4 The BEA WebLogic Adapter for SAP and IDocs 4-14 BEA WebLogic Adapter for SAP User Guide Manually Sending an IDoc In the SAP Server, the transaction BD12 brings you to the following screen where you can send IDocs to any logical system, in this example to WebLogic Integration with an SAP event adap...
Page 86 - Sending SAP Events Using ABAP Programs; Writing an RFC Module
5 Sending SAP Events Using ABAP Programs 5-2 BEA WebLogic Adapter for SAP User Guide Writing an RFC Module The following is sample code that makes use of the user-defined RFC module Z_EVENT_DISPATCH . Listing 5-1 Sample Code With User-Defined RFC FUNCTION Z_01_EVENT_DISPATCH.CALL FUNCTION 'Z_EVENT_D...
Page 87 - Sample Files; Sample RFC Request Document
BEA WebLogic Adapter for SAP User Guide A-1 A PPENDIX A Sample Files This section provides sample request and response documents sent between SAP and the BEA WebLogic Adapter for SAP. It includes the following samples: Sample RFC Request Document Sample RFC Response Document Sample IDoc XML fo...
Page 88 - Sample RFC Response Document
A Sample Files A-2 BEA WebLogic Adapter for SAP User Guide <RFCDATA2></RFCDATA2> </TEST_IN> <DESTINATIONS> </DESTINATIONS> <LOG> </LOG></doc:RFC_WALK_THRU_TEST> Sample RFC Response Document Listing A-3 Sample RFC Response Document <?xml version="...
Page 89 - Sample IDoc XML for Message Type DEBMAS
Sample IDoc XML for Message Type DEBMAS BEA WebLogic Adapter for SAP User Guide A-3 Sample IDoc XML for Message Type DEBMAS Listing A-4 Sample IDoc XML for Message Type DEBMAS <?xml version="1.0" ?><DEBMAS01> <IDOC BEGIN="1"> <EDI_DC40 SEGMENT="1"> <...