Interface LocationService
- All Known Implementing Classes:
DefaultLocationService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
The service enables you to create, read, update, and delete locations through an API call. You can perform these activities from a source system outside SAP S/4HANA Cloud. The service is based on the OData protocol..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | CE_MANAGELOCATION_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Location Integration(SAP_COM_0425) |
| Scope Items: | Order-Based Transportation Consolidation – Outbound(3EP), Order-Based Transportation Consolidation - Inbound(5VV), Stock Transport Order-Based Transportation Consolidation(5XC) |
| Authentication Methods: | x509 |
| Service Group Name: | API_MANAGELOCATION |
| Business Object: | Location |
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theLocationentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theLocationAddressentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theLocationTextentity collection matching the filter and search expressions.createLocation(Location location) Deprecated.Create a newLocationentity and save it to the S/4HANA system.deleteLocation(Location location) Deprecated.Deletes an existingLocationentity in the S/4HANA system.deleteLocationText(LocationText locationText) Deprecated.Deletes an existingLocationTextentity in the S/4HANA system.Deprecated.Fetch multipleLocationentities.Deprecated.Fetch multipleLocationAddressentities.Deprecated.Fetch multipleLocationTextentities.getLocationAddressByKey(UUID locationUUID, String addressPersonID, String addressRepresentationCode) Deprecated.Fetch a singleLocationAddressentity using key fields.getLocationByKey(UUID locationUUID) Deprecated.Fetch a singleLocationentity using key fields.getLocationTextByKey(UUID locationUUID, String language) Deprecated.Fetch a singleLocationTextentity using key fields.updateLocation(Location location) Deprecated.Update an existingLocationentity and save it to the S/4HANA system.updateLocationAddress(LocationAddress locationAddress) Deprecated.Update an existingLocationAddressentity and save it to the S/4HANA system.updateLocationText(LocationText locationText) Deprecated.Update an existingLocationTextentity and save it to the S/4HANA system.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
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.
-
batch
Deprecated.Creates a batch request builder object.- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllLocation
Deprecated.Fetch multipleLocationentities. -
countLocation
Deprecated.Fetch the number of entries from theLocationentity collection matching the filter and search expressions. -
getLocationByKey
Deprecated.Fetch a singleLocationentity using key fields.- Parameters:
locationUUID- Internal Location Number (Customer, Supplier, or Plant)Constraints: Not nullable
- Returns:
- A request builder to fetch a single
Locationentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createLocation
Deprecated.Create a newLocationentity and save it to the S/4HANA system. -
updateLocation
Deprecated.Update an existingLocationentity and save it to the S/4HANA system. -
deleteLocation
Deprecated.Deletes an existingLocationentity in the S/4HANA system. -
getAllLocationAddress
Deprecated.Fetch multipleLocationAddressentities.- Returns:
- A request builder to fetch multiple
LocationAddressentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countLocationAddress
Deprecated.Fetch the number of entries from theLocationAddressentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
LocationAddressentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getLocationAddressByKey
@Nonnull GetByKeyRequestBuilder<LocationAddress> getLocationAddressByKey(UUID locationUUID, String addressPersonID, String addressRepresentationCode) Deprecated.Fetch a singleLocationAddressentity using key fields.- Parameters:
addressRepresentationCode- Version ID for International AddressesConstraints: Not nullable, Maximum length: 1
locationUUID- Internal Location Number (Customer, Supplier, or Plant)Constraints: Not nullable
addressPersonID- Person NumberConstraints: Not nullable, Maximum length: 10
- Returns:
- A request builder to fetch a single
LocationAddressentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
updateLocationAddress
@Nonnull UpdateRequestBuilder<LocationAddress> updateLocationAddress(@Nonnull LocationAddress locationAddress) Deprecated.Update an existingLocationAddressentity and save it to the S/4HANA system.- Parameters:
locationAddress-LocationAddressentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
LocationAddressentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllLocationText
Deprecated.Fetch multipleLocationTextentities.- Returns:
- A request builder to fetch multiple
LocationTextentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countLocationText
Deprecated.Fetch the number of entries from theLocationTextentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
LocationTextentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getLocationTextByKey
@Nonnull GetByKeyRequestBuilder<LocationText> getLocationTextByKey(UUID locationUUID, String language) Deprecated.Fetch a singleLocationTextentity using key fields.- Parameters:
locationUUID- Internal Location Number (Customer, Supplier, or Plant)Constraints: Not nullable
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A request builder to fetch a single
LocationTextentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
updateLocationText
Deprecated.Update an existingLocationTextentity and save it to the S/4HANA system.- Parameters:
locationText-LocationTextentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
LocationTextentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteLocationText
Deprecated.Deletes an existingLocationTextentity in the S/4HANA system.- Parameters:
locationText-LocationTextentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
LocationTextentity. To perform execution, call theexecutemethod on the request builder object.
-