beautypg.com

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

Page 96

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

96

Sun Microsystems, Inc.

Creating the Collaboration Business Rules

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

1

From the Business Rules toolbar, select the Rule icon. Next, right-click input
(located under jcdProcessCREMAS), 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 jcdProcessCREMAS > FileClient_1.

Figure 65 jcdProcessCREMAS Business Rule

3

From the Business Rules toolbar, select the Rule icon. Next, right-click FileClient_1
(located under jcdProcessCREMAS), and choose Select method to call... from the list
of available options. Select the writeBytes() method.