Class AbstractRemoteFunctionRequest<RequestT extends AbstractRemoteFunctionRequest<RequestT,RequestResultT>,RequestResultT extends AbstractRemoteFunctionRequestResult<RequestT,RequestResultT>>
- Type Parameters:
RequestT
- The generic request type.RequestResultT
- The generic result type.
- Direct Known Subclasses:
BapiRequest
,RfmRequest
-
Field Summary
Modifier and TypeFieldDescriptionprotected final CommitStrategy
Deprecated.The strategy of commit handling in the remote system.protected final String
Deprecated.Method name which lead to the construction.protected final String
Deprecated.The name of the remote function to invoke.protected RemoteFunctionRequestErrorHandler
Deprecated.The result handler that is invoked after the request execution. -
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractRemoteFunctionRequest
(String functionName, CommitStrategy commitStrategy, String constructedByMethod) Deprecated.Constructor for remote function request. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Deprecated.boolean
Deprecated.Deprecated.Get the commit strategy.Deprecated.Method name which lead to the construction.Deprecated.Get the function name.protected abstract RequestT
getThis()
Deprecated.Convenience method that returns the current instance.Deprecated.Get the ERP type converters.int
hashCode()
Deprecated.Deprecated.Specifies to invoke aRemoteFunctionRequestErrorHandler
after the request execution which does not inspect the request result and, therefore, does not throw aRemoteFunctionException
.boolean
Deprecated.Get boolean indicator whether transactional commit is being performed.Deprecated.Specifies to invoke aRemoteFunctionRequestErrorHandler
after the request execution which inspects the request result and throws aRemoteFunctionException
or one of its more-specific exceptions depending on the returned error messages of the request.toString()
Deprecated.withErrorHandler
(RemoteFunctionRequestErrorHandler remoteFunctionRequestErrorHandler) Deprecated.Specifies to invoke the providedRemoteFunctionRequestErrorHandler
after the request has been executed.withExporting
(String name, String dataType) Deprecated.Adds an exporting parameter reflected by a data element.withExporting
(String name, String dataType, byte[] value) Deprecated.Adds an exporting byte[] parameter reflected by a data element.withExporting
(String name, String dataType, Year value) Deprecated.Adds an exportingYear
parameter. reflected by a data elementwithExporting
(String name, String dataType, Boolean value) Deprecated.Adds an exportingBoolean
parameter reflected by a data element.withExporting
(String name, String dataType, Byte value) Deprecated.Adds an exportingByte
parameter reflected by a data element.withExporting
(String name, String dataType, Character value) Deprecated.Adds an exportingCharacter
parameter reflected by a data element.withExporting
(String name, String dataType, Double value) Deprecated.Adds an exportingDouble
parameter reflected by a data element.withExporting
(String name, String dataType, Float value) Deprecated.Adds an exportingFloat
parameter reflected by a data element.withExporting
(String name, String dataType, Integer value) Deprecated.Adds an exportingInteger
parameter reflected by a data element.withExporting
(String name, String dataType, Long value) Deprecated.Adds an exportingLong
parameter reflected by a data element.withExporting
(String name, String dataType, Short value) Deprecated.Adds an exportingShort
parameter reflected by a data element.withExporting
(String name, String dataType, String value) Deprecated.Adds an exportingString
parameter reflected by a data element.withExporting
(String name, String dataType, BigDecimal value) Deprecated.Adds an exportingBigDecimal
parameter reflected by a data element.withExporting
(String name, String dataType, BigInteger value) Deprecated.Adds an exportingBigInteger
parameter reflected by a data element.withExporting
(String name, String dataType, LocalDate value) Deprecated.Adds an exportingLocalDate
parameter reflected by a data element.withExporting
(String name, String dataType, LocalTime value) Deprecated.Adds an exportingLocalTime
parameter reflected by a data element.withExporting
(String name, String dataType, Locale value) Deprecated.Adds an exportingLocale
parameter reflected by a data element.<T extends ErpType<T>>
AbstractRemoteFunctionRequest<RequestT,RequestResultT> withExporting
(String name, String dataType, T value) Deprecated.Adds an exporting parameter reflected by a data element.withExporting
(String name, String dataType, T value, ErpTypeConverter<T> typeConverter) Deprecated.Adds an exporting parameter reflected by a data element.withExportingFields
(String name, String dataType) Deprecated.Adds an exporting parameter reflected by a structure.withExportingFields
(String name, String dataType, Fields fields) Deprecated.Adds an exporting parameter reflected by a structure.withExportingTable
(String name, String dataType) Deprecated.Adds an exporting parameter reflected by a table type.withImporting
(String name, String dataType) Deprecated.Adds an importing parameter reflected by a data element.withImporting
(String name, String dataType, Year value) Deprecated.Adds a importingYear
parameter reflected by a data element.withImporting
(String name, String dataType, Boolean value) Deprecated.Adds a importingBoolean
parameter reflected by a data element.withImporting
(String name, String dataType, Byte value) Deprecated.Adds a importingByte
parameter reflected by a data element.withImporting
(String name, String dataType, Character value) Deprecated.Adds a importingCharacter
parameter reflected by a data element.withImporting
(String name, String dataType, Double value) Deprecated.Adds a importingDouble
parameter reflected by a data element.withImporting
(String name, String dataType, Float value) Deprecated.Adds a importingFloat
parameter reflected by a data element.withImporting
(String name, String dataType, Integer value) Deprecated.Adds a importingInteger
parameter reflected by a data element.withImporting
(String name, String dataType, Long value) Deprecated.Adds a importingLong
parameter reflected by a data element.withImporting
(String name, String dataType, Short value) Deprecated.Adds a importingShort
parameter reflected by a data element.withImporting
(String name, String dataType, String value) Deprecated.Adds a importingString
parameter reflected by a data element.withImporting
(String name, String dataType, BigDecimal value) Deprecated.Adds a importingBigDecimal
parameter reflected by a data element.withImporting
(String name, String dataType, BigInteger value) Deprecated.Adds a importingBigInteger
parameter reflected by a data element.withImporting
(String name, String dataType, LocalDate value) Deprecated.Adds a importingLocalDate
parameter reflected by a data element.withImporting
(String name, String dataType, LocalTime value) Deprecated.Adds a importingLocalTime
parameter reflected by a data element.withImporting
(String name, String dataType, Locale value) Deprecated.Adds a importingLocale
parameter reflected by a data element.<T extends ErpType<T>>
AbstractRemoteFunctionRequest<RequestT,RequestResultT> withImporting
(String name, String dataType, T value) Deprecated.Adds an importing parameter reflected by a data element.withImporting
(String name, String dataType, T value, ErpTypeConverter<T> typeConverter) Deprecated.Adds an importing parameter reflected by a data element.withImportingAsReturn
(String dataType) Deprecated.Adds an importing parameter as a return parameter with the name defined byRETURN_PARAMETER
.withImportingAsReturn
(String name, String dataType) Deprecated.Adds an importing parameter as a return parameter.withImportingFields
(String name, String dataType) Deprecated.Adds an importing parameter reflected by a structure.withImportingFields
(String name, String dataType, Fields fields) Deprecated.Adds an importing parameter reflected by a structure.withImportingTable
(String name, String dataType) Deprecated.Adds an importing parameter reflected by a table type.Deprecated.Adds a table parameter.withTableAsReturn
(String dataType) Deprecated.Adds a table parameter as a return parameter with the name defined byRETURN_PARAMETER
.withTableAsReturn
(String name, String dataType) Deprecated.Adds a table parameter as a return parameter.withTypeConverters
(ErpTypeConverter<?>... typeConverters) Deprecated.Delegates towithTypeConverters(Iterable)
.withTypeConverters
(Iterable<ErpTypeConverter<?>> typeConverters) Deprecated.Registers the givenErpTypeConverter
s.Methods inherited from class com.sap.cloud.sdk.s4hana.connectivity.Request
execute, getCustomHttpHeaders, getLongRunningRequestThreshold, getReadAccessData, getRequestId, setLongRunningRequestThreshold, withHeader, withHeader, withSameCustomHttpHeadersAs
-
Field Details
-
functionName
Deprecated.The name of the remote function to invoke. -
commitStrategy
Deprecated.The strategy of commit handling in the remote system.- See Also:
-
remoteFunctionRequestErrorHandler
Deprecated.The result handler that is invoked after the request execution.- See Also:
-
constructedByMethod
Deprecated.Method name which lead to the construction.
-
-
Constructor Details
-
AbstractRemoteFunctionRequest
protected AbstractRemoteFunctionRequest(@Nonnull String functionName, @Nonnull CommitStrategy commitStrategy, @Nullable String constructedByMethod) Deprecated.Constructor for remote function request.- Parameters:
functionName
- The function name.commitStrategy
- The commit strategy.constructedByMethod
- The name of the method from which this constructor is being called.
-
-
Method Details
-
getThis
Deprecated.Convenience method that returns the current instance.- Overrides:
getThis
in classRequest<RequestT extends AbstractRemoteFunctionRequest<RequestT,
RequestResultT>, RequestResultT extends AbstractRemoteFunctionRequestResult<RequestT, RequestResultT>> - Returns:
- The current instance.
-
getTypeConverters
Deprecated.Get the ERP type converters.- Returns:
- The type converters.
-
withTypeConverters
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withTypeConverters(@Nonnull Iterable<ErpTypeConverter<?>> typeConverters) Deprecated.Registers the givenErpTypeConverter
s. Replaces existing converters for already existing types that have been added before.- Parameters:
typeConverters
- The type converters to be added.- Returns:
- The same instance with additional type converters.
-
withTypeConverters
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withTypeConverters(@Nonnull ErpTypeConverter<?>... typeConverters) Deprecated.Delegates towithTypeConverters(Iterable)
.- Parameters:
typeConverters
- The type converters to be added.- Returns:
- The same instance with additional type converters.
-
getFunctionName
Deprecated.Get the function name.- Returns:
- The name of the function to be executed.
-
getCommitStrategy
Deprecated.Get the commit strategy.- Returns:
- The commit strategy with which the request is executed.
-
isPerformingTransactionalCommit
public boolean isPerformingTransactionalCommit()Deprecated.Get boolean indicator whether transactional commit is being performed.- Returns:
true
if a transactional commit will be performed after invoking the function,false
otherwise.
-
withExporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withExporting(@Nonnull String name, @Nonnull String dataType) Deprecated.Adds an exporting parameter reflected by a data element.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.
- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.- Returns:
- This request to allow for fluent formulation
-
withExporting
@Nonnull public <T extends ErpType<T>> AbstractRemoteFunctionRequest<RequestT,RequestResultT> withExporting(@Nonnull String name, @Nonnull String dataType, @Nullable T value) Deprecated.Adds an exporting parameter reflected by a data element.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.
- Type Parameters:
T
- The generic value type.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The value of the parameter.- Returns:
- This request to allow for fluent formulation
-
withExporting
@Nonnull public <T> AbstractRemoteFunctionRequest<RequestT,RequestResultT> withExporting(@Nonnull String name, @Nonnull String dataType, @Nullable T value, @Nullable ErpTypeConverter<T> typeConverter) Deprecated.Adds an exporting parameter reflected by a data element.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.
- Type Parameters:
T
- The generic value type.- Parameters:
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.- Returns:
- This request to allow for fluent formulation
-
withExporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withExporting(@Nonnull String name, @Nonnull String dataType, @Nullable Boolean value) Deprecated.Adds an exportingBoolean
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withExporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withExporting(@Nonnull String name, @Nonnull String dataType, @Nullable Byte value) Deprecated.Adds an exportingByte
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withExporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withExporting(@Nonnull String name, @Nonnull String dataType, @Nullable byte[] value) Deprecated.Adds an exporting byte[] parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request, to allow for fluent formulation
- See Also:
-
withExporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withExporting(@Nonnull String name, @Nonnull String dataType, @Nullable Character value) Deprecated.Adds an exportingCharacter
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withExporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withExporting(@Nonnull String name, @Nonnull String dataType, @Nullable String value) Deprecated.Adds an exportingString
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withExporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withExporting(@Nonnull String name, @Nonnull String dataType, @Nullable Short value) Deprecated.Adds an exportingShort
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withExporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withExporting(@Nonnull String name, @Nonnull String dataType, @Nullable Integer value) Deprecated.Adds an exportingInteger
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withExporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withExporting(@Nonnull String name, @Nonnull String dataType, @Nullable Long value) Deprecated.Adds an exportingLong
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withExporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withExporting(@Nonnull String name, @Nonnull String dataType, @Nullable Float value) Deprecated.Adds an exportingFloat
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withExporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withExporting(@Nonnull String name, @Nonnull String dataType, @Nullable Double value) Deprecated.Adds an exportingDouble
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withExporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withExporting(@Nonnull String name, @Nonnull String dataType, @Nullable BigInteger value) Deprecated.Adds an exportingBigInteger
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withExporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withExporting(@Nonnull String name, @Nonnull String dataType, @Nullable BigDecimal value) Deprecated.Adds an exportingBigDecimal
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withExporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withExporting(@Nonnull String name, @Nonnull String dataType, @Nullable Locale value) Deprecated.Adds an exportingLocale
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withExporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withExporting(@Nonnull String name, @Nonnull String dataType, @Nullable Year value) Deprecated.Adds an exportingYear
parameter. reflected by a data element- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withExporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withExporting(@Nonnull String name, @Nonnull String dataType, @Nullable LocalDate value) Deprecated.Adds an exportingLocalDate
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withExporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withExporting(@Nonnull String name, @Nonnull String dataType, @Nullable LocalTime value) Deprecated.Adds an exportingLocalTime
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withExportingFields
@Nonnull public ParameterFields<RequestT> withExportingFields(@Nonnull String name, @Nonnull String dataType) Deprecated.Adds an exporting parameter reflected by a structure.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.
- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.- Returns:
- The ParameterFields to allow for fluent formulation.
-
withExportingFields
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withExportingFields(@Nonnull String name, @Nonnull String dataType, @Nonnull Fields fields) Deprecated.Adds an exporting parameter reflected by a structure.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.
- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.fields
- The exporting fields.- Returns:
- This request to allow for fluent formulation
-
withExportingTable
Deprecated.Adds an exporting parameter reflected by a table type.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.
- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.- Returns:
- The Table to allow for fluent formulation.
-
withImporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withImporting(@Nonnull String name, @Nonnull String dataType) Deprecated.Adds an importing parameter reflected by a data element.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.
- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.- Returns:
- This request to allow for fluent formulation
-
withImporting
@Nonnull public <T extends ErpType<T>> AbstractRemoteFunctionRequest<RequestT,RequestResultT> withImporting(@Nonnull String name, @Nonnull String dataType, @Nullable T value) Deprecated.Adds an importing parameter reflected by a data element.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.
- Type Parameters:
T
- The generic value type.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The value of the parameter.- Returns:
- This request to allow for fluent formulation
-
withImporting
@Nonnull public <T> AbstractRemoteFunctionRequest<RequestT,RequestResultT> withImporting(@Nonnull String name, @Nonnull String dataType, @Nullable T value, @Nullable ErpTypeConverter<T> typeConverter) Deprecated.Adds an importing parameter reflected by a data element.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.
- Type Parameters:
T
- The generic value type.- Parameters:
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.- Returns:
- This request to allow for fluent formulation
-
withImporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withImporting(@Nonnull String name, @Nonnull String dataType, @Nullable Boolean value) Deprecated.Adds a importingBoolean
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withImporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withImporting(@Nonnull String name, @Nonnull String dataType, @Nullable Byte value) Deprecated.Adds a importingByte
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withImporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withImporting(@Nonnull String name, @Nonnull String dataType, @Nullable Character value) Deprecated.Adds a importingCharacter
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withImporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withImporting(@Nonnull String name, @Nonnull String dataType, @Nullable String value) Deprecated.Adds a importingString
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withImporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withImporting(@Nonnull String name, @Nonnull String dataType, @Nullable Short value) Deprecated.Adds a importingShort
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withImporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withImporting(@Nonnull String name, @Nonnull String dataType, @Nullable Integer value) Deprecated.Adds a importingInteger
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withImporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withImporting(@Nonnull String name, @Nonnull String dataType, @Nullable Long value) Deprecated.Adds a importingLong
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withImporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withImporting(@Nonnull String name, @Nonnull String dataType, @Nullable Float value) Deprecated.Adds a importingFloat
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withImporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withImporting(@Nonnull String name, @Nonnull String dataType, @Nullable Double value) Deprecated.Adds a importingDouble
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withImporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withImporting(@Nonnull String name, @Nonnull String dataType, @Nullable BigInteger value) Deprecated.Adds a importingBigInteger
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withImporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withImporting(@Nonnull String name, @Nonnull String dataType, @Nullable BigDecimal value) Deprecated.Adds a importingBigDecimal
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withImporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withImporting(@Nonnull String name, @Nonnull String dataType, @Nullable Locale value) Deprecated.Adds a importingLocale
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withImporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withImporting(@Nonnull String name, @Nonnull String dataType, @Nullable Year value) Deprecated.Adds a importingYear
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withImporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withImporting(@Nonnull String name, @Nonnull String dataType, @Nullable LocalDate value) Deprecated.Adds a importingLocalDate
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withImporting
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withImporting(@Nonnull String name, @Nonnull String dataType, @Nullable LocalTime value) Deprecated.Adds a importingLocalTime
parameter reflected by a data element.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.value
- The optional parameter value.- Returns:
- This request to allow for fluent formulation
- See Also:
-
withImportingFields
@Nonnull public ParameterFields<RequestT> withImportingFields(@Nonnull String name, @Nonnull String dataType) Deprecated.Adds an importing parameter reflected by a structure.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.
- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.- Returns:
- The ParameterFields to allow for fluent formulation.
-
withImportingFields
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withImportingFields(@Nonnull String name, @Nonnull String dataType, @Nonnull Fields fields) Deprecated.Adds an importing parameter reflected by a structure.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.
- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.fields
- The importing fields.- Returns:
- This request to allow for fluent formulation
-
withImportingTable
Deprecated.Adds an importing parameter reflected by a table type.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.
- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.- Returns:
- The table to allow for fluent formulation.
-
withImportingAsReturn
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withImportingAsReturn(@Nonnull String dataType) Deprecated.Adds an importing parameter as a return parameter with the name defined byRETURN_PARAMETER
.Note that return parameters refer to parameters for which return messages will be parsed and translated to RemoteFunctionMessages.
- Parameters:
dataType
- The ABAP data type of the parameter.- Returns:
- This request to allow for fluent formulation
-
withImportingAsReturn
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withImportingAsReturn(@Nonnull String name, @Nonnull String dataType) Deprecated.Adds an importing parameter as a return parameter.Note that return parameters refer to parameters for which return messages will be parsed and translated to RemoteFunctionMessages.
- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.- Returns:
- This request to allow for fluent formulation
-
withTable
Deprecated.Adds a table parameter.- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.- Returns:
- The Table to allow for fluent formulation.
-
withTableAsReturn
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withTableAsReturn(@Nonnull String dataType) Deprecated.Adds a table parameter as a return parameter with the name defined byRETURN_PARAMETER
.Note that return parameters refer to parameters for which return messages will be parsed and translated to RemoteFunctionMessages.
- Parameters:
dataType
- The ABAP data type of the parameter.- Returns:
- This request to allow for fluent formulation
-
withTableAsReturn
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withTableAsReturn(@Nonnull String name, @Nonnull String dataType) Deprecated.Adds a table parameter as a return parameter.Note that return parameters refer to parameters for which return messages will be parsed and translated to RemoteFunctionMessages.
- Parameters:
name
- The parameter name.dataType
- The ABAP data type of the parameter.- Returns:
- This request to allow for fluent formulation
-
withErrorHandler
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> withErrorHandler(@Nonnull RemoteFunctionRequestErrorHandler remoteFunctionRequestErrorHandler) Deprecated.Specifies to invoke the providedRemoteFunctionRequestErrorHandler
after the request has been executed.- Parameters:
remoteFunctionRequestErrorHandler
- The result handler to invoke after request execution- Returns:
- This request to allow for fluent formulation
-
ignoringErrors
Deprecated.Specifies to invoke aRemoteFunctionRequestErrorHandler
after the request execution which does not inspect the request result and, therefore, does not throw aRemoteFunctionException
.- Returns:
- This request to allow for fluent formulation
-
propagatingErrorsAsExceptions
@Nonnull public AbstractRemoteFunctionRequest<RequestT,RequestResultT> propagatingErrorsAsExceptions()Deprecated.Specifies to invoke aRemoteFunctionRequestErrorHandler
after the request execution which inspects the request result and throws aRemoteFunctionException
or one of its more-specific exceptions depending on the returned error messages of the request.- Returns:
- This request to allow for fluent formulation
-
equals
Deprecated. -
canEqual
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated. -
getConstructedByMethod
Deprecated.Method name which lead to the construction.- Specified by:
getConstructedByMethod
in classRequest<RequestT extends AbstractRemoteFunctionRequest<RequestT,
RequestResultT>, RequestResultT extends AbstractRemoteFunctionRequestResult<RequestT, RequestResultT>> - Returns:
- The method name that originally constructed this ERP request. This information is used for debugging.
-