
Chapter 4
Creating SAP BAPI OTDs
The SAP BAPI wizard is used to create BAPI and RFC OTDs. You use these OTDs in Java Collaborations and eInsight business processes to create the needed business rules to communicate with SAP R/13.
What’s In This Chapter
SAP BAPI Encoding on page 39
Date and Time Stamp Requirements on page 40
SAP JCo Installation on page 40
Creating BAPI and RFC OTDs on page 41
BAPI and RFC OTDs on page 45
4.1SAP BAPI Encoding
SAP BAPI/RFC OTDs are encoding independent of the SAP R/3 system. This means that OTDs created on a Unicode SAP R/3 instance can seamlessly interact with non- Unicode SAP R/3 instances, and vice versa.
In addition, the marshal and unmarshal encoding methods on the
IDOC_INBOUND_ASYNCHRONOUS OTD only apply to the data, and not to the SAP R/3 instance. The default for all processed byte data is
When attempting to unmarshal data flows using an encoding other than
You also need to set the correct Character Set in the Environment parameters for an inbound eWay when receiving data from SAP R/3. This way, the eWay knows whether it is receiving Unicode or
Like the outbound data flows mentioned above, attempting to marshal data flows using an encoding other than
eWay™ Adapter for SAP BAPI User’s Guide | 39 | Sun Microsystems, Inc. |