BEA manual Introducing the BEA WebLogic Adapter for SAP

Page 12

1 Introducing the BEA WebLogic Adapter for SAP

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 Interfaces), and IDocs (Intermediate Documents), which are used to support existing business processes.These business objects are available to the service adapter as requests of SAP, and are available to the event adapter when SAP invokes its remote requests. They work in the following way:

„Remote Function Call (RFC) modules are sessions established from the calling application to the SAP system. A user ID is logged on and then a call is issued, triggering processing inside the call. When the call is processed it usually returns information, such as a return code and application data. The calling application waits for processing to complete, then receives the data. It continues processing, taking the result into account. It can even issue multiple RFCs during one session.

„Business Application Programming Interfaces (BAPIs) are interfaces within the business framework, which are used to link SAP components to one another or to third-party components. BAPIs are called synchronously and return information. For BAPIs, the client needs to do the appropriate error handling.

„Intermediate Documents (IDocs) are documents that are processed asynchronously– that is, no information is returned to the client. As soon as one asynchronous method is involved, the overall communication flow is asynchronous. As a result, the sender should not be on standby awaiting an answer.

The BEA WebLogic Adapter for SAP quickly and easily integrates your SAP IDocs, RFCs, and BAPIs via WebLogic Integration workflows. The adapter and WebLogic Integration provide all the functionality you need to integrate your mission critical SAP system with other enterprise applications. Adapter benefits include:

„Eliminating the need for custom coding.

„Running SAP IDocs, BAPIs, and RFCs both synchronously and asynchronously from WebLogic Integration.

„Allowing SAP to initiate bidirectional business process management workflows using the event adapter.

„Creating application views directly from SAP metadata using BEA Application Explorer.

1-2BEA WebLogic Adapter for SAP User Guide

Image 12
Contents BEA WebLogic Adapter for SAP Copyright Table of Contents Sending SAP Events Using Abap Programs About This Document What You Need to Know Related InformationContact Us Documentation Conventions ConventionConvention Item BEA WebLogic Adapter for SAP User Guide SAP Introducing the BEA WebLogic Adapter for SAP WebLogic Integration WebLogic IntegrationHow the BEA WebLogic Adapter for SAP Works How the BEA WebLogic Adapter for SAP Works 6BEA WebLogic Adapter for SAP User Guide Creating Schemas for SAP Business Objects OverviewCreating Schemas for SAP Business Objects Generating Schemas Using the BEA Application Explorer Generating Schemas Using the BEA Application ExplorerBEA Application Explorer Window Selecting Session from File BEA Application Explorer Window Selecting New Connection SAP Logon Window System Tab BEA Application Explorer Selecting Application Components Creating Schemas for SAP Business Objects 10 BEA Application Explorer Displaying the BAPI’s Schemas 11 Explorer Window Directory Structure for an SAP connection 13 Sample Request Schema 12BEA WebLogic Adapter for SAP User Guide Creating an Application View Folder Configuring the BEA WebLogic Adapter for SAP WebLogic Integration Application View Console WindowEvent Adapter Application Views Event Adapter Application ViewsCreating the Event Adapter Application View Define New Application View Window Configure Connection Parameters Window Application View Administration Window Creating an SAP Remote Destination RFC Destinations Windows RFC Destination for BEA Event Adapter for SAP Window RFC Destination Beaeventdest Window 10 Destination Menu Window 11 Gateway Options Window Configuring the Event Adapter Application View 13 Application View Console Administration Window Configuring the BEA WebLogic Adapter for SAP 14 Application View Administration Window 15 Deploy Application View Window 16 WebLogic Server Log Window 17 Application View Console Window Testing the Event Adapter in the Application View Console 19 Test Event Window 20 Function Builder Initial Window 21 Test Function Module Initial Window 22 Test Result for ListCustomer Window Testing the Event Adapter in Studio 23 New Template Window 24 Start Properties Form Window Service Adapter Application Views Service Adapter Application Views25 Define New Application View Window 26 Configure Connection Parameters Window Configuring the Service Adapter Application View 27 Application View Console Administration Window 28 Add Service Window 29 Deploy Application View Window Testing the Service Adapter Rfccustomerget 31 Test Service Window 32 Test Results Window Listing 3-1 Full Response Document from ListCustomer BEA WebLogic Adapter for SAP IDocs Defining a Logical Port BEA WebLogic Adapter for SAP and IDocsDefining a Logical Port SAP Main Window / Creating a tRFC portCreating a Logical System Creating a Logical System SAP Main Window / Display StructureSAP Main Window / New Entries Overview of Added Entries Creating a Partner Profile Creating a Partner ProfileSAP Window / Partner Profiles Outbound Parameters SAP Window / Partner Profiles Summary To create a distribution model called Beamod SAP Window / Distribution Model Changed SAP Window / Add Message Type SAP Window / Distribution Model Changed New Model View Manually Sending an IDoc Manually Sending an IDoc SAP Window / Send Customers10 SAP Window / Master IDocs Set Up for Message Type Debmas Sending SAP Events Using Abap Programs Sending SAP Events Using Abap Programs Writing an RFC ModuleSample Files Sample RFC Request DocumentSample RFC Response Document Sample FilesSample IDoc XML for Message Type Sample IDoc XML for Message Type DebmasSTKZA/STKZA STKZU/STKZU STKZN/STKZN TXLW2/TXLW2 KUNN20000000001/KUNN2 PARVWWE/PARVW