public interface FunctionalLocationService extends BatchService<FunctionalLocationServiceBatch>
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 |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path
used to access the endpoint. |
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull FunctionalLocationService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull ValueFluentHelper getAllValue()
Value
entities.@Nonnull ValueByKeyFluentHelper getValueByKey(String functionalLocation, String classType, String charcValuePositionNumber, String charcInternalID)
Value
entity
using key fields.charcValuePositionNumber
- Characteristic value counter
Constraints: Not nullable, Maximum length: 3
charcInternalID
- Characteristic Internal ID
Constraints: Not nullable, Maximum length: 10
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
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 ValueCreateFluentHelper createValue(@Nonnull Value value)
Value
entity
and save it to the S/4HANA system.@Nonnull ValueUpdateFluentHelper updateValue(@Nonnull Value value)
Value
entity and save it to the S/4HANA system.@Nonnull FunctionalLocationClassFluentHelper getAllFunctionalLocationClass()
FunctionalLocationClass
entities.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 FunctionalLocationClassByKeyFluentHelper getFunctionalLocationClassByKey(String functionalLocation, String classInternalID, String classType)
FunctionalLocationClass
entity using key fields.classInternalID
- Internal Class Number
Constraints: Not nullable, Maximum length: 10
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
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 FunctionalLocationClassCreateFluentHelper createFunctionalLocationClass(@Nonnull FunctionalLocationClass functionalLocationClass)
FunctionalLocationClass
entity and save it to the S/4HANA system.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 FunctionalLocationClassUpdateFluentHelper updateFunctionalLocationClass(@Nonnull FunctionalLocationClass functionalLocationClass)
FunctionalLocationClass
entity and save it to the S/4HANA system.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 FunctionalLocationClassDeleteFluentHelper deleteFunctionalLocationClass(@Nonnull FunctionalLocationClass functionalLocationClass)
FunctionalLocationClass
entity in the S/4HANA system.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 CharacteristicFluentHelper getAllCharacteristic()
Characteristic
entities.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 CharacteristicByKeyFluentHelper getCharacteristicByKey(String functionalLocation, String classInternalID, String charcInternalID)
Characteristic
entity using key fields.charcInternalID
- Characteristic Internal ID
Constraints: Not nullable, Maximum length: 10
classInternalID
- Internal Class Number
Constraints: Not nullable, Maximum length: 10
functionalLocation
- Key of Object to be Classified
Constraints: Not nullable, Maximum length: 90
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 CharacteristicCreateFluentHelper createCharacteristic(@Nonnull Characteristic characteristic)
Characteristic
entity and save it to the S/4HANA system.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 FunctionalLocationWarrantyFluentHelper getAllFunctionalLocationWarranty()
FunctionalLocationWarranty
entities.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 FunctionalLocationWarrantyByKeyFluentHelper getFunctionalLocationWarrantyByKey(String functionalLocation, String warrantyType)
FunctionalLocationWarranty
entity using key fields.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 FunctionalLocationWarrantyCreateFluentHelper createFunctionalLocationWarranty(@Nonnull FunctionalLocationWarranty functionalLocationWarranty)
FunctionalLocationWarranty
entity and save it to the S/4HANA system.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 FunctionalLocationWarrantyUpdateFluentHelper updateFunctionalLocationWarranty(@Nonnull FunctionalLocationWarranty functionalLocationWarranty)
FunctionalLocationWarranty
entity and save it to the S/4HANA system.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 FunctionalLocationFluentHelper getAllFunctionalLocation()
FunctionalLocation
entities.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 FunctionalLocationByKeyFluentHelper getFunctionalLocationByKey(String functionalLocation)
FunctionalLocation
entity using key fields.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 FunctionalLocationCreateFluentHelper createFunctionalLocation(@Nonnull FunctionalLocation functionalLocation)
FunctionalLocation
entity and save it to the S/4HANA system.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 FunctionalLocationUpdateFluentHelper updateFunctionalLocation(@Nonnull FunctionalLocation functionalLocation)
FunctionalLocation
entity and save it to the S/4HANA system.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 FunctionalLocationLongTextFluentHelper getAllFunctionalLocationLongText()
FunctionalLocationLongText
entities.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 FunctionalLocationLongTextByKeyFluentHelper getFunctionalLocationLongTextByKey(String functionalLocation)
FunctionalLocationLongText
entity using key fields.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 FunctionalLocationLongTextCreateFluentHelper createFunctionalLocationLongText(@Nonnull FunctionalLocationLongText functionalLocationLongText)
FunctionalLocationLongText
entity and save it to the S/4HANA system.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 FunctionalLocationLongTextUpdateFluentHelper updateFunctionalLocationLongText(@Nonnull FunctionalLocationLongText functionalLocationLongText)
FunctionalLocationLongText
entity and save it to the S/4HANA system.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 FunctionalLocationPartnerFluentHelper getAllFunctionalLocationPartner()
FunctionalLocationPartner
entities.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 FunctionalLocationPartnerByKeyFluentHelper getFunctionalLocationPartnerByKey(String functionalLocation, String partnerFunction, String funcnlLocPartnerObjectNmbr)
FunctionalLocationPartner
entity using key fields.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
functionalLocation
- Label that uniquely identifies a funtional location.
Constraints: Not nullable, Maximum length: 30
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 FunctionalLocationPartnerCreateFluentHelper createFunctionalLocationPartner(@Nonnull FunctionalLocationPartner functionalLocationPartner)
FunctionalLocationPartner
entity and save it to the S/4HANA system.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 FunctionalLocationPartnerUpdateFluentHelper updateFunctionalLocationPartner(@Nonnull FunctionalLocationPartner functionalLocationPartner)
FunctionalLocationPartner
entity and save it to the S/4HANA system.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.