Interface CostCenterTestService

All Superinterfaces:
BatchService<CostCenterTestServiceBatch>
All Known Implementing Classes:
DefaultCostCenterTestService

@Deprecated public interface CostCenterTestService extends BatchService<CostCenterTestServiceBatch>
Deprecated.
The service and all its related classes are deprecated as of release 2002 (FEB-2020). Please use the successor API instead.

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 Business Accelerator Hub

Details:

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
  • Field Details

  • Method Details

    • withServicePath

      @Nonnull CostCenterTestService withServicePath(@Nonnull String servicePath)
      Deprecated.
      Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.
      Parameters:
      servicePath - Service path that will override the default.
      Returns:
      A new service instance with the specified service path.
    • getAllCostCenter

      @Nonnull CostCenterFluentHelper getAllCostCenter()
      Deprecated.
      Fetch multiple CostCenter entities.
      Returns:
      A fluent helper to fetch multiple 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.
    • getCostCenterByKey

      @Nonnull CostCenterByKeyFluentHelper getCostCenterByKey(String companyCode, String costCenterID, LocalDateTime validityEndDate)
      Deprecated.
      Fetch a single CostCenter entity using key fields.
      Parameters:
      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

      Returns:
      A fluent helper to fetch a single 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.
    • createCostCenter

      @Nonnull CostCenterCreateFluentHelper createCostCenter(@Nonnull CostCenter costCenter)
      Deprecated.
      Create a new CostCenter entity and save it to the S/4HANA system.
      Parameters:
      costCenter - CostCenter entity object that will be created in the S/4HANA system.
      Returns:
      A fluent helper to create a new CostCenter entity. To perform execution, call the execute method on the fluent helper object.
    • updateCostCenter

      @Nonnull CostCenterUpdateFluentHelper updateCostCenter(@Nonnull CostCenter costCenter)
      Deprecated.
      Update an existing CostCenter entity and save it to the S/4HANA system.
      Parameters:
      costCenter - CostCenter entity object that will be updated in the S/4HANA system.
      Returns:
      A fluent helper to update an existing CostCenter entity. To perform execution, call the execute method on the fluent helper object.
    • deleteCostCenter

      @Nonnull CostCenterDeleteFluentHelper deleteCostCenter(@Nonnull CostCenter costCenter)
      Deprecated.
      Deletes an existing CostCenter entity in the S/4HANA system.
      Parameters:
      costCenter - CostCenter entity object that will be deleted in the S/4HANA system.
      Returns:
      A fluent helper to delete an existing CostCenter entity. To perform execution, call the execute method on the fluent helper object.
    • getAllCostCenterText

      @Nonnull CostCenterTextFluentHelper getAllCostCenterText()
      Deprecated.
      Fetch multiple CostCenterText entities.
      Returns:
      A fluent helper to fetch multiple 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.
    • getCostCenterTextByKey

      @Nonnull CostCenterTextByKeyFluentHelper getCostCenterTextByKey(String companyCode, String costCenterID, LocalDateTime validityEndDate, String language)
      Deprecated.
      Fetch a single CostCenterText entity using key fields.
      Parameters:
      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

      Returns:
      A fluent helper to fetch a single 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.
    • createCostCenterText

      @Nonnull CostCenterTextCreateFluentHelper createCostCenterText(@Nonnull CostCenterText costCenterText)
      Deprecated.
      Create a new CostCenterText entity and save it to the S/4HANA system.
      Parameters:
      costCenterText - CostCenterText entity object that will be created in the S/4HANA system.
      Returns:
      A fluent helper to create a new CostCenterText entity. To perform execution, call the execute method on the fluent helper object.
    • updateCostCenterText

      @Nonnull CostCenterTextUpdateFluentHelper updateCostCenterText(@Nonnull CostCenterText costCenterText)
      Deprecated.
      Update an existing CostCenterText entity and save it to the S/4HANA system.
      Parameters:
      costCenterText - CostCenterText entity object that will be updated in the S/4HANA system.
      Returns:
      A fluent helper to update an existing CostCenterText entity. To perform execution, call the execute method on the fluent helper object.
    • deleteCostCenterText

      @Nonnull CostCenterTextDeleteFluentHelper deleteCostCenterText(@Nonnull CostCenterText costCenterText)
      Deprecated.
      Deletes an existing CostCenterText entity in the S/4HANA system.
      Parameters:
      costCenterText - CostCenterText entity object that will be deleted in the S/4HANA system.
      Returns:
      A fluent helper to delete an existing CostCenterText entity. To perform execution, call the execute method on the fluent helper object.