简体   繁体   中英

Class TimeSheetEntryField missing from WorkforceTimesheet in S4 SDK

I am updating one of our S4 SDK projects to use the latest version of the SDK and I noticed then when I try to build the project I got the error:

cannot find symbol>  [ERROR] symbol:   class TimeSheetEntryField

When I look at the Javadocs I can see that this class existed in version 2.7.0 but is missing in the next version 2.8.0

This import throws an error as it cannot find the class in the newer version:

com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.workforcetimesheet.TimeSheetEntryField;

I can't see any notice of deprecation. Can you help?

Thanks, Simon

This class has been moved to a new package com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.workforcetimesheet.field (see Javadoc ) with version 2.8.0. Please update your import accordingly by adding .field to the package name.

As mentioned in the release notes , this was necessary to avoid potential name clashes in the virtual data model of the SAP S/4HANA Cloud SDK.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM