beautypg.com

Sun Microsystems eWay SAP BAPI User Manual

Page 99

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

99

Sun Microsystems, Inc.

Figure 68 jcdProcessMATMAS Business Rule

3

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

Figure 69 jcdProcessMATMAS Business Rule

4

The resulting Collaboration displays the following code:

package prjIDocInbound;

public class jcdProcessMATMAS
{

public com.stc.codegen.logger.Logger logger;

public com.stc.codegen.alerter.Alerter alerter;

public com.stc.codegen.util.CollaborationContext collabContext;