@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultFunctionalLocationService") public class DefaultFunctionalLocationService extends Object implements FunctionalLocationService
This service contains functional location, 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 functional location. All the information in the payload is used to create or update functional location including appropriate checks for restricted values and authorizations. Once the functional location has been created, the functional location label is sent in the response with the data included in the functional location. If the input in the request is not as expected when you create or update a functional location, the system displays appropriate error or warning messages in the response..
Reference: SAP API Business Hub
OData Service: | API_FUNCTIONALLOCATION |
API Version: | 1 |
Communication Scenario: | Asset Management Master Data Integration (SAP_COM_0395) |
Scope Items: | Service Order Management and Monitoring (3D2), Service Contract Management (3MO), In-House Repair (3XK), Service Order processing with SAP Field service management (49X), Service Quotation (4GA), Reactive Maintenance (4HH), Proactive Maintenance (4HI), Improvement Maintenance (4VT), Operational and Overhead Maintenance (4WM), Corrective Maintenance (BH1), Emergency Maintenance (BH2), Preventive Maintenance (BJ2) |
Authentication Methods: | Basic, x509, OAuth2 |
Business Object: | FunctionalLocation |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultFunctionalLocationService()
Creates a service using
FunctionalLocationService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultFunctionalLocationService()
FunctionalLocationService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultFunctionalLocationService withServicePath(@Nonnull String servicePath)
FunctionalLocationService
withServicePath
in interface FunctionalLocationService
servicePath
- Service path that will override the default.@Nonnull public DefaultFunctionalLocationServiceBatch batch()
batch
in interface BatchService<FunctionalLocationServiceBatch>
@Nonnull public ValueFluentHelper getAllValue()
FunctionalLocationService
Value
entities.getAllValue
in interface FunctionalLocationService
Value
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 ValueByKeyFluentHelper getValueByKey(String functionalLocation, String classType, String charcValuePositionNumber, String charcInternalID)
FunctionalLocationService
Value
entity
using key fields.getValueByKey
in interface FunctionalLocationService
functionalLocation
- Key of Object to be Classified
Constraints: Not nullable, Maximum length: 90
classType
- Uniquely identifies the class type
Constraints: Not nullable, Maximum length: 3
charcValuePositionNumber
- Characteristic value counter
Constraints: Not nullable, Maximum length: 3
charcInternalID
- Characteristic Internal ID
Constraints: Not nullable, Maximum length: 10
Value
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 ValueCreateFluentHelper createValue(@Nonnull Value value)
FunctionalLocationService
Value
entity
and save it to the S/4HANA system.createValue
in interface FunctionalLocationService
value
- Value
entity
object that will be created in the S/4HANA system.Value
entity. To
perform execution, call the
execute
method on the fluent helper object.@Nonnull public ValueUpdateFluentHelper updateValue(@Nonnull Value value)
FunctionalLocationService
Value
entity and save it to the S/4HANA system.updateValue
in interface FunctionalLocationService
value
- Value
entity
object that will be updated in the S/4HANA system.Value
entity. To
perform execution, call the
execute
method on the fluent helper object.@Nonnull public FunctionalLocationClassFluentHelper getAllFunctionalLocationClass()
FunctionalLocationService
FunctionalLocationClass
entities.getAllFunctionalLocationClass
in interface FunctionalLocationService
FunctionalLocationClass
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 FunctionalLocationClassByKeyFluentHelper getFunctionalLocationClassByKey(String functionalLocation, String classInternalID, String classType)
FunctionalLocationService
FunctionalLocationClass
entity using key fields.getFunctionalLocationClassByKey
in interface FunctionalLocationService
functionalLocation
- Key of Object to be Classified
Constraints: Not nullable, Maximum length: 90
classInternalID
- Internal Class Number
Constraints: Not nullable, Maximum length: 10
classType
- Uniquely identifies the class type
Constraints: Not nullable, Maximum length: 3
FunctionalLocationClass
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 FunctionalLocationClassCreateFluentHelper createFunctionalLocationClass(@Nonnull FunctionalLocationClass functionalLocationClass)
FunctionalLocationService
FunctionalLocationClass
entity and save it to the S/4HANA system.createFunctionalLocationClass
in interface FunctionalLocationService
functionalLocationClass
- FunctionalLocationClass
entity object that will be created in the S/4HANA system.FunctionalLocationClass
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public FunctionalLocationClassUpdateFluentHelper updateFunctionalLocationClass(@Nonnull FunctionalLocationClass functionalLocationClass)
FunctionalLocationService
FunctionalLocationClass
entity and save it to the S/4HANA system.updateFunctionalLocationClass
in interface FunctionalLocationService
functionalLocationClass
- FunctionalLocationClass
entity object that will be updated in the S/4HANA system.FunctionalLocationClass
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public FunctionalLocationClassDeleteFluentHelper deleteFunctionalLocationClass(@Nonnull FunctionalLocationClass functionalLocationClass)
FunctionalLocationService
FunctionalLocationClass
entity in the S/4HANA system.deleteFunctionalLocationClass
in interface FunctionalLocationService
functionalLocationClass
- FunctionalLocationClass
entity object that will be deleted in the S/4HANA system.FunctionalLocationClass
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CharacteristicFluentHelper getAllCharacteristic()
FunctionalLocationService
Characteristic
entities.getAllCharacteristic
in interface FunctionalLocationService
Characteristic
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 CharacteristicByKeyFluentHelper getCharacteristicByKey(String functionalLocation, String classInternalID, String charcInternalID)
FunctionalLocationService
Characteristic
entity using key fields.getCharacteristicByKey
in interface FunctionalLocationService
functionalLocation
- Key of Object to be Classified
Constraints: Not nullable, Maximum length: 90
classInternalID
- Internal Class Number
Constraints: Not nullable, Maximum length: 10
charcInternalID
- Characteristic Internal ID
Constraints: Not nullable, Maximum length: 10
Characteristic
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 CharacteristicCreateFluentHelper createCharacteristic(@Nonnull Characteristic characteristic)
FunctionalLocationService
Characteristic
entity and save it to the S/4HANA system.createCharacteristic
in interface FunctionalLocationService
characteristic
- Characteristic
entity object that will be created in the S/4HANA system.Characteristic
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public FunctionalLocationWarrantyFluentHelper getAllFunctionalLocationWarranty()
FunctionalLocationService
FunctionalLocationWarranty
entities.getAllFunctionalLocationWarranty
in interface FunctionalLocationService
FunctionalLocationWarranty
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 FunctionalLocationWarrantyByKeyFluentHelper getFunctionalLocationWarrantyByKey(String functionalLocation, String warrantyType)
FunctionalLocationService
FunctionalLocationWarranty
entity using key fields.getFunctionalLocationWarrantyByKey
in interface FunctionalLocationService
functionalLocation
- Label that uniquely identifies a funtional location.
Constraints: Not nullable, Maximum length: 30
warrantyType
- Key that describes the warranty type. The warranty type is assigned to an internal warranty category
that specifies whether you are the warrantee or the guarantor.
Constraints: Not nullable, Maximum length: 1
FunctionalLocationWarranty
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 FunctionalLocationWarrantyCreateFluentHelper createFunctionalLocationWarranty(@Nonnull FunctionalLocationWarranty functionalLocationWarranty)
FunctionalLocationService
FunctionalLocationWarranty
entity and save it to the S/4HANA system.createFunctionalLocationWarranty
in interface FunctionalLocationService
functionalLocationWarranty
- FunctionalLocationWarranty
entity object that will be created in the S/4HANA system.FunctionalLocationWarranty
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public FunctionalLocationWarrantyUpdateFluentHelper updateFunctionalLocationWarranty(@Nonnull FunctionalLocationWarranty functionalLocationWarranty)
FunctionalLocationService
FunctionalLocationWarranty
entity and save it to the S/4HANA system.updateFunctionalLocationWarranty
in interface FunctionalLocationService
functionalLocationWarranty
- FunctionalLocationWarranty
entity object that will be updated in the S/4HANA system.FunctionalLocationWarranty
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public FunctionalLocationFluentHelper getAllFunctionalLocation()
FunctionalLocationService
FunctionalLocation
entities.getAllFunctionalLocation
in interface FunctionalLocationService
FunctionalLocation
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 FunctionalLocationByKeyFluentHelper getFunctionalLocationByKey(String functionalLocation)
FunctionalLocationService
FunctionalLocation
entity using key fields.getFunctionalLocationByKey
in interface FunctionalLocationService
functionalLocation
- Label that uniquely identifies a funtional location.
Constraints: Not nullable, Maximum length: 30
FunctionalLocation
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 FunctionalLocationCreateFluentHelper createFunctionalLocation(@Nonnull FunctionalLocation functionalLocation)
FunctionalLocationService
FunctionalLocation
entity and save it to the S/4HANA system.createFunctionalLocation
in interface FunctionalLocationService
functionalLocation
- FunctionalLocation
entity object that will be created in the S/4HANA system.FunctionalLocation
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public FunctionalLocationUpdateFluentHelper updateFunctionalLocation(@Nonnull FunctionalLocation functionalLocation)
FunctionalLocationService
FunctionalLocation
entity and save it to the S/4HANA system.updateFunctionalLocation
in interface FunctionalLocationService
functionalLocation
- FunctionalLocation
entity object that will be updated in the S/4HANA system.FunctionalLocation
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public FunctionalLocationLongTextFluentHelper getAllFunctionalLocationLongText()
FunctionalLocationService
FunctionalLocationLongText
entities.getAllFunctionalLocationLongText
in interface FunctionalLocationService
FunctionalLocationLongText
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 FunctionalLocationLongTextByKeyFluentHelper getFunctionalLocationLongTextByKey(String functionalLocation)
FunctionalLocationService
FunctionalLocationLongText
entity using key fields.getFunctionalLocationLongTextByKey
in interface FunctionalLocationService
functionalLocation
- Label that uniquely identifies a funtional location.
Constraints: Not nullable, Maximum length: 30
FunctionalLocationLongText
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 FunctionalLocationLongTextCreateFluentHelper createFunctionalLocationLongText(@Nonnull FunctionalLocationLongText functionalLocationLongText)
FunctionalLocationService
FunctionalLocationLongText
entity and save it to the S/4HANA system.createFunctionalLocationLongText
in interface FunctionalLocationService
functionalLocationLongText
- FunctionalLocationLongText
entity object that will be created in the S/4HANA system.FunctionalLocationLongText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public FunctionalLocationLongTextUpdateFluentHelper updateFunctionalLocationLongText(@Nonnull FunctionalLocationLongText functionalLocationLongText)
FunctionalLocationService
FunctionalLocationLongText
entity and save it to the S/4HANA system.updateFunctionalLocationLongText
in interface FunctionalLocationService
functionalLocationLongText
- FunctionalLocationLongText
entity object that will be updated in the S/4HANA system.FunctionalLocationLongText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public FunctionalLocationPartnerFluentHelper getAllFunctionalLocationPartner()
FunctionalLocationService
FunctionalLocationPartner
entities.getAllFunctionalLocationPartner
in interface FunctionalLocationService
FunctionalLocationPartner
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 FunctionalLocationPartnerByKeyFluentHelper getFunctionalLocationPartnerByKey(String functionalLocation, String partnerFunction, String funcnlLocPartnerObjectNmbr)
FunctionalLocationService
FunctionalLocationPartner
entity using key fields.getFunctionalLocationPartnerByKey
in interface FunctionalLocationService
functionalLocation
- Label that uniquely identifies a funtional location.
Constraints: Not nullable, Maximum length: 30
partnerFunction
- You can convert the keys that identify the partner functions in the original German system to
language-specific keys. The converted keys then appear according to the language in which the user
logs on.
Constraints: Not nullable, Maximum length: 2
funcnlLocPartnerObjectNmbr
- Counter for differentiation 6-digit
Constraints: Not nullable, Maximum length: 6
FunctionalLocationPartner
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 FunctionalLocationPartnerCreateFluentHelper createFunctionalLocationPartner(@Nonnull FunctionalLocationPartner functionalLocationPartner)
FunctionalLocationService
FunctionalLocationPartner
entity and save it to the S/4HANA system.createFunctionalLocationPartner
in interface FunctionalLocationService
functionalLocationPartner
- FunctionalLocationPartner
entity object that will be created in the S/4HANA system.FunctionalLocationPartner
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public FunctionalLocationPartnerUpdateFluentHelper updateFunctionalLocationPartner(@Nonnull FunctionalLocationPartner functionalLocationPartner)
FunctionalLocationService
FunctionalLocationPartner
entity and save it to the S/4HANA system.updateFunctionalLocationPartner
in interface FunctionalLocationService
functionalLocationPartner
- FunctionalLocationPartner
entity object that will be updated in the S/4HANA system.FunctionalLocationPartner
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.