Show TOC

Function documentationSAP JCo Interface Locate this document in the navigation structure

 

You use this action to create a connection to the SAP Java Connector (JCo) interface from the ERP server and create a Remote Function Call (RFC) request. The SAP JCo Interface action is used to send XML messages to and from the ERP system.

Note Note

The RFC request is an XML document. You can link data to the XML request document to customize the request.

End of the note.

The SAP JCo Interface action uses the following:

  • The local implementation's name space, which is displayed on the RFC interface

  • The ERP system logon credentials so you do not need to use an alias. You can use a common user but individual credentials.

    Note Note

    The SAP JCo Interface action also accepts an SAP SSO2 logon ticket. Therefore, if you logged on to SAP NetWeaver Portal and configured SAP Manufacturing Integration and Intelligence (SAP MII) to accept this ticket for an integrated logon, you can pass the ticket to the action without requesting user credentials.

    End of the note.

Integration

You use this action with the ERP system.

Features

The properties for this action are listed in the following table:

User Interface Name

Property

Data Type

Use

RFC Name

SAPRFC

String

Identifies the RFC.

Execute Function

ExecuteFunction

Boolean

If this checkbox is selected, SAP MII makes the RFC call to SAP ERP.

If you are testing the business logic within the transaction by debugging, do not select this checkbox.

(Not on Configuration screen)

Language

String

Defines the language.

Credential Alias

CredentialAlias

String

Identifies the alias you want to use.

You can choose an alias or enter details for the SAP server. If you use an alias, the settings for the alias are read from the server when a transaction is loaded or the configuration screen opens.

SAP Client

SAPClient

String

Identifies the number of the ERP server.

This property is required to establish communication with the SAP JCo.

SAP System Number

SAPSystemNumber

String

Identifies the system number of the ERP system.

This property is required to establish communication with the SAP JCo.

Timeouts

ConnectionTimeout

Integer

Defines the number of seconds after which to disconnect. If you enter a value greater than ten minutes, which is the default value, the connection times out at ten minutes.

Other properties for this action are listed in the following table and described in the noted cross-references:

Property

Cross-Reference

Request

See SAP Interface Repository.

Response

See SAP Interface Repository.

SAPServerName

See SAP NetWeaver AS Interface.

SAPUserName

See SAP NetWeaver AS Interface.

SAPPassword

See SAP NetWeaver AS Interface.

SAPSSO2Ticket

See SAP NetWeaver AS Interface.

Search Pattern

See SAP NetWeaver AS Interface.

AutoCommit

See SAP Business Connector.