This 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
| Download: | Readers of this book click here for bonus download materials. |
Posted by Mathias on Mar 5th, 2012
It is clear that the author is competent and has based this summary of the technology on practical experiences. No, doubt.
However, the book is not a systematical introduction into SAP JCo. You have to have a good understand of both sides SAP and Java in order to make it valuable for yourself.
The sad thing about the book is when you want to verify the concepts and make them work, you discover that the examples are all based on JCo2. Since JCo3 is basically re-engineered the examples do not work with the latest JCO version and thus are inefficient (performace when scaling) and probably will only work with putting in hugh effort on Java side when trying to make them working in an ECC 6.0 environment. So, if you want to be up to date for your project, look somewhere else.