
BapiQuery and RfcQuery classes. This release includes several improvements for this capability.BapiQueryResult or RfcQueryResult if a RemoteFunctionException shall be thrown. In addition, both BapiQuery and RfcQuery offer convenience methods as part of their fluent API to always ignore errors or to always propagate them as exceptions. The default, as before, is always propagating errors as exceptions.BapiQuery and RfcQuery had been committed asynchronously despite the API promising a synchronous commit. The implicit transaction commit is now done synchronously by default. This fix assures that changes have propagated completely to the ERP system before the execution of your application continues. If your code relies on an asynchronous commit or does not need the added safety of waiting for the commit to succeed, you can toggle the previous behavior by using the newly introduced optional parameter on the query constructor that expects a CommitStrategy. The CommitStrategy offers a third option in addition to synchronous and asynchronous commit that allows not committing the call.FilterExpression from the SAP Cloud Application Programming Model as an UncheckedFilterExpression. Please note that this approach discards type-safety and should only be used when it is desired to pass a filter query option directly, for example, when you are implementing a custom handler as part of the OData provisioning capabilitiy of the programming model. In that case, use the FilterExpressionConverter provided by the Cloud Application Programming Model to convert an expression retrieved via getQueryExpression from a query request to a FilterExpression:myService.getAllSomething()
.filter(new UncheckedFilterExpression<>(
FilterExpressionConverter.convertTo(
queryRequest.getQueryExpression())))
.execute();sdk-bom dependency.2.12.0.<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.sap.cloud.s4hana</groupId>
<artifactId>sdk-bom</artifactId>
<version>2.12.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
<!-- possibly further managed dependencies ... -->
</dependencyManagement>sdk-bom with sdk-modules-bom to only update the version of SDK modules, not further dependencies.-DarchetypeVersion=2.12.0 (or RELEASE).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 26 | |
| 24 | |
| 21 | |
| 13 | |
| 11 | |
| 9 | |
| 9 | |
| 8 | |
| 8 | |
| 8 |