Chapter 6

Section 6.5

Reviewing the Sample Projects

Building and Deploying the prjBAPIOutbound Sample Project

ƒCreate an Environment on page 86

ƒConfigure the eWays on page 87

ƒCreate the Deployment Profile on page 90

ƒCreate and Start the Domain on page 91

ƒRun the Sample Project on page 92

6.5.1Create a Project

The first step is to create a new Project in the Enterprise Designer.

1Start the Enterprise Designer.

2From the Project Explorer tree, right-click the Repository and select New Project. A new Project (Project1) appears on the Project Explorer tree.

3Rename the Project prjBAPIOutbound.

6.5.2Create the OTDs

The sample Project requires two OTDs to interact with the SAP BAPI eWay. These OTDs include:

ƒFlight—OTD that is used to check availability, check details, and return results of flight lists.

ƒCustBAPI—Custom defined OTD that is used to receive and send data to the triggering Business Process.

Additional information on creating OTDs is found at Creating SAP BAPI OTDs on page 39.

Steps required to create the Flight OTD:

1Right-click your new Project in the Enterprise Designer’s Project Explorer, and select New > Object Type Definition.

The New Object Type Definition Wizard window appears.

2Select SAP BAPI from the list of OTD Wizards and click Next.

3Enter the system parameters for the SAP R/3 system and click Next.

4Enter the SAP R/3 system login parameters and click Next.

5Select the following business object from the available list of objects:

Application_Components > Basis_Components >

ABAP_Workbench_Java_IDE_and_Infrastructure > Flight

6Click Finish to create the OTD.

Steps required to create the CustBAPI OTD:

1Right-click your new Project in the Enterprise Designer’s Project Explorer, and select New > Object Type Definition.

2Select User Defined OTD from the list of OTD Wizards and click Next.

eWay™ Adapter for SAP BAPI User’s Guide

72

Sun Microsystems, Inc.

Page 72
Image 72
Sun Microsystems SAP BAPI manual Create a Project, Create the OTDs, Steps required to create the Flight OTD