public class RfcQuery extends AbstractRemoteFunctionQuery<RfcQuery,RfcQueryResult>
Use the class BapiQuery
to call BAPIs in an ERP system.
The signature of an RFM consists of importing, exporting, changing, and tables parameters.
From the perspective of the RFM caller, input data is considered as exporting, output data is considered as importing, tables, and changing parameters can be used for both directions. The methods of this class are named following the caller's perspective.
From the perspective of the RFM, importing means input data, exporting means output data, changing, and tables parameters can be used for both directions.
Example:
Calling a RFM with one importing parameter (from RFM perspective) requires to utilize the method
withExporting(String, String)
. Consider all existing variants of this method depending on the Java data type
of the parameter, e.g. use withExporting(String, String, String)
to pass a String object.
The data type (i.e. the data dictionary object) of importing and exporting parameters (regardless of the perspective) can either be a data element, a structure, or a table type.
withExporting(String, String)
and its data type dependent variants to supply an exporting RFM
parameter reflected by a data element.withExportingFields(String, String, Fields)
to supply an exporting RFM parameter reflected by a
structure.withExportingTable(String, String)
to supply an exporting RFM parameter reflected by a table
type.
After calling execute(ErpConfigContext)
use the class RfcQueryResult
to access the results of the
RFM call (e.g. the exporting parameters from the RFM perspective respectively the importing parameters from the
caller's perspective).
constructedByMethod, functionName, performTransactionalCommit
Constructor and Description |
---|
RfcQuery(String functionName)
Constructs a remote function call query for which the result will be committed.
|
RfcQuery(String functionName,
boolean commit)
Constructs a remote function call query.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
RfcQueryResult |
execute(ErpConfigContext configContext)
Executes a given query using the given
ErpConfigContext . |
Set<String> |
getExceptionNames() |
RfcTransactionFactory |
getTransactionFactory() |
int |
hashCode() |
protected RfcQuery |
instance()
Convenience method that returns the current instance.
|
String |
toString() |
RfcQuery |
withChanging(String name,
String dataType)
Adds a changing parameter.
|
RfcQuery |
withChanging(String name,
String dataType,
BigDecimal value)
Adds a changing
BigDecimal parameter. |
RfcQuery |
withChanging(String name,
String dataType,
BigInteger value)
Adds a changing
BigInteger parameter. |
RfcQuery |
withChanging(String name,
String dataType,
Boolean value)
Adds a changing
Boolean parameter. |
RfcQuery |
withChanging(String name,
String dataType,
Byte value)
Adds a changing
Byte parameter. |
RfcQuery |
withChanging(String name,
String dataType,
Character value)
Adds a changing
Character parameter. |
RfcQuery |
withChanging(String name,
String dataType,
Double value)
Adds a changing
Double parameter. |
RfcQuery |
withChanging(String name,
String dataType,
Float value)
Adds a changing
Float parameter. |
RfcQuery |
withChanging(String name,
String dataType,
Integer value)
Adds a changing
Integer parameter. |
RfcQuery |
withChanging(String name,
String dataType,
LocalDate value)
Adds a changing
LocalDate parameter. |
RfcQuery |
withChanging(String name,
String dataType,
Locale value)
Adds a changing
Locale parameter. |
RfcQuery |
withChanging(String name,
String dataType,
LocalTime value)
Adds a changing
LocalTime parameter. |
RfcQuery |
withChanging(String name,
String dataType,
Long value)
Adds a changing
Long parameter. |
RfcQuery |
withChanging(String name,
String dataType,
Short value)
Adds a changing
Short parameter. |
RfcQuery |
withChanging(String name,
String dataType,
String value)
Adds a changing
String parameter. |
<T extends ErpType<T>> |
withChanging(String name,
String dataType,
T value)
Adds a changing parameter.
|
<T> RfcQuery |
withChanging(String name,
String dataType,
T value,
ErpTypeConverter<T> typeConverter)
Adds a changing parameter.
|
RfcQuery |
withChanging(String name,
String dataType,
Year value)
Adds a changing
Year parameter. |
ParameterFields<RfcQuery> |
withChangingFields(String name,
String dataType)
Adds a changing fields parameter for multiple values.
|
RfcQuery |
withChangingFields(String name,
String dataType,
Fields fields)
Adds a changing fields parameter for multiple values.
|
Table<RfcQuery> |
withChangingTable(String name,
String dataType)
Adds a changing table parameter.
|
RfcQuery |
withException(String name)
Declares an expected exception from calling a remote function module.
|
RfcQuery |
withExporting(String name,
String dataType)
Adds an exporting parameter reflected by a data element.
|
RfcQuery |
withExporting(String name,
String dataType,
BigDecimal value)
Adds an exporting
BigDecimal parameter reflected by a data element. |
RfcQuery |
withExporting(String name,
String dataType,
BigInteger value)
Adds an exporting
BigInteger parameter reflected by a data element. |
RfcQuery |
withExporting(String name,
String dataType,
Boolean value)
Adds an exporting
Boolean parameter reflected by a data element. |
RfcQuery |
withExporting(String name,
String dataType,
Byte value)
Adds an exporting
Byte parameter reflected by a data element. |
RfcQuery |
withExporting(String name,
String dataType,
Character value)
Adds an exporting
Character parameter reflected by a data element. |
RfcQuery |
withExporting(String name,
String dataType,
Double value)
Adds an exporting
Double parameter reflected by a data element. |
RfcQuery |
withExporting(String name,
String dataType,
Float value)
Adds an exporting
Float parameter reflected by a data element. |
RfcQuery |
withExporting(String name,
String dataType,
Integer value)
Adds an exporting
Integer parameter reflected by a data element. |
RfcQuery |
withExporting(String name,
String dataType,
LocalDate value)
Adds an exporting
LocalDate parameter reflected by a data element. |
RfcQuery |
withExporting(String name,
String dataType,
Locale value)
Adds an exporting
Locale parameter reflected by a data element. |
RfcQuery |
withExporting(String name,
String dataType,
LocalTime value)
Adds an exporting
LocalTime parameter reflected by a data element. |
RfcQuery |
withExporting(String name,
String dataType,
Long value)
Adds an exporting
Long parameter reflected by a data element. |
RfcQuery |
withExporting(String name,
String dataType,
Short value)
Adds an exporting
Short parameter reflected by a data element. |
RfcQuery |
withExporting(String name,
String dataType,
String value)
Adds an exporting
String parameter reflected by a data element. |
<T extends ErpType<T>> |
withExporting(String name,
String dataType,
T value)
Adds an exporting parameter reflected by a data element.
|
<T> RfcQuery |
withExporting(String name,
String dataType,
T value,
ErpTypeConverter<T> typeConverter)
Adds an exporting parameter reflected by a data element.
|
RfcQuery |
withExporting(String name,
String dataType,
Year value)
Adds an exporting
Year parameter. reflected by a data element |
ParameterFields<RfcQuery> |
withExportingFields(String name,
String dataType)
Adds an exporting parameter reflected by a structure.
|
RfcQuery |
withExportingFields(String name,
String dataType,
Fields fields)
Adds an exporting parameter reflected by a structure.
|
Table<RfcQuery> |
withExportingTable(String name,
String dataType)
Adds an exporting parameter reflected by a table type.
|
RfcQuery |
withImporting(String name,
String dataType)
Adds an importing parameter reflected by a data element.
|
RfcQuery |
withImporting(String name,
String dataType,
BigDecimal value)
Adds a importing
BigDecimal parameter reflected by a data element. |
RfcQuery |
withImporting(String name,
String dataType,
BigInteger value)
Adds a importing
BigInteger parameter reflected by a data element. |
RfcQuery |
withImporting(String name,
String dataType,
Boolean value)
Adds a importing
Boolean parameter reflected by a data element. |
RfcQuery |
withImporting(String name,
String dataType,
Byte value)
Adds a importing
Byte parameter reflected by a data element. |
RfcQuery |
withImporting(String name,
String dataType,
Character value)
Adds a importing
Character parameter reflected by a data element. |
RfcQuery |
withImporting(String name,
String dataType,
Double value)
Adds a importing
Double parameter reflected by a data element. |
RfcQuery |
withImporting(String name,
String dataType,
Float value)
Adds a importing
Float parameter reflected by a data element. |
RfcQuery |
withImporting(String name,
String dataType,
Integer value)
Adds a importing
Integer parameter reflected by a data element. |
RfcQuery |
withImporting(String name,
String dataType,
LocalDate value)
Adds a importing
LocalDate parameter reflected by a data element. |
RfcQuery |
withImporting(String name,
String dataType,
Locale value)
Adds a importing
Locale parameter reflected by a data element. |
RfcQuery |
withImporting(String name,
String dataType,
LocalTime value)
Adds a importing
LocalTime parameter reflected by a data element. |
RfcQuery |
withImporting(String name,
String dataType,
Long value)
Adds a importing
Long parameter reflected by a data element. |
RfcQuery |
withImporting(String name,
String dataType,
Short value)
Adds a importing
Short parameter reflected by a data element. |
RfcQuery |
withImporting(String name,
String dataType,
String value)
Adds a importing
String parameter reflected by a data element. |
<T extends ErpType<T>> |
withImporting(String name,
String dataType,
T value)
Adds an importing parameter reflected by a data element.
|
<T> RfcQuery |
withImporting(String name,
String dataType,
T value,
ErpTypeConverter<T> typeConverter)
Adds an importing parameter reflected by a data element.
|
RfcQuery |
withImporting(String name,
String dataType,
Year value)
Adds a importing
Year parameter reflected by a data element. |
RfcQuery |
withImportingAsReturn(String dataType)
Adds an importing parameter as a return parameter with the name defined by
AbstractRemoteFunctionQuery.RETURN_PARAMETER . |
RfcQuery |
withImportingAsReturn(String name,
String dataType)
Adds an importing parameter as a return parameter.
|
ParameterFields<RfcQuery> |
withImportingFields(String name,
String dataType)
Adds an importing parameter reflected by a structure.
|
RfcQuery |
withImportingFields(String name,
String dataType,
Fields fields)
Adds an importing parameter reflected by a structure.
|
Table<RfcQuery> |
withImportingTable(String name,
String dataType)
Adds an importing parameter reflected by a table type.
|
Table<RfcQuery> |
withTable(String name,
String dataType)
Adds a table parameter.
|
RfcQuery |
withTableAsReturn(String dataType)
Adds a table parameter as a return parameter with the name defined by
AbstractRemoteFunctionQuery.RETURN_PARAMETER . |
RfcQuery |
withTableAsReturn(String name,
String dataType)
Adds a table parameter as a return parameter.
|
RfcQuery |
withTypeConverters(ErpTypeConverter<?>... typeConverters)
Delegates to
AbstractRemoteFunctionQuery.withTypeConverters(Iterable) . |
RfcQuery |
withTypeConverters(Iterable<ErpTypeConverter<?>> typeConverters)
Registers the given
ErpTypeConverter s. |
doCommit, getConstructedByMethod, getFunctionName, getTypeConverters, isPerformingTransactionalCommit, newParameter, newParameterWithValue, newParameterWithValueList, newParameterWithValueList
execute, getCustomHttpHeaders, getHeaderParameters, getLongRunningRequestThreshold, getReadAccessData, getRequestId, getThis, setLongRunningRequestThreshold, withCustomHttpHeader, withCustomHttpHeader, withSameCustomHttpHeadersAs
public RfcQuery(String functionName) throws IllegalArgumentException
functionName
- The name of the function to be called.IllegalArgumentException
- If the given function is a BAPI, i.e., its name starts with the prefix "BAPI".public RfcQuery(String functionName, boolean commit) throws IllegalArgumentException
functionName
- The name of the function to be called.commit
- Decides whether to commit the result of the function call.IllegalArgumentException
- If the given function is a BAPI, i.e., its name starts with the prefix "BAPI".@Nonnull public RfcQueryResult execute(@Nonnull ErpConfigContext configContext) throws QuerySerializationException, QueryExecutionException, DestinationNotFoundException, DestinationAccessException
ErpConfigContext
.execute
in class Query<RfcQuery,RfcQueryResult>
configContext
- The ErpConfigContext
to be used for query execution.QuerySerializationException
- If there is an issue while serializing the query.QueryExecutionException
- If there is an issue while executing the query.DestinationNotFoundException
- If no destination with the name specified in the ErpConfigContext
can be found.DestinationAccessException
- If there is an issue while accessing destination information.@Nonnull protected RfcQuery instance()
instance
in class AbstractRemoteFunctionQuery<RfcQuery,RfcQueryResult>
@Nonnull public RfcQuery withTypeConverters(Iterable<ErpTypeConverter<?>> typeConverters)
AbstractRemoteFunctionQuery
ErpTypeConverter
s. Replaces existing converters for already existing types that have
been added before.withTypeConverters
in class AbstractRemoteFunctionQuery<RfcQuery,RfcQueryResult>
@Nonnull public RfcQuery withTypeConverters(ErpTypeConverter<?>... typeConverters)
AbstractRemoteFunctionQuery
AbstractRemoteFunctionQuery.withTypeConverters(Iterable)
.withTypeConverters
in class AbstractRemoteFunctionQuery<RfcQuery,RfcQueryResult>
@Nonnull public RfcQuery withExporting(String name, String dataType)
Note: Exporting refers to the point of view of the caller. Thus, when a parameter is declared as importing on ABAP side, you have to specify it as exporting here.
withExporting
in class AbstractRemoteFunctionQuery<RfcQuery,RfcQueryResult>
name
- The parameter name.dataType
- The ABAP data type of the parameter.@Nonnull public <T extends ErpType<T>> RfcQuery withExporting(String name, String dataType, T value)
Note: Exporting refers to the point of view of the caller. Thus, when a parameter is declared as importing on ABAP side, you have to specify it as exporting here.
withExporting
in class AbstractRemoteFunctionQuery<RfcQuery,RfcQueryResult>
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The value of the parameter.@Nonnull public <T> RfcQuery withExporting(String name, String dataType, T value, ErpTypeConverter<T> typeConverter)
Note: Exporting refers to the point of view of the caller. Thus, when a parameter is declared as importing on ABAP side, you have to specify it as exporting here.
withExporting
in class AbstractRemoteFunctionQuery<RfcQuery,RfcQueryResult>
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The value of the parameter.typeConverter
- A type converter defining how to convert the type of the given value to its ERP representation.@Nonnull public RfcQuery withExporting(String name, String dataType, Boolean value)
Boolean
parameter reflected by a data element.@Nonnull public RfcQuery withExporting(String name, String dataType, Byte value)
Byte
parameter reflected by a data element.@Nonnull public RfcQuery withExporting(String name, String dataType, Character value)
Character
parameter reflected by a data element.@Nonnull public RfcQuery withExporting(String name, String dataType, String value)
String
parameter reflected by a data element.@Nonnull public RfcQuery withExporting(String name, String dataType, Short value)
Short
parameter reflected by a data element.@Nonnull public RfcQuery withExporting(String name, String dataType, Integer value)
Integer
parameter reflected by a data element.@Nonnull public RfcQuery withExporting(String name, String dataType, Long value)
Long
parameter reflected by a data element.@Nonnull public RfcQuery withExporting(String name, String dataType, Float value)
Float
parameter reflected by a data element.@Nonnull public RfcQuery withExporting(String name, String dataType, Double value)
Double
parameter reflected by a data element.@Nonnull public RfcQuery withExporting(String name, String dataType, BigInteger value)
BigInteger
parameter reflected by a data element.@Nonnull public RfcQuery withExporting(String name, String dataType, BigDecimal value)
BigDecimal
parameter reflected by a data element.@Nonnull public RfcQuery withExporting(String name, String dataType, Locale value)
Locale
parameter reflected by a data element.@Nonnull public RfcQuery withExporting(String name, String dataType, Year value)
Year
parameter. reflected by a data element@Nonnull public RfcQuery withExporting(String name, String dataType, LocalDate value)
LocalDate
parameter reflected by a data element.@Nonnull public RfcQuery withExporting(String name, String dataType, LocalTime value)
LocalTime
parameter reflected by a data element.@Nonnull public ParameterFields<RfcQuery> withExportingFields(String name, String dataType)
Note: Exporting refers to the point of view of the caller. Thus, when a parameter is declared as importing on ABAP side, you have to specify it as exporting here.
withExportingFields
in class AbstractRemoteFunctionQuery<RfcQuery,RfcQueryResult>
name
- The parameter name.dataType
- The ABAP data type of the parameter.@Nonnull public RfcQuery withExportingFields(String name, String dataType, Fields fields)
Note: Exporting refers to the point of view of the caller. Thus, when a parameter is declared as importing on ABAP side, you have to specify it as exporting here.
withExportingFields
in class AbstractRemoteFunctionQuery<RfcQuery,RfcQueryResult>
name
- The parameter name.dataType
- The ABAP data type of the parameter.fields
- The exporting fields.@Nonnull public Table<RfcQuery> withExportingTable(String name, String dataType)
Note: Exporting refers to the point of view of the caller. Thus, when a parameter is declared as importing on ABAP side, you have to specify it as exporting here.
withExportingTable
in class AbstractRemoteFunctionQuery<RfcQuery,RfcQueryResult>
name
- The parameter name.dataType
- The ABAP data type of the parameter.@Nonnull public RfcQuery withImporting(String name, String dataType)
Note that importing is related to the point of view of the caller. Thus, when a parameter is declared as exporting on ABAP side, you have to specify it as importing here.
withImporting
in class AbstractRemoteFunctionQuery<RfcQuery,RfcQueryResult>
name
- The parameter name.dataType
- The ABAP data type of the parameter.@Nonnull public <T extends ErpType<T>> RfcQuery withImporting(String name, String dataType, T value)
Note that importing is related to the point of view of the caller. Thus, when a parameter is declared as exporting on ABAP side, you have to specify it as importing here.
withImporting
in class AbstractRemoteFunctionQuery<RfcQuery,RfcQueryResult>
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The value of the parameter.@Nonnull public <T> RfcQuery withImporting(String name, String dataType, T value, ErpTypeConverter<T> typeConverter)
Note that importing is related to the point of view of the caller. Thus, when a parameter is declared as exporting on ABAP side, you have to specify it as importing here.
withImporting
in class AbstractRemoteFunctionQuery<RfcQuery,RfcQueryResult>
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The value of the parameter.typeConverter
- A type converter defining how to convert the type of the given value to its ERP representation.@Nonnull public RfcQuery withImporting(String name, String dataType, Boolean value)
Boolean
parameter reflected by a data element.@Nonnull public RfcQuery withImporting(String name, String dataType, Byte value)
Byte
parameter reflected by a data element.@Nonnull public RfcQuery withImporting(String name, String dataType, Character value)
Character
parameter reflected by a data element.@Nonnull public RfcQuery withImporting(String name, String dataType, String value)
String
parameter reflected by a data element.@Nonnull public RfcQuery withImporting(String name, String dataType, Short value)
Short
parameter reflected by a data element.@Nonnull public RfcQuery withImporting(String name, String dataType, Integer value)
Integer
parameter reflected by a data element.@Nonnull public RfcQuery withImporting(String name, String dataType, Long value)
Long
parameter reflected by a data element.@Nonnull public RfcQuery withImporting(String name, String dataType, Float value)
Float
parameter reflected by a data element.@Nonnull public RfcQuery withImporting(String name, String dataType, Double value)
Double
parameter reflected by a data element.@Nonnull public RfcQuery withImporting(String name, String dataType, BigInteger value)
BigInteger
parameter reflected by a data element.@Nonnull public RfcQuery withImporting(String name, String dataType, BigDecimal value)
BigDecimal
parameter reflected by a data element.@Nonnull public RfcQuery withImporting(String name, String dataType, Locale value)
Locale
parameter reflected by a data element.@Nonnull public RfcQuery withImporting(String name, String dataType, Year value)
Year
parameter reflected by a data element.@Nonnull public RfcQuery withImporting(String name, String dataType, LocalDate value)
LocalDate
parameter reflected by a data element.@Nonnull public RfcQuery withImporting(String name, String dataType, LocalTime value)
LocalTime
parameter reflected by a data element.@Nonnull public ParameterFields<RfcQuery> withImportingFields(String name, String dataType)
Note that importing is related to the point of view of the caller. Thus, when a parameter is declared as exporting on ABAP side, you have to specify it as importing here.
withImportingFields
in class AbstractRemoteFunctionQuery<RfcQuery,RfcQueryResult>
name
- The parameter name.dataType
- The ABAP data type of the parameter.@Nonnull public RfcQuery withImportingFields(String name, String dataType, Fields fields)
Note that importing is related to the point of view of the caller. Thus, when a parameter is declared as exporting on ABAP side, you have to specify it as importing here.
withImportingFields
in class AbstractRemoteFunctionQuery<RfcQuery,RfcQueryResult>
name
- The parameter name.dataType
- The ABAP data type of the parameter.fields
- The importing fields.@Nonnull public Table<RfcQuery> withImportingTable(String name, String dataType)
Note that importing is related to the point of view of the caller. Thus, when a parameter is declared as exporting on ABAP side, you have to specify it as importing here.
withImportingTable
in class AbstractRemoteFunctionQuery<RfcQuery,RfcQueryResult>
name
- The parameter name.dataType
- The ABAP data type of the parameter.@Nonnull public RfcQuery withImportingAsReturn(String dataType)
AbstractRemoteFunctionQuery.RETURN_PARAMETER
.
Note that return parameters refer to parameters for which return messages will be parsed and translated to RemoteFunctionMessages.
withImportingAsReturn
in class AbstractRemoteFunctionQuery<RfcQuery,RfcQueryResult>
dataType
- The ABAP data type of the parameter.@Nonnull public RfcQuery withImportingAsReturn(String name, String dataType)
Note that return parameters refer to parameters for which return messages will be parsed and translated to RemoteFunctionMessages.
withImportingAsReturn
in class AbstractRemoteFunctionQuery<RfcQuery,RfcQueryResult>
name
- The parameter name.dataType
- The ABAP data type of the parameter.@Nonnull public Table<RfcQuery> withTable(String name, String dataType)
withTable
in class AbstractRemoteFunctionQuery<RfcQuery,RfcQueryResult>
name
- The parameter name.dataType
- The ABAP data type of the parameter.@Nonnull public RfcQuery withTableAsReturn(String dataType)
AbstractRemoteFunctionQuery.RETURN_PARAMETER
.
Note that return parameters refer to parameters for which return messages will be parsed and translated to RemoteFunctionMessages.
withTableAsReturn
in class AbstractRemoteFunctionQuery<RfcQuery,RfcQueryResult>
dataType
- The ABAP data type of the parameter.@Nonnull public RfcQuery withTableAsReturn(String name, String dataType)
Note that return parameters refer to parameters for which return messages will be parsed and translated to RemoteFunctionMessages.
withTableAsReturn
in class AbstractRemoteFunctionQuery<RfcQuery,RfcQueryResult>
name
- The parameter name.dataType
- The ABAP data type of the parameter.public RfcQuery withChanging(String name, String dataType)
name
- The parameter name.dataType
- The ABAP data type of the parameter.RfcQuery
to facilitate a fluent interface.public <T extends ErpType<T>> RfcQuery withChanging(String name, String dataType, T value)
T
- The type of the parameter.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The value of the parameter.RfcQuery
to facilitate a fluent interface.public <T> RfcQuery withChanging(String name, String dataType, T value, ErpTypeConverter<T> typeConverter)
T
- The type of the parameter.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The value of the parameter.typeConverter
- A type converter defining how to convert the type of the given value to its ERP representation.RfcQuery
to facilitate a fluent interface.public RfcQuery withChanging(String name, String dataType, Boolean value)
Boolean
parameter.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The Boolean
value of the parameter.RfcQuery
to facilitate a fluent interface.withChanging(String, String, Object, ErpTypeConverter)
public RfcQuery withChanging(String name, String dataType, Byte value)
Byte
parameter.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The Byte
value of the parameter.RfcQuery
to facilitate a fluent interface.withChanging(String, String, Object, ErpTypeConverter)
public RfcQuery withChanging(String name, String dataType, Character value)
Character
parameter.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The Character
value of the parameter.RfcQuery
to facilitate a fluent interface.withChanging(String, String, Object, ErpTypeConverter)
public RfcQuery withChanging(String name, String dataType, String value)
String
parameter.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The String
value of the parameter.RfcQuery
to facilitate a fluent interface.withChanging(String, String, Object, ErpTypeConverter)
public RfcQuery withChanging(String name, String dataType, Short value)
Short
parameter.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The Short
value of the parameter.RfcQuery
to facilitate a fluent interface.withChanging(String, String, Object, ErpTypeConverter)
public RfcQuery withChanging(String name, String dataType, Integer value)
Integer
parameter.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The Integer
value of the parameter.RfcQuery
to facilitate a fluent interface.withChanging(String, String, Object, ErpTypeConverter)
public RfcQuery withChanging(String name, String dataType, Long value)
Long
parameter.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The Long
value of the parameter.RfcQuery
to facilitate a fluent interface.withChanging(String, String, Object, ErpTypeConverter)
public RfcQuery withChanging(String name, String dataType, Float value)
Float
parameter.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The Float
value of the parameter.RfcQuery
to facilitate a fluent interface.withChanging(String, String, Object, ErpTypeConverter)
public RfcQuery withChanging(String name, String dataType, Double value)
Double
parameter.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The Double
value of the parameter.RfcQuery
to facilitate a fluent interface.withChanging(String, String, Object, ErpTypeConverter)
public RfcQuery withChanging(String name, String dataType, BigInteger value)
BigInteger
parameter.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The BigInteger
value of the parameter.RfcQuery
to facilitate a fluent interface.withChanging(String, String, Object, ErpTypeConverter)
public RfcQuery withChanging(String name, String dataType, BigDecimal value)
BigDecimal
parameter.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The BigDecimal
value of the parameter.RfcQuery
to facilitate a fluent interface.withChanging(String, String, Object, ErpTypeConverter)
public RfcQuery withChanging(String name, String dataType, Locale value)
Locale
parameter.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The Locale
value of the parameter.RfcQuery
to facilitate a fluent interface.withChanging(String, String, Object, ErpTypeConverter)
public RfcQuery withChanging(String name, String dataType, Year value)
Year
parameter.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The Year
value of the parameter.RfcQuery
to facilitate a fluent interface.withChanging(String, String, Object, ErpTypeConverter)
public RfcQuery withChanging(String name, String dataType, LocalDate value)
LocalDate
parameter.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The LocalDate
value of the parameter.RfcQuery
to facilitate a fluent interface.withChanging(String, String, Object, ErpTypeConverter)
public RfcQuery withChanging(String name, String dataType, LocalTime value)
LocalTime
parameter.name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The LocalTime
value of the parameter.RfcQuery
to facilitate a fluent interface.withChanging(String, String, Object, ErpTypeConverter)
public ParameterFields<RfcQuery> withChangingFields(String name, String dataType)
name
- The parameter name.dataType
- The ABAP data type of the parameter.ParameterFields
object, collecting multiple values. Calling the end()
method on it
will return this RfcQuery
.public RfcQuery withChangingFields(String name, String dataType, Fields fields)
name
- The parameter name.dataType
- The ABAP data type of the parameter.fields
- The changing fields.RfcQuery
to facilitate a fluent interface.public Table<RfcQuery> withChangingTable(String name, String dataType)
name
- The parameter name.dataType
- The ABAP data type of the parameter.Table
object, collecting multiple values. Calling the end()
method on it will
return this RfcQuery
.public RfcQuery withException(String name)
name
- The name of the expected exception.RfcQuery
to facilitate a fluent interface.public boolean equals(Object o)
equals
in class AbstractRemoteFunctionQuery<RfcQuery,RfcQueryResult>
protected boolean canEqual(Object other)
canEqual
in class AbstractRemoteFunctionQuery<RfcQuery,RfcQueryResult>
public int hashCode()
hashCode
in class AbstractRemoteFunctionQuery<RfcQuery,RfcQueryResult>
public String toString()
toString
in class AbstractRemoteFunctionQuery<RfcQuery,RfcQueryResult>
public RfcTransactionFactory getTransactionFactory()
Copyright © 2018 SAP SE. All rights reserved.