Interface EHSIncidentCreateService

All Superinterfaces:
BatchService<EHSIncidentCreateServiceBatch>
All Known Implementing Classes:
DefaultEHSIncidentCreateService

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

This service contains the basic information about an incident as the main entity, and persons involved, location, and attachments as dependent entities. For create operations, the information is sent in the request as a payload, except for attachment-related data. You can add attachments to the newly created incident in separate calls. Once the incident has been created, the incident data and global identification are sent in the response. For read operations, filter information can be sent according to the OData protocol. While creating an incident or retrieving incident data, the system performs checks for restricted values and authorization. If there are any issues, the system displays error messages in the response..

Business Documentation

Reference: SAP Business Accelerator Hub

Details:

OData Service: API_EHS_REPORT_INCIDENT_SRV
API Version: 1.0.0
Minimum ERP Version: 2302
Communication Scenario: Environment, Health and Safety - Incident Reporting Integration(SAP_COM_0369)
Scope Items: Lean Incident Management Reporting(3FP), Lean Incident Management Reporting(PFP)
Authentication Methods: x509
Business Object: EHS Incident business object
  • Field Details

  • Method Details

    • withServicePath

      @Nonnull EHSIncidentCreateService 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.
    • getAllCurEHSLocationInclRootHier

      @Nonnull CurEHSLocationInclRootHierFluentHelper getAllCurEHSLocationInclRootHier()
      Deprecated.
      Fetch multiple CurEHSLocationInclRootHier entities.
      Returns:
      A fluent helper to fetch multiple CurEHSLocationInclRootHier 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.
    • getCurEHSLocationInclRootHierByKey

      @Nonnull CurEHSLocationInclRootHierByKeyFluentHelper getCurEHSLocationInclRootHierByKey(UUID eHSLocationUUID)
      Deprecated.
      Fetch a single CurEHSLocationInclRootHier entity using key fields.
      Parameters:
      eHSLocationUUID - Location

      Constraints: Not nullable

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

      @Nonnull EHSLocationValueHelpFluentHelper getAllEHSLocationValueHelp()
      Deprecated.
      Fetch multiple EHSLocationValueHelp entities.
      Returns:
      A fluent helper to fetch multiple EHSLocationValueHelp 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.
    • getEHSLocationValueHelpByKey

      @Nonnull EHSLocationValueHelpByKeyFluentHelper getEHSLocationValueHelpByKey(UUID eHSLocationUUID)
      Deprecated.
      Fetch a single EHSLocationValueHelp entity using key fields.
      Parameters:
      eHSLocationUUID - Location

      Constraints: Not nullable

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

      @Nonnull EHSLocClassifierVHFluentHelper getAllEHSLocClassifierVH()
      Deprecated.
      Fetch multiple EHSLocClassifierVH entities.
      Returns:
      A fluent helper to fetch multiple EHSLocClassifierVH 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.
    • getEHSLocClassifierVHByKey

      @Nonnull EHSLocClassifierVHByKeyFluentHelper getEHSLocClassifierVHByKey(UUID eHSClassifierUUID)
      Deprecated.
      Fetch a single EHSLocClassifierVH entity using key fields.
      Parameters:
      eHSClassifierUUID - NodeID

      Constraints: Not nullable

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

      @Nonnull EHSPersonValueHelpFluentHelper getAllEHSPersonValueHelp()
      Deprecated.
      Fetch multiple EHSPersonValueHelp entities.
      Returns:
      A fluent helper to fetch multiple EHSPersonValueHelp 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.
    • getEHSPersonValueHelpByKey

      @Nonnull EHSPersonValueHelpByKeyFluentHelper getEHSPersonValueHelpByKey(String businessPartner)
      Deprecated.
      Fetch a single EHSPersonValueHelp entity using key fields.
      Parameters:
      businessPartner - Business Partner Number

      Constraints: Not nullable, Maximum length: 10

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

      @Nonnull EHSLocationTypeFluentHelper getAllEHSLocationType()
      Deprecated.
      Fetch multiple EHSLocationType entities.
      Returns:
      A fluent helper to fetch multiple EHSLocationType 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.
    • getEHSLocationTypeByKey

      @Nonnull EHSLocationTypeByKeyFluentHelper getEHSLocationTypeByKey(String eHSLocationType)
      Deprecated.
      Fetch a single EHSLocationType entity using key fields.
      Parameters:
      eHSLocationType - Location Type

      Constraints: Not nullable, Maximum length: 40

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

      @Nonnull EHSLocClassifierTextFluentHelper getAllEHSLocClassifierText()
      Deprecated.
      Fetch multiple EHSLocClassifierText entities.
      Returns:
      A fluent helper to fetch multiple EHSLocClassifierText 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.
    • getEHSLocClassifierTextByKey

      @Nonnull EHSLocClassifierTextByKeyFluentHelper getEHSLocClassifierTextByKey(UUID eHSLocationUUID, UUID eHSLocClassifierUUID, UUID eHSLocClassifierRefUUID)
      Deprecated.
      Fetch a single EHSLocClassifierText entity using key fields.
      Parameters:
      eHSLocClassifierRefUUID - NodeID

      Constraints: Not nullable

      eHSLocClassifierUUID - NodeID

      Constraints: Not nullable

      eHSLocationUUID - NodeID

      Constraints: Not nullable

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

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

      @Nonnull IncidentFluentHelper getAllIncident()
      Deprecated.
      Fetch multiple Incident entities.
      Returns:
      A fluent helper to fetch multiple Incident 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.
    • getIncidentByKey

      @Nonnull IncidentByKeyFluentHelper getIncidentByKey(UUID incidentUUID)
      Deprecated.
      Fetch a single Incident entity using key fields.
      Parameters:
      incidentUUID - Incident Global Identification

      Constraints: Not nullable

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

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

      @Nonnull LocationFluentHelper getAllLocation()
      Deprecated.
      Fetch multiple Location entities.
      Returns:
      A fluent helper to fetch multiple Location 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.
    • getLocationByKey

      @Nonnull LocationByKeyFluentHelper getLocationByKey(UUID locationUUID)
      Deprecated.
      Fetch a single Location entity using key fields.
      Parameters:
      locationUUID - Location Global Identification

      Constraints: Not nullable

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

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