Chapter 6
Section 6.6
Reviewing the Sample Projects
Building and Deploying the prjIDocInbound Sample Project
eWay™ Adapter for SAP BAPI User’s Guide
93
Sun Microsystems, Inc.
Create a Project
on page 93
Create the OTDs
on page 93
Create the Java Collaboration Definitions
on page 95
Create the Business Process
on page 100
Create a Connectivity Map
on page 106
Bind the eWay Components
on page 108
Create an Environment
on page 109
Configure the eWays
on page 110
Create the Deployment Profile
on page 113
Create and Start the Domain
on page 114
Build and Deploy the Project
on page 115
Run the Sample
on page 115
6.6.1
Create a Project
The first step is to create a new Project in the Enterprise Designer.
1
Start the Enterprise Designer.
2
From the Project Explorer tree, right-click the Repository and select
New
Project
. A
new
Project (
Project1
) appears on the Project Explorer tree.
3
Click twice on
Project1
and rename the Project (for this sample,
prjIDocInbound
).
6.6.2
Create the OTDs
The sample Project requires three OTDs to interact with the SAP BAPI eWay. These
OTDs include:
RFC_IDOC_INBOUND_ASYNCHRONOUS
—The RFC OTD that is used to
receive or send IDocs to SAP R/3.
IDOC_CREMAS03_4X_46A
—An IDoc OTD that is used to manipulate / manage
CREAMAS IDoc data.
IDOC_MATMAS04_4X_46C
—An IDoc OTD that is used to manipulate / manage
MATMAS IDoc data.
Additional information on creating OTDs is found at
Creating SAP BAPI OTDs
on
page 39.
Steps required to create the IDOC_INBOUND_ASYNCHRONOUS OTD:
1
Right-click your new Project in the Enterprise Designer’s Project Explorer, and
select
New
>
Object Type Definition
.
2
Select
SAP BAPI
from the list of OTD Wizards and click
Next
.
3
Select the
RFC
radio button for the type of object you want to convert, and click
Next
.