Modifying Business Processes

You can modify business processes to invoke SAP Suite adapter for JCo 3 .x.

In the following sample inbound business process, Sterling B2B Integrator invokes the SAP Suite adapter (for JCo 2.x):

“SAPBAPITEST”
 <operation name="callSalesOrderCreateFromDat1">
      <participant name="SAPBAPITEST"/>
      …
 </operation>

Modify the inbound business process to invoke SAP Suite adapter for JCo 3.x as follows. Follow the same procedure if the outbound business process invokes the SAP Suite adapter, for example, in a scenario where an ALE instance sends the status of IDocs to SAP or an sRFC instance returns a synchronous response to SAP.

“SAP30BAPITEST”.
  <operation name="callSalesOrderCreateFromDat1">
      <participant name="SAP30BAPITEST"/>
      …
 </operation>

If the business process invokes the SAP Suite adapter and adds an onFault block to return advanced status codes from the adapter, you must replace the 'advanced_status_code' with a code from the list of advanced status codes returned by SAP Suite adapter for JCo 3.x as. For information about the advanced status codes, see 'Advanced Status Returned by the SAP Suite Adapter for JCo 3.x'.

<onFault code="advanced_status_code">
    <assign to="ERROR">true</assign>
  </onFault>