Sun Microsystems SAP BAPI manual Creating the Collaboration Business Rules

Models: SAP BAPI

1 123
Download 123 pages 59.81 Kb
Page 96
Image 96

Chapter 6

Section 6.6

Reviewing the Sample Projects

Building and Deploying the prjIDocInbound Sample Project

Creating the Collaboration Business Rules

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

1From 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.

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

Figure 65 jcdProcessCREMAS Business Rule

3From 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.

eWay™ Adapter for SAP BAPI User’s Guide

96

Sun Microsystems, Inc.

Page 96
Image 96
Sun Microsystems SAP BAPI manual Creating the Collaboration Business Rules, JcdProcessCREMAS Business Rule