Interface CostCenterService

All Superinterfaces:
BatchService<CostCenterServiceBatch>
All Known Implementing Classes:
DefaultCostCenterService

@Deprecated public interface CostCenterService extends BatchService<CostCenterServiceBatch>
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the VDM.

This service enables you to read cost center 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. .

Business Documentation

Reference: SAP Business Accelerator Hub

Details:

OData Service: API_COSTCENTER_SRV
API Version: 1.0.0
Minimum ERP Version: 2302
Communication Scenario: SAP Analytics Cloud for Planning Integration(SAP_COM_0087), Public Sector API Integration(SAP_COM_0761)
Scope Items: Import Connection setup with SAP Analytics Cloud(1YB), Government Budget Planning(6UC)
Authentication Methods: x509
Business Object: Cost Center
  • Field Details

  • Method Details

    • withServicePath

      @Nonnull CostCenterService 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 controllingArea, String costCenter, LocalDateTime validityEndDate)
      Deprecated.
      Fetch a single CostCenter entity using key fields.
      Parameters:
      costCenter - Cost Center

      Constraints: Not nullable, Maximum length: 10

      controllingArea - Controlling Area

      Constraints: Not nullable, Maximum length: 4

      validityEndDate - Valid To Date

      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.
    • 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 costCenter, String controllingArea, String language, LocalDateTime validityEndDate)
      Deprecated.
      Fetch a single CostCenterText entity using key fields.
      Parameters:
      costCenter - Cost Center

      Constraints: Not nullable, Maximum length: 10

      language - Language Key

      Constraints: Not nullable, Maximum length: 2

      controllingArea - Controlling Area

      Constraints: Not nullable, Maximum length: 4

      validityEndDate - Valid To Date

      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.