Class DynamicBapiProducer

  • All Implemented Interfaces:
    AdaptrisComponent, AdaptrisMessageProducer, AdaptrisMessageSender, AdaptrisMessageWorker, ComponentLifecycle, ComponentLifecycleExtension, com.adaptris.core.licensing.LicensedComponent, MessageEventGenerator

    @ComponentProfile(summary="Execute a SAP BAPI where the BAPI is dynamically inferred from the Document",
                      tag="producer,sap,bapi",
                      recommended={ConfiguredRfcConnection.class,DynamicRfcConnection.class})
    public final class DynamicBapiProducer
    extends DynamicProducer

    Implementation of AdaptrisMessageProducer based on SAP JCO3 libraries.

    In order to use this producer you will have previously downloaded, installed and configured SAP Java Connector. The jar files should be copied into the adapter's lib directory, but any native libraries should be configured as per the SAP Java Connector documentation.

    In order to use this producer you will have previously downloaded, installed and configured SAP Java Connector. The jar files should be copied into the adapter's lib directory, but any native libraries should be configured as per the SAP Java Connector documentation.

    The input file for this producer should be the one generated by BapiXmlGenerator which creates a sample XML document for the given BAPI. If you map your input file to the associated generated sample, then this producer instance can be used to dynamically execute the RFC without having to explicitly configure any ExportParameter or ImportParameter instances.

    This producer type extends DynamicRfcProducer and provides the additional functionality:
    • If configured, the BapiReturnParser will be used to automatically handle the RETURN export parameter, so there is no requirement to explicitly configure one.

    See Also:
    ConfiguredRfcConnection, RfcServiceList, DynamicRfcProducer, BapiXmlGenerator

    In the adapter configuration file this class is aliased as sapjco3-dynamic-bapi-producer which is the preferred alternative to the fully qualified classname when building your configuration.

    License Required: ENTERPRISE