sappress_sap_interface_programming.pdf - Michael Wegelin and Michael Englbrecht SAP Interface Programming \u00ae Bonn \ufffd Boston 318 Book_TIGHT.indb 3

sappress_sap_interface_programming.pdf - Michael Wegelin...

This preview shows page 1 - 6 out of 98 pages.

Michael Wegelin and Michael Englbrecht SAP ® Interface Programming Bonn Boston
Image of page 1
Contents at a Glance 1 Basic Principles of SAP Interface Programming ......... 13 2 Remote Function Call with ABAP ............................... 95 3 Remote Function Call with C ...................................... 145 4 Remote Function Call with Java .................................. 217 5 IDocs and ALE ............................................................. 271 6 Service-Oriented Architecture Protocol ...................... 311 7 SAP NetWeaver Process Integration .......................... 347 A Bibliography ................................................................ 391 B The Authors ................................................................. 393
Image of page 2
7 Contents Preface ......................................................................................... 11 1 Basic Principles of SAP Interface Programming .......... 13 1.1 SAP NetWeaver Application Server ............................... 13 1.1.1 SAP Solutions and SAP NetWeaver ................... 13 1.1.2 SAP NetWeaver Application Server ABAP ......... 16 1.1.3 SAP NetWeaver Application Server Java ........... 29 1.2 Security ........................................................................ 32 1.2.1 Security in Heterogeneous Landscapes ............. 32 1.2.2 User Management Engine ................................ 36 1.2.3 KeyStores: Authentication, Signatures, Encryption ....................................................... 38 1.2.4 Authentication and Authorization .................... 40 1.3 Programming SAP NetWeaver AS ABAP ........................ 57 1.3.1 ABAP Dictionary .............................................. 58 1.3.2 Authentication and Authorization .................... 63 1.3.3 Number Ranges ................................................ 64 1.3.4 Function Modules ............................................ 64 1.3.5 Update Modules .............................................. 67 1.3.6 Application Functions and User Interfaces ........ 68 1.4 Overview of SAP Interface Technologies ........................ 70 1.4.1 File Interface .................................................... 70 1.4.2 Remote Function Call ....................................... 72 1.4.3 BAPIs ............................................................... 82 1.4.4 Application Link Enabling ................................. 84 1.4.5 SOAP ............................................................... 90 1.4.6 XI SOAP ........................................................... 92 2 Remote Function Call with ABAP ................................ 95 2.1 RFC Function Modules in ABAP .................................... 95 2.1.1 Function Modules for Reading ......................... 95 2.1.2 Call via sRFC ..................................................... 98 2.1.3 Function Modules for Deleting and Changing ... 101
Image of page 3
8 Contents 2.2 Transactional RFC .......................................................... 106 2.3 Queued RFC ................................................................. 111 2.3.1 qRFC with Outbound Queue ............................ 112 2.3.2 qRFC with Outbound and Inbound Queue ....... 115 2.4 Business Objects and BAPIs .......................................... 118 2.4.1 Developing Business Objects ............................ 118 2.4.2 Developing BAPIs ............................................. 119 2.4.3 “Helpvalues” Business Object ........................... 141 3 Remote Function Call with C ....................................... 145 3.1 C RFC Library ................................................................ 145 3.1.1 RFC Software Development Kit ........................ 146 3.1.2 Connection Tests .............................................. 148 3.1.3 Compiling and Linking ...................................... 152 3.2 Simple RFC Clients and RFC Parameters ........................ 153 3.2.1 Structure of an RFC Client Program .................. 154 3.2.2 Simple Parameters ............................................ 164 3.2.3 Structured Parameters ...................................... 167 3.2.4 Table Parameters .............................................. 171 3.3 More Complex RFC Clients ........................................... 174 3.3.1 Calling BAPIs .................................................... 174 3.3.2 Transactional RFC ............................................. 177 3.3.3 Queued RFC ..................................................... 188 3.4 RFC Server .................................................................... 189 3.4.1 Logon to Gateway ............................................ 192 3.4.2 Installing and Executing Functions .................... 194 3.4.3 Dispatching ...................................................... 202 3.4.4 Transactional RFC ............................................. 205 4 Remote Function Call with Java .................................. 217 4.1 SAP Java Connector ...................................................... 217 4.1.1 Installation ....................................................... 217 4.1.2 Architecture of SAP Java Connector .................. 218 4.1.3 Programming with SAP Java Connector ............ 220 4.1.4 Processing Tables and Structures ...................... 229 4.1.5 Transactional RFC ............................................. 232
Image of page 4
9 Contents 4.1.6 Queued RFC ..................................................... 234 4.1.7 Metadata Processing ........................................ 236 4.2 Enterprise Connector .................................................... 237 4.2.1 Generating Proxy Classes .................................. 238 4.2.2 Programming the Client .................................... 243 4.3 RFC Server .................................................................... 244 4.3.1 Server-Side and Client-Side Repository ............. 245 4.3.2 Programming a Simple JCo Server ..................... 247 4.3.3 Registering a Function Handler ......................... 249 4.3.4 Managing Transactions ..................................... 251 4.4 JCo RFC Provider Service .............................................. 252 4.5 SAP NetWeaver Portal Connector Framework ............... 256 4.5.1 Java Connector Architecture ............................. 257 4.5.2 System Landscape of the Portal ........................ 258 4.5.3 Introduction to Programming in the Portal ....... 261 4.5.4 Application Example of the Connector Framework ....................................................... 264 5 IDocs and ALE .............................................................. 271 5.1 IDocs ............................................................................ 272 5.1.1 Developing IDocs ............................................. 272 5.1.2 Creating IDocs .................................................. 275 5.1.3 Inbound Processing of IDocs ............................ 279 5.2 ALE ............................................................................... 284 5.2.1 ALE Configuration ............................................ 284 5.2.2 Testing and Monitoring .................................... 290 5.2.3
Image of page 5
Image of page 6

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture