In your samples the class com.sap.cloud.sdk.s4hana.connectivity.ErpEndpoint is used (see Deep Dive 5 Blog ) however this class is missing in SDK 2.8.1.
How can a BapiQuery be created using SDK 2.8.1?
In version 2.0.0 of the S/4HANA Cloud SDK, the ErpEndpoint
was removed as per the release notes . The guidance is to use ErpConfigContext
instead.
Addition: The deep dive 5 was updated accordingly.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.