@Deprecated public interface CostCenterTestService extends BatchService<CostCenterTestServiceBatch>
This service enables you to read cost center master data. Please note that this service uses a data model where the cost center is defined per company code. This data model has been replaced with a data model where the cost center is defined per controlling area. With this change also a new service reflecting the new data model has been created and this service is deprecated. It is highly recommended to use the new service instead of this one..
Reference: SAP API Business Hub
OData Service: | FCO_PI_COST_CENTER |
API Version: | 1 |
Communication Scenario: | Employee Integration (SAP_COM_0001) |
Scope Items: | Core HR with SAP SuccessFactors Employee Central (JB1) |
Authentication Methods: | x509 |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
Deprecated.
If no other path was provided via the
withServicePath(String) method, this is the default service path
used to access the endpoint. |
Modifier and Type | Method and Description |
---|---|
CostCenterCreateFluentHelper |
createCostCenter(CostCenter costCenter)
Deprecated.
Create a new
CostCenter
entity and save it to the S/4HANA system. |
CostCenterTextCreateFluentHelper |
createCostCenterText(CostCenterText costCenterText)
Deprecated.
Create a new
CostCenterText entity and save it to the S/4HANA system. |
CostCenterDeleteFluentHelper |
deleteCostCenter(CostCenter costCenter)
Deprecated.
Deletes an existing
CostCenter entity in the S/4HANA system. |
CostCenterTextDeleteFluentHelper |
deleteCostCenterText(CostCenterText costCenterText)
Deprecated.
Deletes an existing
CostCenterText entity in the S/4HANA system. |
CostCenterFluentHelper |
getAllCostCenter()
Deprecated.
Fetch multiple
CostCenter
entities. |
CostCenterTextFluentHelper |
getAllCostCenterText()
Deprecated.
Fetch multiple
CostCenterText entities. |
CostCenterByKeyFluentHelper |
getCostCenterByKey(String companyCode,
String costCenterID,
LocalDateTime validityEndDate)
Deprecated.
Fetch a single
CostCenter
entity using key fields. |
CostCenterTextByKeyFluentHelper |
getCostCenterTextByKey(String companyCode,
String costCenterID,
LocalDateTime validityEndDate,
String language)
Deprecated.
Fetch a single
CostCenterText entity using key fields. |
CostCenterUpdateFluentHelper |
updateCostCenter(CostCenter costCenter)
Deprecated.
Update an existing
CostCenter entity and save it to the S/4HANA system. |
CostCenterTextUpdateFluentHelper |
updateCostCenterText(CostCenterText costCenterText)
Deprecated.
Update an existing
CostCenterText entity and save it to the S/4HANA system. |
CostCenterTestService |
withServicePath(String servicePath)
Deprecated.
Overrides the default service path and returns a new service instance with the specified service path.
|
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull CostCenterTestService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull CostCenterFluentHelper getAllCostCenter()
CostCenter
entities.CostCenter
entities. This fluent helper allows methods which modify the underlying query to be called before
executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CostCenterByKeyFluentHelper getCostCenterByKey(String companyCode, String costCenterID, LocalDateTime validityEndDate)
CostCenter
entity using key fields.companyCode
- The company code is an organizational unit within financial accounting.
Constraints: Not nullable, Maximum length: 4
costCenterID
- A key that uniquely identifies a cost center.
Constraints: Not nullable, Maximum length: 10
validityEndDate
- Date indicating up to when an entry is valid.
Constraints: Not nullable, Precision: 0
CostCenter
entity
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 the
execute
method on the fluent helper object.@Nonnull CostCenterCreateFluentHelper createCostCenter(@Nonnull CostCenter costCenter)
CostCenter
entity and save it to the S/4HANA system.costCenter
- CostCenter
entity object that will be created in the S/4HANA system.CostCenter
entity.
To perform execution, call the
execute
method on the fluent helper object.@Nonnull CostCenterUpdateFluentHelper updateCostCenter(@Nonnull CostCenter costCenter)
CostCenter
entity and save it to the S/4HANA system.costCenter
- CostCenter
entity object that will be updated in the S/4HANA system.CostCenter
entity.
To perform execution, call the
execute
method on the fluent helper object.@Nonnull CostCenterDeleteFluentHelper deleteCostCenter(@Nonnull CostCenter costCenter)
CostCenter
entity in the S/4HANA system.costCenter
- CostCenter
entity object that will be deleted in the S/4HANA system.CostCenter
entity.
To perform execution, call the
execute
method on the fluent helper object.@Nonnull CostCenterTextFluentHelper getAllCostCenterText()
CostCenterText
entities.CostCenterText
entities. This fluent helper allows methods which modify the underlying query to be called before
executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CostCenterTextByKeyFluentHelper getCostCenterTextByKey(String companyCode, String costCenterID, LocalDateTime validityEndDate, String language)
CostCenterText
entity using key fields.companyCode
- The company code is an organizational unit within financial accounting.
Constraints: Not nullable, Maximum length: 4
costCenterID
- A key that uniquely identifies a cost center.
Constraints: Not nullable, Maximum length: 10
language
- SAP Language Key (2-letter code) for Unicode languages.
Constraints: Not nullable, Maximum length: 2
validityEndDate
- Date indicating up to when an entry is valid.
Constraints: Not nullable, Precision: 0
CostCenterText
entity 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 the
execute
method on the fluent helper object.@Nonnull CostCenterTextCreateFluentHelper createCostCenterText(@Nonnull CostCenterText costCenterText)
CostCenterText
entity and save it to the S/4HANA system.costCenterText
- CostCenterText
entity object that will be created in the S/4HANA system.CostCenterText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CostCenterTextUpdateFluentHelper updateCostCenterText(@Nonnull CostCenterText costCenterText)
CostCenterText
entity and save it to the S/4HANA system.costCenterText
- CostCenterText
entity object that will be updated in the S/4HANA system.CostCenterText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CostCenterTextDeleteFluentHelper deleteCostCenterText(@Nonnull CostCenterText costCenterText)
CostCenterText
entity in the S/4HANA system.costCenterText
- CostCenterText
entity object that will be deleted in the S/4HANA system.CostCenterText
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2020 SAP SE. All rights reserved.