Class DefaultSalesAreaService

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultSalesAreaService
All Implemented Interfaces:
OperationsOnEntityCollections, ServiceWithNavigableEntities, SalesAreaService

@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultSalesAreaService") @Deprecated public class DefaultSalesAreaService extends Object implements ServiceWithNavigableEntities, SalesAreaService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the VDM.

Consumers can retrieve sales area information including the sales organization, distribution channel, and division.

Business Documentation

Reference: SAP Business Accelerator Hub

Details:

OData Service: SALESAREA_0001
API Version: 1.0.0
Minimum ERP Version: 2302
Communication Scenario: Sales Master Data Integration(SAP_COM_0746)
Scope Items: Sell from Stock(BD9), Sell from Stock(OD9)
Authentication Methods: x509
Service Group Name: API_SALESAREA
Business Object: Sales Area
  • Constructor Details

  • Method Details

    • withServicePath

      @Nonnull public DefaultSalesAreaService withServicePath(@Nonnull String servicePath)
      Deprecated.
      Description copied from interface: SalesAreaService
      Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.
      Specified by:
      withServicePath in interface SalesAreaService
      Parameters:
      servicePath - Service path that will override the default.
      Returns:
      A new service instance with the specified service path.
    • batch

      @Nonnull public BatchRequestBuilder batch()
      Deprecated.
      Description copied from interface: SalesAreaService
      Creates a batch request builder object.
      Specified by:
      batch in interface SalesAreaService
      Returns:
      A request builder to handle batch operation on this service. To perform execution, call the execute method on the request builder object.
    • getAllSalesArea

      @Nonnull public GetAllRequestBuilder<SalesArea> getAllSalesArea()
      Deprecated.
      Description copied from interface: SalesAreaService
      Fetch multiple SalesArea entities.
      Specified by:
      getAllSalesArea in interface SalesAreaService
      Returns:
      A request builder to fetch multiple SalesArea entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • countSalesArea

      @Nonnull public CountRequestBuilder<SalesArea> countSalesArea()
      Deprecated.
      Description copied from interface: SalesAreaService
      Fetch the number of entries from the SalesArea entity collection matching the filter and search expressions.
      Specified by:
      countSalesArea in interface SalesAreaService
      Returns:
      A request builder to fetch the count of SalesArea entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • getSalesAreaByKey

      @Nonnull public GetByKeyRequestBuilder<SalesArea> getSalesAreaByKey(String salesOrganization, String distributionChannel, String division)
      Deprecated.
      Description copied from interface: SalesAreaService
      Fetch a single SalesArea entity using key fields.
      Specified by:
      getSalesAreaByKey in interface SalesAreaService
      Parameters:
      salesOrganization - Sales Organization

      Constraints: Not nullable, Maximum length: 4

      distributionChannel - Distribution Channel

      Constraints: Not nullable, Maximum length: 2

      division - Division

      Constraints: Not nullable, Maximum length: 2

      Returns:
      A request builder to fetch a single SalesArea entity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • getServicePath

      @Nonnull public String getServicePath()
      Deprecated.
      Specified by:
      getServicePath in interface ServiceWithNavigableEntities