|
New Page 1
|

Integrating XML
Into SAP Business Connector
- Schema and Templates -
Page 4 of 9
Adapting XML Schema
Approach to integrate with SAP Business Connectors
SAP Business Connector offers predefined services
or listeners for accessing or invoking SAP R/3 that can be
specialized to form flow-service in order to access a specific
service from the SAP system. The various access and call options
that are available in Business Connectors for SAP R/3 are shown in
Fig.3.
Fig: Available options for SAP R/3 integrated to
Business Connectors

Designing XML templates
for Business Connectors
The wtcSAP class contains a definition of the connection to the
business connector and the SAP R/3 system data recall method for RFC
and generic methods for invoking RFCs. However, individual RFCs and
BAPIs can be defined and added as an option to the wtcSAP class by
using proxy methods. In order to create a proxy first step is
launching a Web Transactions application in the base directory using
the start template wtcSAP_select. Its general index card defines the
connection to the SAP BC and the SAP R/3 system. In the file name
text box specify the file, which is to contain the proxy methods for
your RFCs and BAPIs. In the Start up, proxies will indicate the
methods already contained in this file. In order to create a proxy
if you know the name of the RFC or BAPI you can directly create the
template using create template. However, in order to search for the
RFC or BAPI type use the lookup index card and click lookup. It
gives you the list that might include the desired RFC or BAPI. By
using appropriate link in the list you can create the proxy method.
The code of proxy method is displayed in the proxy index card. After
collecting all the desired RFCs and BAPIs together return to the
general index card and click finish to save all pre-selected proxy
methods to your file.


|
New Page 1
|