beautypg.com

1 create a project, 2 create the otds, Create a project – Sun Microsystems eWay SAP BAPI User Manual

Page 93: Create the otds

background image

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

.