Interface MaintainFlexibleConstraintsForPredictiveMaterialAndResourcePlanningService

All Known Implementing Classes:
DefaultMaintainFlexibleConstraintsForPredictiveMaterialAndResourcePlanningService

public interface MaintainFlexibleConstraintsForPredictiveMaterialAndResourcePlanningService

Constraints are things that limit your production process in some way. For example, if your supplier has a shortage of a key component in your product, you are limited in the number of products you can create. The constraint can be long-term or short-term and could be caused by any number of factors, including, supply shortages, or reduced staffing. This service enables you to define your own constraints for many different types of material. This means that no matter the reason for the constraint, you can flexibly define which materials are affected, how they are affected, and for how long. The defined constraints are then considered in forecasting simulations..

Business Documentation

Reference: SAP API Business Hub

Details:

OData Service: PMRPFLEXIBLECONSTRAINT_0001
API Version: 1.0.0
Minimum ERP Version: 2302
Communication Scenario: Predictive MRP Masterdata Integration(SAP_COM_0739)
Scope Items: Predictive Material and Resource Planning(4B5)
Authentication Methods: x509
Service Group Name: API_PMRPFLEXIBLECONSTRAINT
Business Object: PMRP Flexible Constraint
  • Field Details

  • Method Details

    • withServicePath

      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.
    • batch

      @Nonnull BatchRequestBuilder batch()
      Creates a batch request builder object.
      Returns:
      A request builder to handle batch operation on this service. To perform execution, call the execute method on the request builder object.
    • getAllConstraintProduct

      @Nonnull GetAllRequestBuilder<ConstraintProduct> getAllConstraintProduct()
      Fetch multiple ConstraintProduct entities.
      Returns:
      A request builder to fetch multiple ConstraintProduct 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.
    • countConstraintProduct

      @Nonnull CountRequestBuilder<ConstraintProduct> countConstraintProduct()
      Fetch the number of entries from the ConstraintProduct entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of ConstraintProduct 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.
    • getConstraintProductByKey

      @Nonnull GetByKeyRequestBuilder<ConstraintProduct> getConstraintProductByKey(String pMRPFlexibleConstraint, String pMRPConstraintProductItem)
      Fetch a single ConstraintProduct entity using key fields.
      Parameters:
      pMRPConstraintProductItem - Item ID

      Constraints: Not nullable, Maximum length: 6

      pMRPFlexibleConstraint - pMRP Unique ID for Flexible Constraints

      Constraints: Not nullable, Maximum length: 10

      Returns:
      A request builder to fetch a single ConstraintProduct 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.
    • getAllPeriod

      @Nonnull GetAllRequestBuilder<Period> getAllPeriod()
      Fetch multiple Period entities.
      Returns:
      A request builder to fetch multiple Period 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.
    • countPeriod

      @Nonnull CountRequestBuilder<Period> countPeriod()
      Fetch the number of entries from the Period entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of Period 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.
    • getPeriodByKey

      @Nonnull GetByKeyRequestBuilder<Period> getPeriodByKey(String pMRPFlexibleConstraint, Integer bucketInternalID)
      Fetch a single Period entity using key fields.
      Parameters:
      pMRPFlexibleConstraint - pMRP Unique ID for Flexible Constraints

      Constraints: Not nullable, Maximum length: 10

      bucketInternalID - pMRP Evaluation Bucket ID

      Constraints: Not nullable

      Returns:
      A request builder to fetch a single Period 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.
    • updatePeriod

      @Nonnull UpdateRequestBuilder<Period> updatePeriod(@Nonnull Period period)
      Update an existing Period entity and save it to the S/4HANA system.
      Parameters:
      period - Period entity object that will be updated in the S/4HANA system.
      Returns:
      A request builder to update an existing Period entity. To perform execution, call the execute method on the request builder object.
    • deletePeriod

      @Nonnull DeleteRequestBuilder<Period> deletePeriod(@Nonnull Period period)
      Deletes an existing Period entity in the S/4HANA system.
      Parameters:
      period - Period entity object that will be deleted in the S/4HANA system.
      Returns:
      A request builder to delete an existing Period entity. To perform execution, call the execute method on the request builder object.
    • getAllPMRPFlexibleConstraint

      @Nonnull GetAllRequestBuilder<PMRPFlexibleConstraint> getAllPMRPFlexibleConstraint()
      Fetch multiple PMRPFlexibleConstraint entities.
      Returns:
      A request builder to fetch multiple PMRPFlexibleConstraint 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.
    • countPMRPFlexibleConstraint

      @Nonnull CountRequestBuilder<PMRPFlexibleConstraint> countPMRPFlexibleConstraint()
      Fetch the number of entries from the PMRPFlexibleConstraint entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of PMRPFlexibleConstraint 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.
    • getPMRPFlexibleConstraintByKey

      @Nonnull GetByKeyRequestBuilder<PMRPFlexibleConstraint> getPMRPFlexibleConstraintByKey(String pMRPFlexibleConstraint)
      Fetch a single PMRPFlexibleConstraint entity using key fields.
      Parameters:
      pMRPFlexibleConstraint - pMRP Unique ID for Flexible Constraints

      Constraints: Not nullable, Maximum length: 10

      Returns:
      A request builder to fetch a single PMRPFlexibleConstraint 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.
    • createPMRPFlexibleConstraint

      @Nonnull CreateRequestBuilder<PMRPFlexibleConstraint> createPMRPFlexibleConstraint(@Nonnull PMRPFlexibleConstraint pMRPFlexibleConstraint)
      Create a new PMRPFlexibleConstraint entity and save it to the S/4HANA system.
      Parameters:
      pMRPFlexibleConstraint - PMRPFlexibleConstraint entity object that will be created in the S/4HANA system.
      Returns:
      A request builder to create a new PMRPFlexibleConstraint entity. To perform execution, call the execute method on the request builder object.
    • deletePMRPFlexibleConstraint

      @Nonnull DeleteRequestBuilder<PMRPFlexibleConstraint> deletePMRPFlexibleConstraint(@Nonnull PMRPFlexibleConstraint pMRPFlexibleConstraint)
      Deletes an existing PMRPFlexibleConstraint entity in the S/4HANA system.
      Parameters:
      pMRPFlexibleConstraint - PMRPFlexibleConstraint entity object that will be deleted in the S/4HANA system.
      Returns:
      A request builder to delete an existing PMRPFlexibleConstraint entity. To perform execution, call the execute method on the request builder object.
    • getAllText

      @Nonnull GetAllRequestBuilder<Text> getAllText()
      Fetch multiple Text entities.
      Returns:
      A request builder to fetch multiple Text 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.
    • countText

      @Nonnull CountRequestBuilder<Text> countText()
      Fetch the number of entries from the Text entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of Text 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.
    • getTextByKey

      @Nonnull GetByKeyRequestBuilder<Text> getTextByKey(String pMRPFlexibleConstraint, String language)
      Fetch a single Text entity using key fields.
      Parameters:
      pMRPFlexibleConstraint - pMRP Unique ID for Flexible Constraints

      Constraints: Not nullable, Maximum length: 10

      language - Language Key

      Constraints: Not nullable, Maximum length: 2

      Returns:
      A request builder to fetch a single Text 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.
    • updateText

      @Nonnull UpdateRequestBuilder<Text> updateText(@Nonnull Text text)
      Update an existing Text entity and save it to the S/4HANA system.
      Parameters:
      text - Text entity object that will be updated in the S/4HANA system.
      Returns:
      A request builder to update an existing Text entity. To perform execution, call the execute method on the request builder object.