Show TOC

Function documentationSAP JRA Function Call

 

You can use this action to perform a function call during a session between SAP Manufacturing Integration and Intelligence (SAP MII) and SAP ERP Central Component (SAP ECC) using SAP Java Resource Adapter (SAP JRA).

Features

The RFC Name (Function property) is the function that is called by the remote server.

If you select the Automatically Commit checkbox, the system commits changes made by the remote function call, so you do not need to add the SAP JRA Commit or SAP JRA Rollback actions to commit the changes.

You can use data buffering with the SAP JRA Function Call action. For more information about properties for this action, see Data Buffer.

The following table lists properties for this action:

Property

Data Type

Description

SAP JCo Session Action

Action

The established connection resource used for BAPI/RFC

Execute Function

Boolean

Indicates if the BAPI/RFC should be executed or if the action is used as an XML reference document within the transaction

RFC Type

Integer

The options are the following:

  • Best Effort(sRFC or 0)

  • Exactly Once(tRFC or 1)

  • Exactly Once in Order(qRFC or 2)

    For more information, see RFC.

Queue Name

String

The tRFC queue name used for sequential BAPI/RFC processing

RFC Name

String

Name of the BAPI/RFC to call

Search Pattern

String

Used to search for a BAPI/RFC by name

You can use the asterisk character for wildcard searches.

Retention Time in Days

Integer

Number of days to asynchronously retry to call SAP ECC

It only applies to asynchronous processing types.

Max. Retry Count

Integer

Maximum number of times to retry the call to SAP ECC

It only applies to asynchronous processing types.

Retry Interval

Integer

Amount of time in seconds between SAP ECC communication retries

Processing Type

String

One of the following strategies used to communicate with SAP ECC:

  • Synchronous Processing

    The BAPI/RFC is executed only once, even if it fails.

  • Asynchronous Processing on Error

    The BAPI/RFC is executed once. The transaction waits until the initial call succeeds or fails and then continues. If communication to SAP ECC is down, it retries in the background.

  • Asynchronous Processing

    The BAPI/RFC is always executed in the background. The transaction continues without waiting for a response.

Activities

To configure the function call, select the SAP JRA Function Call action in the SAP MII Workbench and choose Start of the navigation path Action Next navigation step Configure. End of the navigation path The configuration screen appears.