Chapter 6 | Section 6.6 |
Reviewing the Sample Projects | Building and Deploying the prjIDocInbound Sample Project |
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.4Create 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
2Drag 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
3From the Business Process toolbar, click the Branching Activities icon and drag a Decision from the
eWay™ Adapter for SAP BAPI User’s Guide | 100 | Sun Microsystems, Inc. |