4 create the business process, Create the business process – Sun Microsystems eWay SAP BAPI User Manual
Page 100
Chapter 6
Section 6.6
Reviewing the Sample Projects
Building and Deploying the prjIDocInbound Sample Project
eWay™ Adapter for SAP BAPI User’s Guide
100
Sun Microsystems, Inc.
public com.stc.codegen.util.TypeConverter typeConverter;
public void inputMATMAS( com.stc.sapale.iDOC_MATMAS04_4X_46C.IDOC_MATMAS04_4X_46C input,
com.stc.sapale.iDOC_MATMAS04_4X_46C.IDOC_MATMAS04_4X_46C output,
com.stc.connector.appconn.file.FileApplication FileClient_1 )
throws Throwable
{
FileClient_1.setByteArray( input.marshal() );
FileClient_1.writeBytes();
}
}
6.6.4
Create the Business Process
The next step in the sample is to create the bpIDocInbound eInsight Business Process
in which the business rules are defined.
Steps required to create the Business Process include:
1
Right-click your new Project in the Enterprise Designer’s Project Explorer, and
select New > Business Process from the shortcut menu. The eInsight Business
Process Designer appears and BusinessProcess1 is added to the Project Explorer
tree. Rename BusinessProcess1 to bpIDocInbound.
2
Drag a IDOC_INBOUND_ASYNCHRONOUSReceive operation, located under
the RFC_IDOC_INBOUND_ASYNCHRONOUS OTD to the Business Process
canvas. The following two Activities are created:
RFC_IDOC_INBOUND_ASYNCHRONOUS.IDOC_INBOUND_ASYNCHRON
OUSReceive.Receive
RFC_IDOC_INBOUND_ASYNCHRONOUS.IDOC_INBOUND_ASYNCHRON
OUSReceive.Reply
Figure 70 bpIDocInbound Business Rule
3
From the Business Process toolbar, click the Branching Activities icon and drag a
Decision
from the drop-down list.