beautypg.com

Creating the collaboration business rules – Sun Microsystems eWay SAP BAPI User Manual

Page 98

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

98

Sun Microsystems, Inc.

6

Select the output message by selecting prjIDocInbound >
IDOC_MATMAS04_4X_46C

, then click Next.

7

Select the OTDs used in this Collaboration by selecting Sun SeeBeyond > eWays >
File

> FileClient.

8

Click Finish, the jcdProcessMATMAS Collaboration is created.

Figure 67 jcdProcessMATMAS

Creating the Collaboration Business Rules

The following steps demonstrate how the business rules for the jcdProcessMATMAS
Collaboration.

1

From the Business Rules toolbar, select the Rule icon. Next, right-click input
(located under jcdProcessMATMAS), and choose Select method to call... from the
list of available options. Select the marshal() method from the list of available
methods. the marshal method appears in the Business Rules Designer window.

2

Connect result(byte[]) to byteArray under jcdProcessMATMAS > FileClient_1.