public abstract class SapSenderImpl extends SapSenderBase implements ISapSender
sender that calls a SAP RFC-function.
N.B. If no requestFieldIndex or requestFieldName is specified, input is converted from xml;
If no replyFieldIndex or replyFieldName is specified, output is converted to xml.functionName is empty, inputfieldname The value of the parameter is set to the (simple) input field, structurename/inputfieldname The value of the parameter is set to the named field of the named structureparamListlog| Constructor and Description |
|---|
SapSenderImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure() |
com.sap.conn.jco.JCoFunction |
getFunction(SapSystemImpl sapSystem,
ParameterValueList pvl) |
String |
getFunctionName()
Listeners and IdocSenders don't use a functionName
|
String |
getFunctionNameParam() |
Message |
sendMessage(Message message,
PipeLineSession session) |
void |
setFunctionName(String string) |
void |
setFunctionNameParam(String string) |
void |
setSynchronous(boolean b) |
addParameter, close, getDestination, getLuwHandleSessionKey, getParameterList, getSapSystemNameParam, getSystem, getTid, isSynchronous, open, setLuwHandleSessionKey, setSapSystemNameParamcalculateStaticFieldIndices, closeFacade, findFieldIndex, functionCall2message, functionResult2message, getApplicationContext, getConfigurationClassLoader, getCorrelationIdFieldIndex, getCorrelationIdFieldName, getCorrelationIdFromField, getDomain, getFunctionTemplate, getFunctionTemplate, getLogPrefix, getName, getPhysicalDestinationName, getReplyFieldIndex, getReplyFieldName, getRequestFieldIndex, getRequestFieldName, getSapSystem, getSapSystem, getSapSystemName, message2FunctionCall, message2FunctionResult, openFacade, setApplicationContext, setCorrelationIdFieldIndex, setCorrelationIdFieldName, setName, setParameters, setReplyFieldIndex, setReplyFieldName, setRequestFieldIndex, setRequestFieldName, setSapSystemNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequestFieldName, setLuwHandleSessionKey, setSapSystemNameParamconsumesSessionVariableclose, isSynchronous, opengetName, setNamegetApplicationContext, getNamegetConfigurationClassLoadersetApplicationContextaddParameter, getParameterListsetCorrelationIdFieldIndex, setCorrelationIdFieldName, setReplyFieldIndex, setReplyFieldName, setRequestFieldIndex, setRequestFieldName, setSapSystemNamegetDomain, getPhysicalDestinationNamepublic void configure()
throws ConfigurationException
configure in interface IConfigurableconfigure in interface ISenderconfigure in class SapSenderBaseConfigurationExceptionpublic com.sap.conn.jco.JCoFunction getFunction(SapSystemImpl sapSystem, ParameterValueList pvl) throws SapException
SapExceptionpublic Message sendMessage(Message message, PipeLineSession session) throws SenderException, TimeoutException
sendMessage in interface ISendersendMessage in class SapSenderBaseSenderExceptionTimeoutExceptionpublic void setSynchronous(boolean b)
setSynchronous in interface ISapSendersetSynchronous in class SapSenderBase@IbisDoc(value={"1","Name of the RFC-function to be called in the SAP system",""}) public void setFunctionName(String string)
setFunctionName in interface ISapSender@IbisDoc(value={"2","name of the parameter used to obtain the functionName from if the attribute <code>functionName</code> is empty","functionName"}) public void setFunctionNameParam(String string)
setFunctionNameParam in interface ISapSenderpublic String getFunctionName()
SapFunctionFacadegetFunctionName in class SapFunctionFacadepublic String getFunctionNameParam()
Copyright © 2023 Frank!Framework. All rights reserved.