|
SAP Java Connector: Operation & Development
his highly-detailed technical guide provides you with a complete understanding of how to maximize the functionality of the SAP Java Connector. Using this practical, hands-on manual, you'll uncover all aspects of application development with the JCo: From first connecting the worlds of ABAP and Java to the reciprocal call of building blocks, the author
gives you all the instruction needed for mastering exception handling, debugger functionalities, and for securing your communications with tRFC and qRFC. In addition, extra chapters deal with the essential topics of IDocs and Java, mass data, and much more.
1. Introduction and Prerequisites ... 3
... 1.1 Goal of This Book ... 3
... 1.2 Preparations ... 4
... 1.3 Variants of the SAP RFC Interface ... 5
... 1.4 Components of the RFC Layer ... 8
2. Getting Started with Java Connector ... 11
... 2.1 Java Calls ABAP ... 11
... 2.2 SAP Calls Java ... 14
... 2.3 The Right Connection ... 21
3. Error Handling with SAP Java Connector ... 25
... 3.1 Handling ABAP Exceptions in Java ... 25
... 3.2 Using Java to Trigger ABAP Exceptions ... 26
... 3.3 Using the SAP Application Log for Java Exceptions and Other Messages ... 26
4. Debugging Between Two Worlds ... 37
... 4.1 Start of a Long Debugging Session ... 38
... 4.2 ABAP Debugger Starts Automatically ... 39
5. JCO.Server for Advanced Learners ... 41
... 5.1 Monitoring JCO.Server Closely ... 41
... 5.2 Transactional Extension of JCO.Server ... 42
... 5.3 SAP Enterprise Connector and JCO.Server ... 45
... 5.4 Tables, Structures, and Binary Data ... 46
6. Securing Communication ... 51
... 6.1 Multiple JCo.Server Instances ... 51
... 6.2 Starting Multiple JCO.Server Threads ... 51
... 6.3 Transactional RFC with Callback ... 56
... 6.4 Using a Parallel Workfl ow and Events ... 67
7. Database Synchronization via IDocs ... 69
... 7.1 Administering the ALE Layer ... 69
... 7.2 Receiving IDocs in the Java System ... 73
... 7.3 Sending IDocs from the Java System ... 74
... 7.4 Permitting the Reception of IDocs in the SAP System ... 81
8. Web Services Using SAP and Java Connector ... 83
... 8.1 Web Services and SAP ... 83
... 8.2 SAP Enterprise Connector Without NWDS ... 85
9. Summary and Outlook ... 89
Index ... 91
|