The Function Module Object (IRfcModule) 

Definition

An IRfcModule object represents an RFC function module.

Use

Use the IRfcModule object to call an RFC function module. The IRfcModule object manages all of the RFC function module parameters, including import, export, and table parameters.

The IRfcModule object supports all calling capabilities as an RFC client, including transactional client calls.

Depending on the parameters of the RFC function an IRfcModule object may contain one or more ITable objects, and one or more IImpExpParam objects. For every table parameter of the RFC function, the IRfcModule object contains an ITable object. For every import and export parameter, the IRfcModule object contains an IImpExpParam object, regardless of whether it is a single field parameter or a structure parameter.

You construct an IRfcModule object from IRfcModuleFactory. You obtain an IRfcModuleFactory object from the SessionManager. The SessionManager ensures that the IRfcModuleFactory obtains all the appropriate connection information.

The following diagram shows the relationship between IRfcModule and its parameter objects.

 

See Also

Parameter and Field Interfaces, Setting Up the Function Module Object

When using multiple connections, use FactoryManager instead of SessionManager to obtain the IRfcModuleFactory.

Also see the Java RFC HTML Reference documentation for the details of each of the classes and interfaces.