Interface BusinessSituationService

All Superinterfaces:
BatchService<BusinessSituationServiceBatch>
All Known Implementing Classes:
DefaultBusinessSituationService

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

This API is based on the OData protocol. It provides the situation instance and context data in the payload’s response. This includes the situation instance ID, situation creation time, situation status, situation type ID, situation template ID, situation anchor and trigger object key, anchor object, data context ID, data context, data context creation time, situation activity ID, and situation activity. The payload data can then be consumed, for example, by advanced analytics or automation. It also updates the situation action status for automation. .

Business Documentation

Reference: SAP Business Accelerator Hub

Details:

OData Service: API_BUSINESS_SITUATION_SRV
API Version: 1.0.0
Minimum ERP Version: 2302
Communication Scenario: Business Situation Integration(SAP_COM_0345)
Scope Items: Situation Handling(31N)
Authentication Methods: x509
Business Object: Business Situation
  • Field Details

  • Method Details

    • withServicePath

      @Nonnull BusinessSituationService 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.
    • getAllSitnDataContext

      @Nonnull SitnDataContextFluentHelper getAllSitnDataContext()
      Deprecated.
      Fetch multiple SitnDataContext entities.
      Returns:
      A fluent helper to fetch multiple SitnDataContext 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.
    • getSitnDataContextByKey

      @Nonnull SitnDataContextByKeyFluentHelper getSitnDataContextByKey(String sitnDataContextID)
      Deprecated.
      Fetch a single SitnDataContext entity using key fields.
      Parameters:
      sitnDataContextID - Data Context ID

      Constraints: Not nullable, Maximum length: 32

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

      @Nonnull SitnInstanceFluentHelper getAllSitnInstance()
      Deprecated.
      Fetch multiple SitnInstance entities.
      Returns:
      A fluent helper to fetch multiple SitnInstance 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.
    • getSitnInstanceByKey

      @Nonnull SitnInstanceByKeyFluentHelper getSitnInstanceByKey(String sitnInstanceID)
      Deprecated.
      Fetch a single SitnInstance entity using key fields.
      Parameters:
      sitnInstanceID - Instance ID

      Constraints: Not nullable, Maximum length: 32

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

      @Nonnull SendActionStatusFluentHelper sendActionStatus(@Nonnull String sitnActionInstanceID, @Nonnull String sitnActionID, @Nonnull String sitnActionStatus, @Nonnull String sitnInstanceID, @Nonnull String sitnInstceTargetStatus)
      Deprecated.

      Creates a fluent helper for the SendActionStatus OData function import.

      Parameters:
      sitnActionStatus - Action status: SUCCESS or FAILURE

      Constraints: Not nullable, Maximum length: 7

      Original parameter name from the Odata EDM: SitnActionStatus

      sitnActionInstanceID - Unique action instance ID generated by the service client

      Constraints: Not nullable, Maximum length: 36

      Original parameter name from the Odata EDM: SitnActionInstanceID

      sitnInstanceID - Situation instance ID for which the action was performed

      Constraints: Not nullable, Maximum length: 32

      Original parameter name from the Odata EDM: SitnInstanceID

      sitnActionID - ActionID defined by situation template, NO_ACTION or UNKNOWN

      Constraints: Not nullable, Maximum length: 32

      Original parameter name from the Odata EDM: SitnActionID

      sitnInstceTargetStatus - Target instance status: OP(Open) RE(Resolved) UN(Unchanged)

      Constraints: Not nullable, Maximum length: 2

      Original parameter name from the Odata EDM: SitnInstceTargetStatus

      Returns:
      A fluent helper object that will execute the SendActionStatus OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.