SAP Business Connector SAP Adapter Guide
Total Page:16
File Type:pdf, Size:1020Kb
SAP Business Connector SAP Adapter Guide SAP SYSTEM Release 4.7 SAP® AG Neurottstr. 16 D-69190 Walldorf SAP AG SAP Business Connector SAP Adapter Guide Copyright ©Copyright 2003 SAP AG. All rights reserved. No part of this description of functions may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft®, WINDOWS® and EXCEL®, NT® and SQL-Server® are registered trademarks of Microsoft Corporation. IBM®, OS/2®, DB2/6000®, AIX®, OS/400® and AS/400® are registered trademarks of IBM Corporation. OSF/Motif® is a registered trademark of Open Software Foundation. ORACLE® is a registered trademark of ORACLE Corporation, California, USA. webMethods® is a registered trademark of webMethods Incorporated, Virginia, USA. INFORMIX®-OnLine for SAP is a registered trademark of Informix Software Incorporated. UNIX® and X/Open® are registered trademarks of SCO Santa Cruz Operation. SAP®, R/2®, R/3®, RIVA®, ABAP/4®, SAPaccess®, SAPmail®, SAPoffice®, SAP-EDI®, SAP Business Workflow®, SAP EarlyWatch®, SAP ArchiveLink®, R/3 Retail®, ALE/WEB®, SAPTRONIC® are registered trademarks of SAP AG. All rights reserved. SAP Business Connector ii SAP AG SAP Business Connector SAP Adapter Guide Typographical Conventions Type Style Description Interface Text Words or characters that appear on the screen. This includes field names, screen titles, pushbuttons, menu names, and menu options. Document Title Cross-references to other documentation. User Entry Words and characters that you enter exactly as they appear in the documentation. <Variable User Variable user entry. Pointed brackets indicate that you replace these Entry> words and characters with appropriate entries. NAME Names of elements in the SAP System. These include program names, transaction codes, table names, ABAP key words, file names, and directories. Name File names, path names, program names, user names, parameters, file contents and operating system output. KEY Keys on the keyboard. These include the function keys, e.g. F2, or the ENTER key. Icon Description A note. Notes contain important information, e.g. exceptions or special cases. An example. Examples illustrate complex procedures or the syntax for user entries. A caution. Cautions help users avoid errors which can, for example, lead to loss of data. Hints and Tips. SAP Business Connector iii SAP AG SAP Business Connector SAP Adapter Guide Contents Chapter 1: Introduction................................................................................................ 1-1 Welcome! ................................................................................................................... 1-2 Related Documentation............................................................................................ 1-2 Chapter 2: Product Overview ...................................................................................... 2-1 What is the SAP Business Connector? .................................................................. 2-2 Functional Highlights ............................................................................................... 2-2 Complete SAP System Integration ........................................................................ 2-3 Integrating SAP Systems over the Internet............................................................ 2-3 Routing IDocs, RFCs and BAPIs ........................................................................... 2-3 Support for IDoc- and RFC-XML ........................................................................... 2-4 Support of BizTalk XML envelopes for BAPI and RFC calls ................................. 2-4 Support of Unified Error Handling of BAPIs and RFCs on XML Level .................. 2-4 Built-in BAPI Tools ................................................................................................. 2-4 Message Store....................................................................................................... 2-5 Architecture and Components ................................................................................ 2-6 Basic Concepts ...................................................................................................... 2-6 Invoking Business Logic.......................................................................................... 2-8 Routing Messages through the Partner Manager.................................................. 2-9 Chapter 3: Installation and Setup ............................................................................... 3-1 System Requirements .............................................................................................. 3-2 Sizing….. .................................................................................................................... 3-2 CPU……. .................................................................................................................... 3-2 Disc Space ................................................................................................................. 3-2 Questions on sizing................................................................................................ 3-2 Installation Size...................................................................................................... 3-3 Transaction Store................................................................................................... 3-3 Log files.................................................................................................................. 3-4 Memory.. .................................................................................................................... 3-5 Questions on Sizing ............................................................................................... 3-5 Initial consumption ................................................................................................. 3-5 Consumption per session ...................................................................................... 3-5 Consumption for RFC Listeners ............................................................................ 3-6 SAP Business Connector iv SAP AG SAP Business Connector SAP Adapter Guide Payload .................................................................................................................. 3-6 Miscellaneous............................................................................................................ 3-7 Encryption .............................................................................................................. 3-7 IDoc Packets.......................................................................................................... 3-7 Connection Pool..................................................................................................... 3-8 Security .................................................................................................................. 3-8 Configuring SAP BC Server as a Windows NT service......................................... 3-8 Chapter 4: Calling an SAP System from SAP BC Services...................................... 4-1 Overview .................................................................................................................... 4-2 General Settings........................................................................................................ 4-2 Defining SAP Servers ............................................................................................... 4-3 Testing the Connection to SAP Servers ................................................................ 4-9 Testing that the SAP Server will Execute an RFC............................................... 4-10 Creating an SAP BC Service that Executes an RFC............................................ 4-11 Creating an Outbound Map.................................................................................. 4-12 Searching for maps without reference ................................................................. 4-14 Using optional tables in outbound maps.............................................................. 4-15 Testing the Function Module................................................................................ 4-16 Testing that the SAP Server will Execute an RFC-XML ...................................... 4-17 Posting an RFC-XML Document from an HTTP Client ....................................... 4-18 Creating an SAP BC Service that Executes a BAPI............................................. 4-19 Starting to Browse................................................................................................ 4-19 Displaying a List of Business Objects in the System........................................... 4-20 Displaying a Business Object .............................................................................. 4-20 Displaying a BAPI ................................................................................................ 4-21 Displaying a BAPI Parameter .............................................................................. 4-22 Displaying a Key Field ......................................................................................... 4-23 Generating XML Calls for a BAPI ........................................................................ 4-23 Posting