@ComponentProfile(summary="Helper that generates an XML input file for a SAP BAPI", tag="service,sap,bapi", recommended={ConfiguredRfcConnection.class,DynamicRfcConnection.class}) public class BapiXmlGenerator extends RfcXmlGenerator
This service determines the BAPI to invoke based on the the xpath local-name(/*)
. After querying the configured
repository, it generates a sample document that contains all the elements required to execute a BAPI. If you map your input file
to the generated example, then it will be possible to use DynamicBapiProducer
as your producer without explicitly
configuring any ExportParameter
or ImportParameter
instances.
[BAPI_NAME]/INPUT
element[BAPI_NAME]/OUTPUT
element[BAPI_NAME]/INPUT/TABLES
element and also the
[BAPI_NAME]/OUTPUT/TABLES
element as tables could form both a an input and output parameter; how you can have
multiple rows for a table parameter should be obvious from the resulting XML.SapFunctionInputFileGenerator
,
RfcXmlGenerator
In the adapter configuration file this class is aliased as sapjco3-bapi-xml-generator which is the preferred alternative to the fully qualified classname when building your configuration.
License Required: ENTERPRISE
Constructor and Description |
---|
BapiXmlGenerator() |
closeService, doService, getConnection, initService, isEnabled, prepareService, setConnection, start, stop
changeState, close, continueOnFailure, createName, createQualifier, getContinueOnFail, getIsTrackingEndpoint, getLookupName, getUniqueId, init, isBranching, isTrackingEndpoint, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, setContinueOnFail, setIsTrackingEndpoint, setLookupName, setUniqueId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
continueOnFailure, isBranching, setUniqueId
createName, createQualifier, isTrackingEndpoint
Copyright Adaptris