beautypg.com

11 build and deploy the project, 12 run the sample, Build and deploy the project – Sun Microsystems eWay SAP BAPI User Manual

Page 115: Run the sample

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

115

Sun Microsystems, Inc.

5

Make any necessary changes to the Create Domain dialog box and click Create. The
new domain is added to the Domain Manager. Select the domain and click the Start
an Existing Domain

button. Once your domain is started, a green check mark

indicates that the domain is running.

For more information about creating and managing domains see the eGate Integrator™
System Administration Guide
.

6.6.11

Build and Deploy the Project

The Build process compiles and validates the Project’s Java files and creates the Project
EAR file.

Build the Project

1

From the Deployment Editor toolbar, click the Build icon.

2

If there are any validation errors, a Validation Errors pane will appear at the
bottom of the Deployment Editor and displays information regarding the errors.
Make any necessary corrections, save then click Build again.

3

After the Build has succeeded you are ready to deploy your Project.

Deploy the Project

1

From the Deployment Editor toolbar, click the Deploy icon. Click Yes when the
Deploy

prompt appears.

2

A message appears when the project is successfully deployed. You can now test
your sample.

3

You can also deploy applications using Enterprise Manager. For more information,
see the Sun SeeBeyond eGate™ Integrator System Administration Guide.

6.6.12

Run the Sample

Additional steps are required to run the deployed sample Project.

Steps required to run the sample Project:

1

Go to your SAP R/3 GUI to dispatch the CREMAS or MATMAS message type
IDocs to the SAP BAPI eWay. The inbound SAP BAPI eWay then sends the data to a
Decision Gate which checks for the message type (CREMAS or MATMAS). The
message is then unmarshaled to either a CREMAS or MATMAS IDoc OTD, and
then passed to a JCD which then marshals out the IDoc and writes it to a file. The
output file (CREMASoutput%d.dat or MATMASoutput%d.dat) is generated,
based on the message type.

2

Verify the output data by viewing the sample output files. See

prjIDocInbound.zip

on page 70 for more details on the types of output files used in this sample Project.