Interface PurchasingSourceService

All Superinterfaces:
BatchService<PurchasingSourceServiceBatch>
All Known Implementing Classes:
DefaultPurchasingSourceService

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

This synchronous inbound service enables you to create, update, and delete purchasing source lists. It is based on the OData protocol. The information is sent in the request as a payload. All information is used when creating a purchasing source list, and they are checked for authorizations. Once the purchasing source list has been created, the purchasing source list number is sent in the response. If there are any issues when the purchasing source list is created, the system displays error messages in the response.

Business Documentation

Reference: SAP Business Accelerator Hub

Details:

OData Service: API_PURCHASING_SOURCE_SRV
API Version: 1.0.0
Minimum ERP Version: 2302
Communication Scenario: Purchasing Source Integration(SAP_COM_0162)
Scope Items: Purchase Contract(BMD), Purchase Contract(OMD)
Authentication Methods: x509
Business Object: Source List in Procurement
  • Field Details

  • Method Details

    • withServicePath

      @Nonnull PurchasingSourceService 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.
    • getAllPurchasingSource

      @Nonnull PurchasingSourceFluentHelper getAllPurchasingSource()
      Deprecated.
      Fetch multiple PurchasingSource entities.
      Returns:
      A fluent helper to fetch multiple PurchasingSource 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.
    • getPurchasingSourceByKey

      @Nonnull PurchasingSourceByKeyFluentHelper getPurchasingSourceByKey(String material, String plant, String sourceListRecord)
      Deprecated.
      Fetch a single PurchasingSource entity using key fields.
      Parameters:
      material - Material Number

      Constraints: Not nullable, Maximum length: 40

      plant - Plant

      Constraints: Not nullable, Maximum length: 4

      sourceListRecord - Number of Source List Record

      Constraints: Not nullable, Maximum length: 5

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

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

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

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