Class DefaultFundService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultFundService
- All Implemented Interfaces:
BatchService<FundServiceBatch>,FundService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultFundService")
@Deprecated
public class DefaultFundService
extends Object
implements FundService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
This service enables you to create, read, update, and delete the fund master data from SAP S/4HANA Cloud system. This service is based on the OData protocol and can be consumed in SAP Fiori apps and other user interfaces..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_FUNDCORE |
| API Version: | 1.1.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Public Sector API Integration(SAP_COM_0761) |
| Scope Items: | Government Budget Planning(6UC) |
| Authentication Methods: | x509 |
| Business Object: | Fund |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.FundService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingFundService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.createFundCore(FundCore fundCore) Deprecated.Create a newFundCoreentity and save it to the S/4HANA system.deleteFundCore(FundCore fundCore) Deprecated.Deletes an existingFundCoreentity in the S/4HANA system.Deprecated.Fetch multipleFundCoreentities.Deprecated.Fetch multipleFundTextentities.getFundCoreByKey(String financialManagementArea, String fund) Deprecated.Fetch a singleFundCoreentity using key fields.getFundTextByKey(String financialManagementArea, String fund, String language) Deprecated.Fetch a singleFundTextentity using key fields.updateFundCore(FundCore fundCore) Deprecated.Update an existingFundCoreentity and save it to the S/4HANA system.updateFundText(FundText fundText) Deprecated.Update an existingFundTextentity and save it to the S/4HANA system.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultFundService
public DefaultFundService()Deprecated.Creates a service usingFundService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:FundServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceFundService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<FundServiceBatch>
-
getAllFundCore
Deprecated.Description copied from interface:FundServiceFetch multipleFundCoreentities.- Specified by:
getAllFundCorein interfaceFundService- Returns:
- A fluent helper to fetch multiple
FundCoreentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getFundCoreByKey
@Nonnull public FundCoreByKeyFluentHelper getFundCoreByKey(String financialManagementArea, String fund) Deprecated.Description copied from interface:FundServiceFetch a singleFundCoreentity using key fields.- Specified by:
getFundCoreByKeyin interfaceFundService- Parameters:
financialManagementArea- Financial Management AreaConstraints: Not nullable, Maximum length: 4
fund- FundConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
FundCoreentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
createFundCore
Deprecated.Description copied from interface:FundServiceCreate a newFundCoreentity and save it to the S/4HANA system.- Specified by:
createFundCorein interfaceFundService- Parameters:
fundCore-FundCoreentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
FundCoreentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateFundCore
Deprecated.Description copied from interface:FundServiceUpdate an existingFundCoreentity and save it to the S/4HANA system.- Specified by:
updateFundCorein interfaceFundService- Parameters:
fundCore-FundCoreentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
FundCoreentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteFundCore
Deprecated.Description copied from interface:FundServiceDeletes an existingFundCoreentity in the S/4HANA system.- Specified by:
deleteFundCorein interfaceFundService- Parameters:
fundCore-FundCoreentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
FundCoreentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllFundText
Deprecated.Description copied from interface:FundServiceFetch multipleFundTextentities.- Specified by:
getAllFundTextin interfaceFundService- Returns:
- A fluent helper to fetch multiple
FundTextentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getFundTextByKey
@Nonnull public FundTextByKeyFluentHelper getFundTextByKey(String financialManagementArea, String fund, String language) Deprecated.Description copied from interface:FundServiceFetch a singleFundTextentity using key fields.- Specified by:
getFundTextByKeyin interfaceFundService- Parameters:
financialManagementArea- Financial Management AreaConstraints: Not nullable, Maximum length: 4
fund- FundConstraints: Not nullable, Maximum length: 10
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
FundTextentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
updateFundText
Deprecated.Description copied from interface:FundServiceUpdate an existingFundTextentity and save it to the S/4HANA system.- Specified by:
updateFundTextin interfaceFundService- Parameters:
fundText-FundTextentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
FundTextentity. To perform execution, call theexecutemethod on the fluent helper object.
-