@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultEquipmentService") public class DefaultEquipmentService extends Object implements EquipmentService
This service contains equipment, long text, partner function, warranty, class, characteristic, and characteristic value nodes. The information is sent in the request as a payload. The request payload contains all information required to create or update an equipment. All the information in the payload is used to create or update an equipment including appropriate checks for restricted values and authorizations. Once the equipment has been created, the equipment number is sent in the response with the data included in the equipment. If the input in the request is not as expected when you create or update an equipment, the system displays appropriate error or warning messages in the response. .
Reference: SAP API Business Hub
OData Service: | OP_API_EQUIPMENT |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Equipment |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultEquipmentService()
Creates a service using
EquipmentService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultEquipmentService()
EquipmentService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultEquipmentService withServicePath(@Nonnull String servicePath)
EquipmentService
withServicePath
in interface EquipmentService
servicePath
- Service path that will override the default.@Nonnull public DefaultEquipmentServiceBatch batch()
batch
in interface BatchService<EquipmentServiceBatch>
@Nonnull public EquipmentFluentHelper getAllEquipment()
EquipmentService
Equipment
entities.getAllEquipment
in interface EquipmentService
Equipment
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.@Nonnull public EquipmentByKeyFluentHelper getEquipmentByKey(String equipment, LocalDateTime validityEndDate)
EquipmentService
Equipment
entity using key fields.getEquipmentByKey
in interface EquipmentService
equipment
- Equipment Number
Constraints: Not nullable, Maximum length: 18
validityEndDate
- Valid To Date
Constraints: Not nullable, Precision: 0
Equipment
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.@Nonnull public EquipmentCreateFluentHelper createEquipment(@Nonnull Equipment equipment)
EquipmentService
Equipment
entity and save it to the S/4HANA system.createEquipment
in interface EquipmentService
equipment
- Equipment
entity object that will be created in the S/4HANA system.Equipment
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public EquipmentUpdateFluentHelper updateEquipment(@Nonnull Equipment equipment)
EquipmentService
Equipment
entity and save it to the S/4HANA system.updateEquipment
in interface EquipmentService
equipment
- Equipment
entity object that will be updated in the S/4HANA system.Equipment
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public EquipClassCharacteristicValueFluentHelper getAllEquipClassCharacteristicValue()
EquipmentService
EquipClassCharacteristicValue
entities.getAllEquipClassCharacteristicValue
in interface EquipmentService
EquipClassCharacteristicValue
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.@Nonnull public EquipClassCharacteristicValueByKeyFluentHelper getEquipClassCharacteristicValueByKey(String equipment, String classType, String charcValuePositionNumber, String characteristicInternalID)
EquipmentService
EquipClassCharacteristicValue
entity using key fields.getEquipClassCharacteristicValueByKey
in interface EquipmentService
equipment
- Equipment Number
Constraints: Not nullable, Maximum length: 18
classType
- Class Type
Constraints: Not nullable, Maximum length: 3
charcValuePositionNumber
- Characteristic value counter
Constraints: Not nullable, Maximum length: 3
characteristicInternalID
- Characteristic Internal ID
Constraints: Not nullable, Maximum length: 10
EquipClassCharacteristicValue
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.@Nonnull public EquipClassCharacteristicValueCreateFluentHelper createEquipClassCharacteristicValue(@Nonnull EquipClassCharacteristicValue equipClassCharacteristicValue)
EquipmentService
EquipClassCharacteristicValue
entity and save it to the S/4HANA system.createEquipClassCharacteristicValue
in interface EquipmentService
equipClassCharacteristicValue
- EquipClassCharacteristicValue
entity object that will be created in the S/4HANA system.EquipClassCharacteristicValue
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public EquipClassCharacteristicValueUpdateFluentHelper updateEquipClassCharacteristicValue(@Nonnull EquipClassCharacteristicValue equipClassCharacteristicValue)
EquipmentService
EquipClassCharacteristicValue
entity and save it to the S/4HANA system.updateEquipClassCharacteristicValue
in interface EquipmentService
equipClassCharacteristicValue
- EquipClassCharacteristicValue
entity object that will be updated in the S/4HANA system.EquipClassCharacteristicValue
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public EquipmentClassFluentHelper getAllEquipmentClass()
EquipmentService
EquipmentClass
entities.getAllEquipmentClass
in interface EquipmentService
EquipmentClass
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.@Nonnull public EquipmentClassByKeyFluentHelper getEquipmentClassByKey(String equipment, String classInternalID, String classType)
EquipmentService
EquipmentClass
entity using key fields.getEquipmentClassByKey
in interface EquipmentService
equipment
- Equipment Number
Constraints: Not nullable, Maximum length: 18
classInternalID
- Internal Class Number
Constraints: Not nullable, Maximum length: 10
classType
- Class Type
Constraints: Not nullable, Maximum length: 3
EquipmentClass
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.@Nonnull public EquipmentClassCreateFluentHelper createEquipmentClass(@Nonnull EquipmentClass equipmentClass)
EquipmentService
EquipmentClass
entity and save it to the S/4HANA system.createEquipmentClass
in interface EquipmentService
equipmentClass
- EquipmentClass
entity object that will be created in the S/4HANA system.EquipmentClass
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public EquipmentClassUpdateFluentHelper updateEquipmentClass(@Nonnull EquipmentClass equipmentClass)
EquipmentService
EquipmentClass
entity and save it to the S/4HANA system.updateEquipmentClass
in interface EquipmentService
equipmentClass
- EquipmentClass
entity object that will be updated in the S/4HANA system.EquipmentClass
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public EquipmentClassDeleteFluentHelper deleteEquipmentClass(@Nonnull EquipmentClass equipmentClass)
EquipmentService
EquipmentClass
entity in the S/4HANA system.deleteEquipmentClass
in interface EquipmentService
equipmentClass
- EquipmentClass
entity object that will be deleted in the S/4HANA system.EquipmentClass
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public EquipmentClassCharacteristicFluentHelper getAllEquipmentClassCharacteristic()
EquipmentService
EquipmentClassCharacteristic
entities.getAllEquipmentClassCharacteristic
in interface EquipmentService
EquipmentClassCharacteristic
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.@Nonnull public EquipmentClassCharacteristicByKeyFluentHelper getEquipmentClassCharacteristicByKey(String equipment, String classInternalID, String characteristicInternalID)
EquipmentService
EquipmentClassCharacteristic
entity using key fields.getEquipmentClassCharacteristicByKey
in interface EquipmentService
equipment
- Equipment Number
Constraints: Not nullable, Maximum length: 18
classInternalID
- Internal Class Number
Constraints: Not nullable, Maximum length: 10
characteristicInternalID
- Characteristic Internal ID
Constraints: Not nullable, Maximum length: 10
EquipmentClassCharacteristic
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.@Nonnull public EquipmentClassCharacteristicCreateFluentHelper createEquipmentClassCharacteristic(@Nonnull EquipmentClassCharacteristic equipmentClassCharacteristic)
EquipmentService
EquipmentClassCharacteristic
entity and save it to the S/4HANA system.createEquipmentClassCharacteristic
in interface EquipmentService
equipmentClassCharacteristic
- EquipmentClassCharacteristic
entity object that will be created in the S/4HANA system.EquipmentClassCharacteristic
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public EquipmentLongTextFluentHelper getAllEquipmentLongText()
EquipmentService
EquipmentLongText
entities.getAllEquipmentLongText
in interface EquipmentService
EquipmentLongText
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.@Nonnull public EquipmentLongTextByKeyFluentHelper getEquipmentLongTextByKey(String equipment)
EquipmentService
EquipmentLongText
entity using key fields.getEquipmentLongTextByKey
in interface EquipmentService
equipment
- Equipment Number
Constraints: Not nullable, Maximum length: 18
EquipmentLongText
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.@Nonnull public EquipmentLongTextCreateFluentHelper createEquipmentLongText(@Nonnull EquipmentLongText equipmentLongText)
EquipmentService
EquipmentLongText
entity and save it to the S/4HANA system.createEquipmentLongText
in interface EquipmentService
equipmentLongText
- EquipmentLongText
entity object that will be created in the S/4HANA system.EquipmentLongText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public EquipmentLongTextUpdateFluentHelper updateEquipmentLongText(@Nonnull EquipmentLongText equipmentLongText)
EquipmentService
EquipmentLongText
entity and save it to the S/4HANA system.updateEquipmentLongText
in interface EquipmentService
equipmentLongText
- EquipmentLongText
entity object that will be updated in the S/4HANA system.EquipmentLongText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public EquipmentPartnerFluentHelper getAllEquipmentPartner()
EquipmentService
EquipmentPartner
entities.getAllEquipmentPartner
in interface EquipmentService
EquipmentPartner
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.@Nonnull public EquipmentPartnerByKeyFluentHelper getEquipmentPartnerByKey(String equipment, String partnerFunction, String equipmentPartnerObjectNmbr)
EquipmentService
EquipmentPartner
entity using key fields.getEquipmentPartnerByKey
in interface EquipmentService
equipment
- Equipment Number
Constraints: Not nullable, Maximum length: 18
partnerFunction
- Partner Function (Not Converted)
Constraints: Not nullable, Maximum length: 2
equipmentPartnerObjectNmbr
- Counter for differentiation 6-digit
Constraints: Not nullable, Maximum length: 6
EquipmentPartner
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.@Nonnull public EquipmentPartnerCreateFluentHelper createEquipmentPartner(@Nonnull EquipmentPartner equipmentPartner)
EquipmentService
EquipmentPartner
entity and save it to the S/4HANA system.createEquipmentPartner
in interface EquipmentService
equipmentPartner
- EquipmentPartner
entity object that will be created in the S/4HANA system.EquipmentPartner
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public EquipmentPartnerUpdateFluentHelper updateEquipmentPartner(@Nonnull EquipmentPartner equipmentPartner)
EquipmentService
EquipmentPartner
entity and save it to the S/4HANA system.updateEquipmentPartner
in interface EquipmentService
equipmentPartner
- EquipmentPartner
entity object that will be updated in the S/4HANA system.EquipmentPartner
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public EquipmentWarrantyFluentHelper getAllEquipmentWarranty()
EquipmentService
EquipmentWarranty
entities.getAllEquipmentWarranty
in interface EquipmentService
EquipmentWarranty
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.@Nonnull public EquipmentWarrantyByKeyFluentHelper getEquipmentWarrantyByKey(String equipment, String warrantyType)
EquipmentService
EquipmentWarranty
entity using key fields.getEquipmentWarrantyByKey
in interface EquipmentService
equipment
- Equipment Number
Constraints: Not nullable, Maximum length: 18
warrantyType
- Warranty type
Constraints: Not nullable, Maximum length: 1
EquipmentWarranty
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.@Nonnull public EquipmentWarrantyCreateFluentHelper createEquipmentWarranty(@Nonnull EquipmentWarranty equipmentWarranty)
EquipmentService
EquipmentWarranty
entity and save it to the S/4HANA system.createEquipmentWarranty
in interface EquipmentService
equipmentWarranty
- EquipmentWarranty
entity object that will be created in the S/4HANA system.EquipmentWarranty
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public EquipmentWarrantyUpdateFluentHelper updateEquipmentWarranty(@Nonnull EquipmentWarranty equipmentWarranty)
EquipmentService
EquipmentWarranty
entity and save it to the S/4HANA system.updateEquipmentWarranty
in interface EquipmentService
equipmentWarranty
- EquipmentWarranty
entity object that will be updated in the S/4HANA system.EquipmentWarranty
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public DismantleEquipmentFluentHelper dismantleEquipment(String equipment, LocalDateTime validityEndDate, String superordinateEquipment, String equipInstallationPositionNmbr, String functionalLocation, LocalDateTime equipmentInstallationDate, LocalTime equipmentInstallationTime)
EquipmentService
Creates a fluent helper for the DismantleEquipment OData function import.
dismantleEquipment
in interface EquipmentService
equipment
- Constraints: Not nullable, Maximum length: 18
Original parameter name from the Odata EDM: Equipment
validityEndDate
- Constraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: ValidityEndDate
superordinateEquipment
- Constraints: Nullable, Maximum length: 18
Original parameter name from the Odata EDM: SuperordinateEquipment
equipInstallationPositionNmbr
- Constraints: Nullable, Maximum length: 6
Original parameter name from the Odata EDM: EquipInstallationPositionNmbr
functionalLocation
- Constraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: FunctionalLocation
equipmentInstallationDate
- Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: EquipmentInstallationDate
equipmentInstallationTime
- Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: EquipmentInstallationTime
execute
method on the fluent helper object.@Nonnull public InstallEquipmentFluentHelper installEquipment(String equipment, LocalDateTime validityEndDate, String superordinateEquipment, String equipInstallationPositionNmbr, String functionalLocation, LocalDateTime equipmentInstallationDate, LocalTime equipmentInstallationTime)
EquipmentService
Creates a fluent helper for the InstallEquipment OData function import.
installEquipment
in interface EquipmentService
equipment
- Constraints: Not nullable, Maximum length: 18
Original parameter name from the Odata EDM: Equipment
validityEndDate
- Constraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: ValidityEndDate
superordinateEquipment
- Constraints: Nullable, Maximum length: 18
Original parameter name from the Odata EDM: SuperordinateEquipment
equipInstallationPositionNmbr
- Constraints: Nullable, Maximum length: 6
Original parameter name from the Odata EDM: EquipInstallationPositionNmbr
functionalLocation
- Constraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: FunctionalLocation
equipmentInstallationDate
- Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: EquipmentInstallationDate
equipmentInstallationTime
- Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: EquipmentInstallationTime
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.